![SynergyYX](/img/default-banner.jpg)
- Видео 2
- Просмотров 30 668
SynergyYX
Добавлен 10 май 2020
How To Make A Tool Pick Up System Using Proximity Prompts in ROBLOX Studio!
❗ [PRESS SHOW MORE] ❗
👍 JOIN MY DISCORD SERVER: discord.gg/nCrNwahKGK 👍
🎧 BG MUSIC: Kevin Macleod | Local Forecast Elevator 🎧
✔ Join my Roblox Group - www.roblox.com/groups/7504692...
✔ Follow my Roblox Profile - www.roblox.com/users/11255503...
✔ Play Roblox Bedwars 😉
👕 Buy my Roblox Merchandise- www.roblox.com/catalog/878199... 👕
✏️ What Do I Use To Edit?
Adobe Premiere Pro
📹 What Do You Use To Record?
OBS Studio 64bit
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Script:
local Prompt = script.Parent.ProximityPrompt
Prompt.Triggered:Connect(function(Player)
game.ReplicatedStorage.Tool.Parent = Player.Backpack
script.Parent:Destroy()
#roblox #bedwars #season5 #yxsquad #yx...
👍 JOIN MY DISCORD SERVER: discord.gg/nCrNwahKGK 👍
🎧 BG MUSIC: Kevin Macleod | Local Forecast Elevator 🎧
✔ Join my Roblox Group - www.roblox.com/groups/7504692...
✔ Follow my Roblox Profile - www.roblox.com/users/11255503...
✔ Play Roblox Bedwars 😉
👕 Buy my Roblox Merchandise- www.roblox.com/catalog/878199... 👕
✏️ What Do I Use To Edit?
Adobe Premiere Pro
📹 What Do You Use To Record?
OBS Studio 64bit
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Script:
local Prompt = script.Parent.ProximityPrompt
Prompt.Triggered:Connect(function(Player)
game.ReplicatedStorage.Tool.Parent = Player.Backpack
script.Parent:Destroy()
#roblox #bedwars #season5 #yxsquad #yx...
Просмотров: 29 121
Видео
How to Make a HALO in Roblox Studio!
Просмотров 1,6 тыс.2 года назад
www.roblox.com/library/9834287559/Halo-Model ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗ ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣ ╠╗║╚╝║║╠╗║╚╣║║║║║═╣ ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
hey when I hold my item it goes into your arm and glitches you out. do you know how to fix it?
it works but the item isnt in my hand
This helped me out so much, thank you for making an amazing tutorial!!
How to fix that if i drop item proximity prompt dissapear
the first time the proximity prompt popped up but did not go into my inventory, the second time I did the step by step and it went into my inventory but when I hold the tool it brings me to where the tool was originally placed and it makes it stuck, I need help
You'll need to unanchor the descendants of the Tool in ReplicatedStorage
bro its working but when i pick up it picks up the first tool that is in replicated storage when i am picking up like a gun the picks up a sword how do i fix it?
If they're both called "Tool" it will pick the first one called "Tool", to combat this rename the sword to "Sword", and the gun to "Gun" then change the script to reference the gun/sword
@@Synergy_YX Tysm it worked now, i needed this for my hamburguer game and also i made a cooldown for it tysm
when i pick it up its like its anchored i glitch idk why
You'll need to unanchor the descendants of the Tool in ReplicatedStorage
@@Synergy_YX thanks man!
hello. it worked; but there is a bug that, i can't hold it in my character. bruh.
thank you :>
ty
Thank you its really helpful
Do guns work with it
Yes
it somehow doesnt pop up in my hand, when i grab it it just disappears but when i taske it out it comes back but its in the same spot and not in my hand, and when i do the multiple uses script, it just duplicates it but never comes in my hand, could u please fix this?
That's not a problem with the script, there's a good chance the part is anchored, and will need to be unanchored in order to fix the problem.
@@Synergy_YXit isn't anchored tho, when I push it. It falls down. Also it doesn't say it's anchored.. but I will tell you this, I'm tryna make a toy of my avatar, like I can pick up my avatar in my hand. And I loaded the character from the plugin called "Load Character" by AlreadyPro (I think) It is also animated, I animated it to a pose and then used "Anchore Pose" plugin, (idk the creator's name but it's a red background and a black anchor) to make my avatar a pose
i have a problem,how do i drop item like,Press e to interact the lock
my thing just wont pickup i think i need a bit of help :P
yo can you make a video or repaily to this comment whats the script for muitable uses and where you can only pick it up one time
I plan on remaking this video in the future, which will contain both the single and multiple use scripts, with a proper explanation
@@Synergy_YX okay shounds good
You probably will not see this but for me it shows the e to pick up button but when I hold it down it dosent work
if u made changes to the name [tool], in the 4th line of code u can see tht there is a thing which says: game.ReplicatedStorage.Tool.Parent = Player.Backpack the 'Tool'there is used to be the thing in the replicatedstorage. hope this helps! when you are designing a gaem the 'game.ReplicatedStorage.Tool.Parent' is something tht points the script the address. its like this: if u hv a part that's called a 'part', in the workspace, here is the thing [idk cuz idk whats tht thing called]: game.Workspace.part
How can I make it a game pass?
What do you mean? Do you want players to only be able to pick up the tool if they own a gamepass?
Like it just auto goes on there head if they have the gamepass
@@taytonphipps Oh sorry I mixed up this video with my other one, you can do this by checking if the player owns the gamepass through the MarketPlaceService’s UserOwnsGamePassAsync method, read more here: create.roblox.com/docs/reference/engine/classes/MarketplaceService#UserOwnsGamePassAsync
Thank you so much man! I really needed this.
How do i make it that u can only pick it up again after something like 1000 seconds
You can create a debounce variable, with a cooldown of 10000 seconds Which would look something like this local Debounce = false if Debounce then return end Debounce = true ... code to give player tool .... task.delay(10000, function() Debounce = false end) If you have any further questions, you can reach me through my development discord server!
Hello! thx for your vid , I have a question , I have a model that i made using parts how do I get it to work if its a model?
it does not WORK
It does work if done properly
Hello. I got a mesh part not a part will it still work ?
Presumably yes, since MeshParts are BaseParts and Tool Handles must be BaseParts
when i pick it up i go into the ground, any way i can fix that?
Unanchor the descendant parts of the tool, that's inside ReplicatedStorage.
@@Synergy_YX thanks
in my script havve a problem is written ProximityPrompt is not a valid member of ProximityPrompt "Workspace.Tool.ProximityPrompt"
does it go back when i press e again?
No
i did the same but i dont know when i should put it in replstorage and when in serverstorage
As both names suggest, the objects stored in ServerStorage can only be accessed by the server, whereas ReplicatedStorage contains objects that both and server and clients can access. That's the main difference between the two. Basically, if you don't want things accessible by clients, keep them in ServerStorage, but where clients need to be able to access objects, use ReplicatedStorage. ReplicatedStorage is typically used for shared modules, and RemoteEvents, but have plenty of other uses too. Here are some sources you can read up on: create.roblox.com/docs/reference/engine/classes/ReplicatedStorage create.roblox.com/docs/reference/engine/classes/ServerStorage devforum.roblox.com/t/serverstorage-vs-replicatedstorage/658370
it didnt work
It will work if done properly
@@Synergy_YX I DID
@@littlesinnze If it doesn't work for you, something wasn't done correctly ¯\_(ツ)_/¯
@@Synergy_YX OKEYY
Underrated, finally someone who paste the script for us to use
Yes
i did everything perfect but when i try to collect it in game it doesnt go to my inventory please help
me too, I'm not sure why..
when i pick the tool up it just shows in my backpack but it doesnt show on my hand
it goes to the saame place and i already unanchored it in the storage and in workspcae
It shows up in your backpack and not your character because that’s how I designed the script, you can change it by changing Player.Backpack to Player.Character
@@Synergy_YX i mean like uh it is just like not in my hand when im using/holding it
@@TheCooker57 me tooo
For some reason if you use teleport pads before grabbing the item it will not work
That should not have any affect on the script
how to rotate it to facing up the part in the hand?
You can adjust the Tool's Grip properties to position the part properly in the player's hand
Why when I collect the tool does it return to the same place and still teleport the player?, he can't leave
A descendent of the Tool in ReplicatedStorage is anchored. Unanchor it
how to make it stay still?
If you're talking about the tool in the workspace, you can just anchor it, just make sure the Tool in ReplicatedStorage is not anchored
@@Synergy_YX Hey if you can, may you please make a video about how to place a tool on a specific spot, like a flower in a vase? I really need a tutorial because I have a Roblox Longterm that requires that, but, no matter how much I look, I cant find a tutorial for that.
@@Synergy_YX Also thx
When i try to equip it makes me teleport diagonal, please fix this
Make sure the handle inside the Tool object isn’t anchored
@@Synergy_YX Hey umm Mr how do you make it stay anchored??
@@HeartQuakesss The Handle of the tool in the workspace should be anchored, while the Handle of the tool in ReplicatedStorage should not.
@@Synergy_YX Ty I fixed it
@Synergy_YX
Yes?
Nor sure if tou will see this but it only lets me interact and nor pick it up. Do you have a fix?
check if the proximity promt hold duration is not negative. i accidentally did that and it didi not work.Edit:Not sure if this helps u lolol
@@snehithreddythumma3076 still did not work
Have you correctly set up the script and Tool in ReplicatedStorage?
@@Synergy_YX so I got it my tools were not even working so that’s why and your tut worked so thank you
it doesn't work
It does work if done correctly
Pls help it don't work for me. When I click I see it is in iventory but when I equipe it teleport me where I placed the part(on floor)
and I can't move too when I equiped it
@@supstrise Go to ReplicatedStorage and unanchor the Handle inside the Tool
@@Synergy_YX I did that and it didnt work, I have the same problem, pls help
I made my variable “local gay = script.parent.proximityprompt
when i pick up the item it doesn't go into my inventory any help please?
same
OHH i accidentaly put in replicated first
For anyone trying to use a model instead of a part, turn it into a union instead and if it's a model you found via workshop thingy, i have no idea
Will it work if i put the proximity prompt in a part from the model? 'cause i need it to have the surface material like the studs and welds. but if i union it, those dissapear
how do you turn it into a union?? btw ty for the tip
@@taylorfan365 ctrl + shift + g to union
alright i removed another tween script i had but it still does the same thing
im able to pick my object up but every time i go to hold it, it teleports me back to the location i picked it up at
Unanchor the Handle inside the Tool
@@Synergy_YX yeah i figured that out, i feel a little dumb for commenting this. but im currently working on a proximity script to detect if a player is a certain amount of studs close then it will un anchor
when I hold it the proximity prompt still stays edit: nvm I had to delete it from replicatedstorage
do you know how to change the tool text in the icon to say something else
yeah just rename the tool
@@dragonkiryu didnt work
I need help, cause I need a pick up tool. But I want it to stay there so other people can click it to.
I have a multiple uses script in the comments and in the description.
Hey, great tutorial but when I equip the thing, it shows in my inventory but not in my hand, it’s still on the ground
Make sure the handle inside the Tool object isn’t anchored
@@Synergy_YXk thanks man, one more question, can I make it so that when you die with the object, someone can grab it from where they died?
@@Orence8279 Yep, I'll make a video about that in the future!