#Sit Script

1 messages · Page 1 of 1 (latest)

leaden halo
#

im not able to make a sit script omgcan someone help me like it keeps saying error always

obtuse imp
#

you dont need a script to make a player

#

sit

leaden halo
#

ye

#

withouth pressing any key

obtuse imp
#

without seats, you can make it happen

leaden halo
#

like yk

obtuse imp
#

with local scripts

#

or server

leaden halo
#

i want to make like a "slide"

leaden halo
#

idk abt scripting i asked roblox ai

#

but yeah look

#

😭

#

local part = script.Parent

part.Touched:Connect(function(hit)
local character = hit.Parent
local humanoid = character and character:FindFirstChild("Humanoid")
if humanoid then
humanoid.Sit = true
end
end)

quaint bear
#

and where did you put this script

obtuse imp
#

or a script?

leaden halo
quaint bear
#

alr

leaden halo
obtuse imp
#

blue or white

quaint bear
#

use 'Script'

#

Script instance the one with the white color

#

a server sided script instead of a local script

leaden halo
#

white

obtuse imp
#

error?

leaden halo
#

like there is no error its just like

#

it doent works

obtuse imp
#

so

#

your part must have

#

'CanTouch' enabled

leaden halo
#

yeah thats the problem

obtuse imp
#

in properties

leaden halo
#

it doesnt have oen cuz i dont want it to be touched

obtuse imp
#

if you disable that

#

.Touched event wont work

leaden halo
#

oh

obtuse imp
#

if you want the players to not collide with the part

leaden halo
#

i will try to figure it out then tysm

obtuse imp
#

turning CanCollide off is enough

#

CanTouch only affects

#

.Touched event

#

and nothing

#

else

leaden halo
#

oh

#

okay so

#

let me check now

#

omg yes

#

now done

#

tysm

obtuse imp
#

grreeatt