Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rs = game:GetService("ReplicatedStorage")
- local nocharge = rs.MusicBox:WaitForChild("ChargeOFF")
- local UIS = game:GetService("UserInputService")
- local ChargesCript = game.Workspace.AI.MusicBox:WaitForChild("ChargingScript")
- UIS.InputBegan:Connect(function(input)
- script.Parent.MouseLeave:Connect(function()
- nocharge:FireServer(input)
- script.Parent.Image = "http://www.roblox.com/asset/?id=13376690361"
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment