Output:
Players.Freddan2006YT.PlayerGui.zxcxzx.Trolling_UI.Rocket.LocalScript:14: 'end' expected (to close 'function' at line 8) near 'else'
code:
local button = script.Parent
local plrname = script.Parent.Parent.Parent.Trolling_UI.PlrName.Text
local rem = game.ReplicatedStorage.Admin:WaitForChild("Rocket")
local status =script.Parent.Parent.Parent.Trolling_UI.status
print(plrname)
if workspace:FindFirstChild(plrname) then
button.MouseButton1Click:Connect(function()
status.Visible = true
status.Text = "Sending Request.."
wait(0.8)
status.Visible = false
status.Text = "Succsess!"
else
status.Visible = true
status.Text = "Not a valid plr"
status.Visible = false
end)
end

4 comments
Oh..god i will never learn. And also thanks ??
Oh..god i will never learn. And also thanks!
Oh..god i will never learn. And also thanks!
Oh..god i will never learn. And also thanks!