Advertisement
Existence_YT

[MakingASimulator] UpgradeMain

May 27th, 2020
751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. script.Parent.MouseButton1Click:Connect(function()
  2.     local up = game.ReplicatedStorage.Upgrade:InvokeServer()
  3.     if up[1] then
  4.         script.Parent.Text = "Upgrade ("..tostring(up[2])..")"
  5.     end
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement