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

Why won't my script for a customized player list work?

Asked by 4 years ago
Edited 4 years ago

I was trying to make a player list, and this is the script I made for it. It has no output, and nothing happened. No errors, nothing.

Number_Of_Players = 0
Multiply = 0
Clone = script.Parent.Example:Clone()

game:GetService("Players").PlayerAdded:Connect(function()
    Number_Of_Players = Number_Of_Players+1
    Multiply = Number_Of_Players+1
    Clone.Parent = script.Parent
    Clone.Visible = true
    Clone.Position.Y.Scale = Clone.Position*Multiply
end)

Can someone tell me what is wrong with the code?

0
Nothing is wrong with your code. What are you trying to achieve? The code might be doing something different than what you're expecting. pidgey 548 — 4y
0
I'm trying to make it so every time a new player joins it clones the last player's name, changes it to their name, then puts it below the last person's name. FrostedFlakes67 71 — 4y

Answer this question