Advertisement
OnFireRobloxScriptin

Drop Tool Client Script

May 18th, 2025 (edited)
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. --//Variables
  2. local button = script.Parent --Variable for the button
  3. local replicatedStorage = game:GetService("ReplicatedStorage") --Variable for Replicated Storage
  4. local DropEvent = replicatedStorage:WaitForChild("DropEvent") --Variable for Remote Event
  5.  
  6. button.MouseButton1Click:Connect(function() --When the button is clicked
  7.     DropEvent:FireServer() --Tell the Server the button has been clicked
  8. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement