Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need to get a value from localplayer from a server script in an if statement? [Solved]

Asked by 6 years ago
Edited by OldPalHappy 6 years ago

I need this but in a server script!

if game.Players.LocalPlayer.Tycoon.Value == 1 then tycoon = workspace.Tycoon1.Baseplate end

if game.Players.LocalPlayer.Tycoon.Value == 2 then tycoon = workspace.Tycoon2.Baseplate end

if game.Players.LocalPlayer.Tycoon.Value == 3 then tycoon = workspace.Tycoon3.Baseplate end

if game.Players.LocalPlayer.Tycoon.Value == 4 then tycoon = workspace.Tycoon4.Baseplase end

How could i get this into a server script?!

0
nevermind i used workspace.Tycoon1, workspaced.Tycoon2, etc giantjdd 5 — 6y

Answer this question