Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//Variables
- local touchpad = script.Parent
- local remoteEvent = game.ReplicatedStorage:WaitForChild("OpenShop")
- --//Open
- touchpad.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- remoteEvent:FireClient(player)
- end
- end)
- --Full Video: https://youtu.be/YNAUAVvMa38
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement