#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)

trim carbon
#

.

turbid garden
#

what's the outfit you wanna put on them

trim carbon
turbid orchid
#

local copy = tool:Copy
tool.Parent = player.Backpack probably works fine

turbid garden
#

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"

turbid garden
trim carbon
#

When you say "tool" should I change that to the name of the tool I'm using?

trim carbon
#

Isn't local just to add a value

turbid orchid
#

local means variable

trim carbon
#

This would just give the player a tool

turbid orchid
#

the value of the variable is that instance

#

ok then add the touched event

trim carbon
#

Not give them a tool when they touch a block

turbid orchid
#

and connect it to that

trim carbon
#

How tho

turbid orchid
#

bro doesnt know how to use .Touched:Connect 😭

trim carbon
#

Bro I just started coding leave me alone

chrome belfryBOT
#

studio** You are now Level 4! **studio

turbid orchid
#

helps with starting off

#

like aton

trim carbon
#

Alr thanks

turbid orchid
#

👍 gl

trim carbon
#

Thanks

turbid orchid
#

flip can u help me now 🔥

turbid garden
#
Part.Touched:Connect(function(otherpart)
  local ToolCopy = ToolName:Clone()
  local Player = game.Players:GetPlayerFromCharacter(otherpart.Parent)
  ToolCopy.Parent = Player.BackPack
end)
turbid orchid
#

oops i did :copy hehe

trim carbon
#

So I still need to change tool to my tools name?