Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

A local touch function?

Asked by 4 years ago

So when a player hits a part it plays a sound, but LOCALLY, is this possible?

0
Yes, use a LocalScript in StarterCharacterScripts. Azarth 3141 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago
--local script
local sound = Instance.new("Sound")
sound.Parent = game.Players.LocalPlayer.Character.Head
Ad

Answer this question