game:GetService("ReplicatedStorage").Arrow.OnServerEvent:Connect(function(player)
if player.Data.Stand.Value == 9 or player.Data.Stand.Value == 91 or player.Data.Stand.Value == 92 or player.Data.Stand.Value == 93 or player.Data.Stand.Value == 94 or player.Data.Stand.Value == 95 or player.Data.Stand.Value == 10006 then
local char = player.Character
if not char:FindFirstChild"Artist Hat" then
return
end
local human = char["Humanoid"]
local location = player.Character.HumanoidRootPart.CFrame
player:LoadCharacter()
human.WalkSpeed = 16
human.JumpPower = 50
player.Character.HumanoidRootPart.CFrame = location
local rando = math.random(1, 5)
if rando == 1 then
local randooooo = math.random(0, 100)
if randooooo >= 2 then
player.Data.Stand.Value = 94
end
elseif rando == 2 then
local randoo = math.random(0, 100)
if randoo >= 2 then
player.Data.Stand.Value = 93
elseif randoo <= 1 then
player.Data.Stand.Value = 95
end
elseif rando == 3 then
local randooo = math.random (0, 100)
if randooo >= 2 then
player.Data.Stand.Value = 93
elseif randooo <= 1 then
player.Data.Stand.Value = 95
end
elseif rando == 4 then
player.Data.Stand.Value = 92
elseif rando == 5 then
player.Data.Stand.Value = 91
end
end
if rand > 10 and rand then
local rando = math.random(1, 5)
if rando == 1 then
player.Data.Stand.Value = 95
elseif rando == 2 then
player.Data.Stand.Value = 94
elseif rando == 3 then
local randoooo = math.random (0, 100)
if randoooo >= 2 then
player.Data.Stand.Value = 93
elseif randoooo <= 1 then
player.Data.Stand.Value = 95
end
player.Data.Stand.Value = 93
elseif rando == 4 then
player.Data.Stand.Value = 92
elseif rando == 5 then
player.Data.Stand.Value = 91
end
end
end)
I used the code that was advised to me from the last question, but it also does not work, it does not even give an error!?

2 comments
Context is important. Your question is too vague, we don't even know what is your last question.
https://scriptinghelpers.org/questions/107114/artisthat60-expected-to-close-at-line-1-got-end-i-dont-understand Here he is