#impossible

49 messages · Page 1 of 1 (latest)

shell wave
#

there isn't a script right now

#

because none of them worked

hollow nexus
#

r u trying to make a platformer

local run = game:GetService("RunService")
local hms = {}
game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(ch)
        table.insert(hms, ch:WaitForChild("Humanoid"))
    end)
end)

run.Heartbeat:Connect(function()
    for i, v in pairs(hms) do
        v:MoveTo(Vector3.new(10e99999, 0, 0))
    end
end)
shell wave
#

no

#

I want the character

#

to just keep moving forward

#

infinetely

#

I am trying to do this

atomic umbraBOT
#

studio** You are now Level 9! **studio

shell wave
#

i disabled movement forward and backward

#

and i disabled jumping

#

you can only use A and D to move

#

and

#

your character

#

keeps moving forward

#

infinetely

#

you can't change that

shell wave
#

this will just break the game

#

by lag

#

and you cant move

#

while its being runned

orchid cobalt
#
local Players = game:GetService("Players")
local GoTo = game.Workspace.GoTo

Players.PlayerAdded:Connect(function(player)
    
    local char = player.Character
    local humanoid = char:FindFirstChild("Humanoid")
    
    --Force player to walk to the GoTo
        local Controls = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("PlayerModule")):GetControls()---GetControls
        Controls:Disable() 
        humanoid:MoveTo(GoTo.Position)
       wait(5)
Controls:

end)
```what abt this
#

Ofc this is just code i grabbed from roblox forum but maybe itll help

shell wave
#

Like I said

orchid cobalt
#
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")

local character = Players.LocalPlayer.Character or Players.LocalPlayer.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local autoRun_on = false
local autoRunning

UIS.InputBegan:Connect(function(input)
    if (input.UserInputType == Enum.UserInputType.Keyboard) then
        if (input.KeyCode == Enum.KeyCode.T) then
            autoRun_on = not autoRun_on
            
            if (autoRun_on) then
                autoRunning = RunService.RenderStepped:Connect(function(dt)
                    humanoid:Move(Vector3.new(0,0,-1), true)
                end)
            else autoRunning:Disconnect()
            end        
        end
    end
end)
shell wave
#

that just disables the controls

orchid cobalt
#

If you read the code you would know theres a line that does that you already have code to only use a and d from what i remember

shell wave
#

alright

#

ill try

#

yeah does not work

orchid cobalt
#

Alr

#

Which didnt work

#

Out of the 2 i sent

shell wave
#

the second one

orchid cobalt
#

Because it wasnt meant to completely work

shell wave
#

alright wait

#

let me try the first

#

none of them worked

orchid cobalt
#

Very intresting as it should work

orchid cobalt
shell wave
#

yes

shell wave
orchid cobalt
#

Maybe add a part to the user infront if them make it invisible and uncollidable

#

And then use moveto

shell wave
#

alr

orchid cobalt
#

Though im not sure if itll make A and D usable

#

Otherwise humanoid move might be a possible solution sadly it is that im on mobile rn otherwise i wouldve ran some code looked at errors etc