Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local remote = game.ReplicatedStorage.buy -- the remote event
- script.Parent.Frame.sword.MouseButton1Click:Connect(function() -- function
- remote:FireServer("Sword") -- fire the event
- end)
- script.Parent.Frame.lazer.MouseButton1Click:Connect(function()
- remote:FireServer("Lazer") -- fire the event
- end)
Advertisement
Add Comment
Please, Sign In to add comment