Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Solved] How to double jump to fly or smth? [closed]

Asked by
dekkeda 30
5 years ago
Edited 5 years ago

So far i have this idk how to go further:

01game.Players.LocalPlayer.CharacterAdded:Wait()
02local Character = game.Players.LocalPlayer.Character
03 
04if Character.Humanoid.HumanoidState == Enum.HumanoidStateType.Jumping then
05    local BP = Instance.new("BodyPosition")
06    BP.Parent = Character.HumanoidRootPart
07    game:GetService("UserInputService"):Connect(function(Input)
08        if Input.KeyCode == Enum.KeyCode.W then
09            BP.Position =
10        end
11    end)
12end

EDIT: I solved my self its now good funcitoning

0
Please try to write a bit more code, it looks like you stopped writing for no reason. sleazel 1287 — 5y

Closed as Too Broad by sleazel, KDarren12, and Goulstem

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?