#How do i give myself a instance value in console?
22 messages · Page 1 of 1 (latest)
instance.new("intval", plr)
instance.new("Role", 0_0)
Works?
no
or do I keep plr
do I keep plr
"Role" isnt even a thing
The intvalue needs to be called role
for _,v in next ,game.Players() do
if v.Character and v.Character:FindFirstChild("Role") then
v.Character:MoveTo(workspace["MatildaChristmas"].HumanoidRootPart.Position - Vector3.new(math.random(-10,10),46,math,random(10,10)))
end
end
I'm trying to make a script where the player teleport
local role = Instance.new("IntValue", game.Workspace[Your name here])
role.Name = "Role"
like run command 1 and then 2
it makes the intvalue name Role.
** You are now Level 1! **
Does this work in Developer Console.
it should
console:1: invalid argument #2 (string expected, got nil) console line 1