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

Script that adds values inside the player won't work?

Asked by 6 years ago

My value script isn't working. I don't really get what is wrong.

local plr = game.Players.LocalPlayer


game.Players.LocalPlayer.CharacterAdded:Wait()
    local dominus = game.ReplicatedStorage.DominusOwned
    dominus.Parent = plr
    local scuba = game.ReplicatedStorage.ScubaOwned
    scuba.Parent = plr

0
change 'game.Players.LocalPlayer.CharacterAdded:Wait()' to 'game.Players.LocalPlayer.CharacterAdded:Connect(function()' and the end needs to be 'end)' abnotaddable 920 — 6y
0
Well that did nothing. Thanks for the "help" slay_unknown -3 — 6y
0
if it is in a regular script, you cannot use game.Players.LocalPlayer greatneil80 2647 — 6y
0
At least he tried to help, also you need to make that a function. Viking359 161 — 6y

Answer this question