#Touched event ??

86 messages · Page 1 of 1 (latest)

wicked flume
#
debounce = false
print("loaded")
script.Parent.Touched:Connect(function(hit)
    print("Touched")
    if hit.Parent:FindFirstChild("IntValue") and debounce == false then
        print("Damaged")
        debounce = true
        workspace.GratePumpkin.Humanoid:TakeDamage(math.random(80,90))
        hit:Destroy()
        wait(1)
        debounce = false
    end
end)
#

When the moving part passes through the touch part only loaded is printed.

#

the script above is in the touch part

#

Say the moving part is a sword and the touch part is the boss' torso

#

Can two parts not touch each other or something?

gray tide
#

yo how do you send code blocked out the way you do @wicked flume if you dont mind me asking

wicked flume
#

..

#

three `

#

then lua

#
bla bla bla
#

then three more ` on new line

gray tide
#

thanks sm

wicked flume
tawdry hound
#

check if the cantouch property is on

small estuaryBOT
#

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

wicked flume
#

for both parts yes

tawdry hound
wicked flume
#

example

#

its kinda weird

#

the moving part is like a cheese grater

#

you wouldnt understand

tawdry hound
#

yeah ik...

#

oh

#

are the parts local or server

wicked flume
#

server

tawdry hound
#

okay

#

so

#

one part cant be anchored

wicked flume
#

that cant really work

tawdry hound
#

and one parts cframe cant be set to overlap the others

wicked flume
#

actually

#

one sec

tawdry hound
#

"This event only fires as a result of physical movement, so it will not fire if the CFrame property was changed such that the part overlaps another part. This also means that at least one of the parts involved must not be Anchored at the time of the collision."

#

you could weld it

#

or use some type of contraint

wicked flume
#

does double part touching just not work with tweening

tawdry hound
#

well it says physical movement

#

and tweening isnt physcial

wicked flume
#

bruh

#

i give up

#

im scrapping my game

tawdry hound
#

bruh

wicked flume
#

thx for your help

tawdry hound
#

bruh

#

what was the idea

wicked flume
#

boss fight game with pumpkin bosses

#

i have 6 months to make 7 more bosses

tawdry hound
#

did u get commed for it

wicked flume
#

literally the only problem i have is the damagine portion

#

did i get what?

tawdry hound
#

commed

#

commend

wicked flume
#

huh

#

wut dat

tawdry hound
#

bruh

#

someone is paying u to make sutf

#

stuff

wicked flume
#

nope

#

im a solo dev

#

1: i have trust issues

#

2: im poor

#

3: yea

tawdry hound
#

then what is the 6 month time frame for

wicked flume
#

october 1st, 2024

#

every squash out game has to be released at that day

#

im making the third one

#

the first two were made by a guy who left for college 4 years ago

#

so im continuing his legacy

tawdry hound
#

the fuck is squash out

wicked flume
#
Roblox

Check out Squash Out. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. Get ready to fight your way through an onslaught of spooky pumpkin bosses in an epic battle to the death! Are you up for the challenge?

#

these masterpieces

#
Roblox

Check out Squash Out 3. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. Squash your way through a revamped plethora of pumpkin-themed bosses!
Only authorized Assistant+ may play at this time. Game is in development.

10/01/2024 6:00 PM EST

Credits:
Builder --> sunnyinbound
Scripter --> sunnyinbound
Animator ...

tawdry hound
#

looks very old roblox

wicked flume
#

2017

tawdry hound
#

pretty old

wicked flume
#

7 years

tawdry hound
#

old

wicked flume
#

anyway

#

ill have to come up with a solution at some point

tawdry hound
#

good luck

wicked flume
#

i have one

#

ill create buttons you can press, ill reuse from previous game they'll spawn in the grater and manually slice the boss

#

thx