Advertisement
PrzemekV5

9. Roblox Studio - Tajniki budowniczego Robloxa – wstęp do Tycoona - ServerScript

Mar 22nd, 2021
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. local RemoteEvent = Instance.new("RemoteEvent", game.ReplicatedStorage)
  2. RemoteEvent.Name = "ChangeOwner"
  3.  
  4. local function ChangeTycoonOwner(player)
  5. game.Workspace.Tycoon.TycoonInfo.Owner.Value = player
  6. end
  7.  
  8. RemoteEvent.OnServerEvent:Connect(ChangeTycoonOwner)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement