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

Expected indentifier when parsing expression, got 'local'. does anybody have any help?

Asked by 2 years ago
print(player.Name .. local ClonedItem=game.ReplicatedStorage.Venomshank:Clone()

1 answer

Log in to vote
0
Answered by
Dauhxe 0
2 years ago

You can't define a variable inside of a function.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
print(player.Name)
local ClonedItem = ReplicatedStorage.Venomshank:Clone()
Ad

Answer this question