I want this script to work on a person. I am trying to make a script that if you touch this block you get the GUI. This is in a part.
local part = script.Parent
local function steppedOn(part)
local parent = part.Parent
if game.Players:GetPlayerFromCharacter(parent) then
local testing = parent.Name
local test = game.Players.testing
local c = game.Workspace.Sounds:Clone()
c.Parent = test.PlayerGui
end
end
part.Touched:connect (steppedOn)
