I'm making a game with my friend, and I am trying to make something where when touched, it would play a sound locally, and I've tried to find this before, but I can't here is my touched script:
Part = script.Parent
Part.Touched:connect(function(HIT)
local H = HIT.Parent:FindFirstChild("Humanoid")
if H then
H.Torso.CFrame = CFrame.new(-136.965, -145.745, -366.13)
local Player = game.Players:GetPlayerFromCharacter(HIT.Parent)
Player.PlayerGui["Victory!Gui"].Victory.Visible = true
end
end)
