#PLS I NEED THIS

1 messages · Page 1 of 1 (latest)

burnt owl
#
local t = 1
local step = 0.5
local part = script.Parent

part.Touched:Connect(function(hit)
    character = hit.Parent
    if character then
        humanoid = character:FindFirstChild("Humanoid")
        if humanoid then
            function A()
            while t > 0 do
                script.Parent.Transparency = t
                t = t - step
                task.wait(0.50)
            end
        end
    end
end)
do A()```
#

why this script aint working

#
local t = 1
local step = 0.5
local part = script.Parent

function A()
part.Touched:Connect(function(hit)
    character = hit.Parent
    if character then
        humanoid = character:FindFirstChild("Humanoid")
        if humanoid then
            while t > 0 do
                script.Parent.Transparency = t
                part.CanCollide = false
                part.CanTouch = false
                task.wait(0.50)
                part.Transparency = t - 25
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.50)
                part.Transparency = t - 50
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.50)
                part.Transparency = t - 75
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.50)
                part.Transparency = t - t
                part.CanCollide = false
                part.CanTouch = false
            end
        end
    end
end)
end
task.wait(1.50) 
do A() end```
#

this either

burnt owl
#
local t = 1
local step = 0.5
local part = script.Parent

local function A()
part.Touched:Connect(function(hit)
    
end)
    character = hit.Parent
    if character then
        humanoid = character:FindFirstChild("Humanoid")
        if humanoid then
            while t > 0 do
                script.Parent.Transparency = t
                part.CanCollide = false
                part.CanTouch = false
                task.wait(0.75)
                part.Transparency = t - 75
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t - 50
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t - 25
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t
                part.CanCollide = false
                part.CanTouch = false
                task.wait(0.75)
                part.Transparency = t - 25
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t - 50
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t - 75
                part.CanCollide = true
                part.CanTouch = true
                task.wait(0.75)
                part.Transparency = t-t
                part.CanCollide = true
                part.CanTouch = true
            end
        end
    end
end
task.wait(1.5)
do A() end```
limber zenithBOT
#

studio** You are now Level 1! **studio

burnt owl
#

THIS ALSO

stable finch
#

are we genuinely ok

analog wind
#

What are you trying to do?

#

@burnt owl

main galleon
#

do this

#

that's a OFFENCE!

green veldt
#

In computer programming, a for loop is a structured control flow statement that repeatedly runs a section of code until a condition is satisfied.
A for loop has two parts: a header and a body. The header defines how the loop iterates, and the body is the code executed once per iteration. The header often declares a loop variable which can be use...

limber zenithBOT
#

studio** You are now Level 1! **studio

fringe geyser
#

"PLEASE SPEED I NEED THIS" ahh while aint even saying whats wrong

limber zenithBOT
#

studio** You are now Level 3! **studio