Sungmingamerpro13

ChargeScript (LocalScript)

Sep 22nd, 2025
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.41 KB | None | 0 0
  1. local rs = game:GetService("ReplicatedStorage")
  2. local charge = rs.MusicBox:WaitForChild("ChargeON")
  3. local UIS = game:GetService("UserInputService")
  4. local sCript = game.Workspace.AI.MusicBox:WaitForChild("Script")
  5.  
  6. UIS.InputBegan:Connect(function(input)
  7.     script.Parent.MouseButton1Down:Connect(function()
  8.         charge:FireServer(input)
  9.         script.Parent.Image = "http://www.roblox.com/asset/?id=13376691972"
  10.     end)
  11. end)
  12.  
Advertisement
Add Comment
Please, Sign In to add comment