#Script not working because idk???

1 messages · Page 1 of 1 (latest)

fathom girder
#

line 30 being the PhysicsService:SetPartCollisionGroup()(object, "Mob")

#

Or this is the script

torn willow
#

any errors?

#

oh

fathom girder
#

I marked the error

torn willow
#

change the line

fathom girder
#

When i try to run it it says "Arguement 2 missing or nil"

torn willow
#

PhysicsService:SetPartCollisionGroup() <--- (object, "Mob") you have 2 paranthases

#

it should be
PhysicsService:SetPartCollisionGroup(object, "Mob")

fathom girder
#

oooh.

#

alright ill check it

torn willow
#

ye

fathom girder
#

Its still wrong because SetPartCollisionGroup is apparently "depracetated"

torn willow
#

oh

#

it should also tell you what to use instead then

fathom girder
#

it said to use BasePart.CollisionGroup I think?

torn willow
#

oh alright

fathom girder
#

imma try with that

#

but should I keep the physicsservice?

#

because when i tried that it said something about it not being a member of PhysicsService "PhysicsService"

#

Atp i do not know what to do...

#

nothing works

torn willow
#

uh

fathom girder
#

Error is still line 30

#

Because "Not a member" or sum shit like that

torn willow
#

wait

fathom girder
#

base part is not a member of physicsService

#

aight il wait..

torn willow
#

bro

fathom girder
#

?

torn willow
#

object.ColisionGroup = "Mob"

#

if I'm not wrong

fathom girder
#

Idk i cant code

torn willow
#

bro

#

just hire a coder

fathom girder
#

I just watch vids or steal stuff 😭

#

no money.

torn willow
#

or learn it utself

#

I learned in like

#

1 year

#

basic scripting

fathom girder
#

i have adhd and i have the memory capacity of a rock

torn willow
#

but cuz I didn't follow right resources

fathom girder
#

so then lwhere should i put object.ColisionGroup = "Mob"

#

into the brackets?

torn willow
#

where the error is

#

replace line 30

fathom girder
#

with object.ColisionGroup = "Mob"?

torn willow
#

yep

fathom girder
#

new errorr...

torn willow
#

do you know what autocmomplete is

#

object.CollisionGroup

#

2 ll's

fathom girder
#

mb

#

well it works...

#

but uh

#

well yeah.

#

it works

#

epic!

fathom girder
#

hey @torn willow