I’m trying to make it so a player floats upwards in the air for some time. I have tried using tweenservice but the humanoid root part apparently does not have a value for Position. I have also tried changing the players gravity to -20 using a remote event to a local script. All I want is for one particular player to levitate into the air.
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
if message == "Breath Air" or "BREATH AIR" or "breath air" then
local Sound = game:GetService("ServerStorage").SoundEffects.DeepBreath:Clone()
Sound.Parent = player.Character.PrimaryPart
Sound:Play()
task.wait(1)
local tween = TweenService:Create(player.Character:FindFirstChild("UpperTorso"), info, goals)
tween:Play()
task.wait(1)
Sound:Stop()
Sound:Destroy()
-- make player levitate into air like a hot air balloon
task.wait(5)
player.Character:FindFirstChild("Humanoid").Health = 0
end
end)
end)
ignore my script it isn’t optimised since this is just for messing around