#Can anyone tell me how to make it so if a player touches a block it puts an outfit on them?
1 messages · Page 1 of 1 (latest)
what's the outfit you wanna put on them
Wait I meant give them a tool
local copy = tool:Copy
tool.Parent = player.Backpack probably works fine
well I'm not gonna tell you how but I can help you with this as this is a "help forum" not a "do unpaid work for me forum"
Thanks
well this is incredibly wrong but whatever
When you say "tool" should I change that to the name of the tool I'm using?
yes
Wait that wouldn't work
Isn't local just to add a value
local means variable
This would just give the player a tool
Not give them a tool when they touch a block
and connect it to that
How tho
bro doesnt know how to use .Touched:Connect 😭
Bro I just started coding leave me alone
** You are now Level 4! **
watch beginners guide
helps with starting off
like aton
Alr thanks
👍 gl
Thanks
flip can u help me now 🔥
Part.Touched:Connect(function(otherpart)
local ToolCopy = ToolName:Clone()
local Player = game.Players:GetPlayerFromCharacter(otherpart.Parent)
ToolCopy.Parent = Player.BackPack
end)
oops i did :copy hehe
So I still need to change tool to my tools name?
yeah thats basically it
yes