#Piece that appears and disappears.
30 messages · Page 1 of 1 (latest)
just do
@edgy mortar this is scripting-help and not scripting-create
you gotta script it yourself
what u want todo is rlly simple
Ow
local part = script.Parent
while true do
task.wait(20 * 60)
part.Visible = true
local connection = part.ClickDetector.Clicked:Connect(function(player)
——award badge here
end)
task.wait(5 * 60)
connection:Disconnect()
part.Visible = false
end```
Server script under the part
Needs to have a clickdetector called ‘ClickDetector’ under the part too
Make sure to replace the code in the function with the badge awarding code
Where i put the time in task.wait?
Wdym??
It waits 20 minutes, spawns the part, connects a function, waits 5 minutes, disconnects the function and repeats that
And i just edited it to make the part disappear after the 5 mins
ohhh ok
Ok ok
Like in all the scripts I've seen, I thought it went by seconds and not by minutes.
my fault
let me see it work
ow ok
But
It is in a script or in a local script?
@golden kernel
bro...
you gotta do some stuff yourself MrJamp wrote the whole script for you