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

4 comments

0

change 'game.Players.LocalPlayer.CharacterAdded:Wait()' to 'game.Players.LocalPlayer.CharacterAdded:Connect(function()' and the end needs to be 'end)'

0

Well that did nothing. Thanks for the "help"

0

if it is in a regular script, you cannot use game.Players.LocalPlayer

0

At least he tried to help, also you need to make that a function.