#Rocket Jump Tool not working
1 messages · Page 1 of 1 (latest)
local Tool = script.Parent
local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local cooldown = 2 -- Sekunden Cooldown
local canBoost = true
Tool.Activated:Connect(function()
if not canBoost then return end
canBoost = false
local player = Players:GetPlayerFromCharacter(Tool.Parent)
if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local root = player.Character.HumanoidRootPart
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 5
explosion.BlastPressure = 0 -- Kein Schaden, keine Physik auf Umgebung
explosion.Position = root.Position - Vector3.new(0, 3, 0)
explosion.Parent = workspace
root.AssemblyLinearVelocity = Vector3.new(0, 100, 0)
-- Cooldown Timer
wait(cooldown)
canBoost = true
end
end)
there is no error but every time i click while holding the tool, the explosion effect plays but i dont get boostet or flinged into the air
You're using the wrong thing for boosting you in the air
Explosion isn't to be used like that
Migrate your code for using a BodyMover
like LinearVelocity
with a low responsive value for a smooth feel
Learn more
okay i tried it and it works thank you