Admin Command Not Working

It is 100% Fine I will ask my friend later how he did it :grinning_face_with_smiling_eyes: I followed you I will @ you in my next admin one I am making rn I do not know how to make fly command

1 Like

That’s what I did, 100% accurate

Here, just publish the game, and you will become admin automatically. Btw here is the fly command. in my admin, sadly it does not work.

	return 
local Me = game:GetService("Players").LocalPlayer
local Char = Me.Character
local Mouse = Me:GetMouse()
local Cam = Workspace.CurrentCamera
local Stop = false
local Version = 0
local MaxSpeed = 5
local Speed = 1
local Keys = {}

local Fly, Rot = Char.Torso:FindFirstChild("brandon'sFly"), Char.Torso:FindFirstChild("brandon'sRot")
if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "brandon'sFly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = ..Force..Fly.position = Char.Torso.Position
Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "brandon'sRot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = ..Force..Rot.cframe = Cam.CoordinateFrame

local Thread,Old = Version, nil
Char.Humanoid.PlatformStand = true

function StopFly()
	Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
end

Char.ChildAdded:connect(function(Obj) wait()
	if Obj.Name == "LM".."MFlyStop" then
		Obj:Destroy()
		StopFly()
	end
end)

coroutine.wrap(function() while Thread == Version and Stop == false do
	local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
	
	if Keys[string.char(48)] then Speed = 1 end
	if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
	if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
	if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
	if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
	if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
	if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
	if Keys.x then StopFly() end
	
	if Old ~= Vectoring then	
		Fly.position = Vectoring.p
		Old = Vectoring
		Speed = math.min(Speed + Speed*0.025,MaxSpeed)
	else
		Speed = 1;
	end
	Rot.cframe = Cam.CoordinateFrame
	wait(0.01)
end end)()

Mouse.KeyDown:connect(function(Key)
	Keys[Key] = true
end)
Mouse.KeyUp:connect(function(Key)
	Keys[Key] = false
end)

end 

I made this admin in 2015, most of it is broken by now. There is only 207 working commands in my admin now, as compared to the original 296 working commands. I managed to debug a few command, such as ;warn, ;checkwarns, ;delwarns, ;kick, ;ban, ;pban, ;idban, ;unban, ;unpban and ;shutdown, the most crucial moderation commands.