#Confusion part (changes your controls for the time being on the part)

1 messages · Page 1 of 1 (latest)

formal moat
#

In my Obby I want to make a part where if your on the part your controls are confusing/inverted, I tried scripting it but failed 3 times, any help?

amber swift
#

I dont know if this is possible, but imagine a negative humanoid walkspeed

#

worth a shot even tho ik its prolly not gon work

formal moat
amber swift
#

bro why are you here if u got exam tmrw???

#

go study or sleep or sum, I dont wanna be responsible for bad grades

formal moat
#

Im just shit at coding yvl

amber swift
#

in a local script do:

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid.WalkSpeed = -15
#

try this I am about 0% sure if it will work

weak rock
weak rock
#

@amber swift use Touched
use RemoteEvents, and check if player touched the part (I’m sure yk how To do that) and type
game.ReplicatedStorage.(RemoteEventName):FireClient(player, true)

Copy paste all this but change the end part to false, and Touched to TouchEnded

(new local script to call ur remote event)

make variables for:

  • UserInputService
  • RunService
  • Player
  • Character
  • Humanoid

local reverse = false

game.ReplicatedStorage.ReverseControls.OnClientEvent:Connect(function(state)
reverse = state

rs.RenderStepped:Connect(function)
if reverse then
humanoid:Move(-humanoid.MoveDirection, false)

⚠️ don’t copy paste this, there will be no indents and syntax warning for no ends because I’m on phone and I didn’t write the full thing ⚠️

#

that gives u the rough idea of how I’m pretty sure you’d do it, can’t test rn though

amber swift
#

Do u know that thw guy asking for help got banned?

#

But I aint readin allat

#

Ik it wont work obiously, I wanted to trick him cuz he is a racist mf

amber swift
#

but got banned

weak rock