
Keyless

game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool"))
task.wait(0.2)
local connection
connection = game:GetService("RunService").Heartbeat:Connect(function()
for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
if v.Name == "Handle" and v.Parent:IsA("Tool") then
v.Velocity = Vector3.new(50,0,0)
end end end)
task.wait(0.2)
local boombox = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
local handle = boombox.Handle
if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
game.Players.LocalPlayer.Character.RightHand:Destroy()
else
game.Players.LocalPlayer.Character["Right Arm"]:Destroy()
end
local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
local radius = 4.5
local angle = 0
local speed = 2
connection4 = game:GetService("RunService").Heartbeat:Connect(function(deltatime)
angle = angle + speed * deltatime
local pos = hrp.Position
local x = pos.X + math.sin(angle) * radius
local y = pos.Y
local z = pos.Z + math.cos(angle) * radius
handle.Position = Vector3.new(x,y,z)
end)
local connec
connec = game:GetService("TextChatService").SendingMessage:Connect(function(msg)
if msg.Text == ";unpositiontoolorbit" or msg.Text == ";unptorbit" then
connec:Disconnect()
connec = nil
connection4:Disconnect()
connection4 = nil
connection:Disconnect()
connection = nil
end end)
just do angle += speed * deltatime
I know about that but somehow it didnt work in this game which is really weird. Also if im doing for loops through tables I need to use pairs() / ipairs() / next() or it does not work.
@Automated_Account maybe try angle = angle + (speed * deltatime)
@rainbow_cat no I mean angle = angle + speed * deltatime works fine and it is the same as what you said but angle += speed * deltatime doesn't work. Btw why did you change username agb?
@Automated_Account maybe cyz += is luau only and that executor uses lua
automated account added me