Advertisement
Anukun_Lucifer

LocalScript Click Block

Jun 23rd, 2023
1,419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | Gaming | 0 0
  1. script.Parent.Equipped:Connect(function(mouse)
  2.     mouse.Button1Down:Connect(function()
  3.         if mouse.Target.Name ~= "SandBlock" then return end
  4.         script.Parent.RemoteEvent:FireServer(mouse.Target,mouse.TargetSurface)
  5.     end)
  6. end)
Tags: game Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement