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

Filtering enabled bug that stops fire and player flying, or am I doing something wrong?

Asked by 7 years ago

Every single time I use anything with BodyForce or BodyVelocity (Filtering Enabled) there is ALWAYS the same type of bug. The Output and Console says there is no errors.

Right now I'm making flying

Local Script in Player Backpack

01workspace.General.Cooldown.Create:FireServer()
02workspace.General.ClickDetector.Clicker:FireServer()
03UserInput = game:GetService("UserInputService")
04workspace:WaitForChild(game.Players.LocalPlayer.Name)
05UserInput.InputBegan:connect(function(Input)
06    if Input.KeyCode == Enum.KeyCode.LeftAlt or Input.KeyCode == Enum.KeyCode.RightAlt then
07        workspace.General.Fly.Up:FireServer()
08    end
09end)
10UserInput.InputEnded:connect(function(Input)
11    if Input.KeyCode == Enum.KeyCode.LeftAlt or Input.KeyCode == Enum.KeyCode.RightAlt then
12        workspace.General.Fly.Stop:FireServer()
13    end
14end)
15Mouse = game.Players.LocalPlayer:GetMouse()
View all 77 lines...

Script in Workspace > General named Fly:

01--[==[ ({ Float Up } ) ]==]--
02local Speed = 5
03local Idle = false
04script.Up.OnServerEvent:connect(function(Client)
05    local Char = Client.Character
06    if Client.Backpack.Element.Value == "Fire" then
07        if Char.UpperTorso:FindFirstChild("Fire") == nil then
08            local Flame = workspace.Fire.FireBall["Fire Volley"].Fire:Clone()
09            Flame.Parent = Char.UpperTorso
10        end
11    end
12    for i, v in pairs(Char.Humanoid:GetPlayingAnimationTracks()) do
13        v:Stop()
14    end
15    Char.Animate.Disabled = true
View all 95 lines...

Answer this question