Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.MouseButton1Click:Connect(function()
- local up = game.ReplicatedStorage.Upgrade:InvokeServer()
- if up[1] then
- script.Parent.Text = "Upgrade ("..tostring(up[2])..")"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement