local function Ghostify(Part) Part.Transparency = 1 wait(4) then Part.Transparency = 0.7
Here:
local function Ghostify(Part) game.Workspace.Part.Transparency = 1 -- assuming the Part is named "Part" and is in the Workspace wait(4) game.Worspace.Part.Transparency = 0.7 end Ghostify() ---Calls the function
now I'm not the world's best scripter but I think that is it.
You could also shorten it by doing this:
local function Ghostify(Part) Part = game.Workspace.Part Part.Transparency = 1 wait(4) Part.Transparency = 0.7 end Ghostify() ---Calls the function
Well, I have a script that doesn't involve functions. Here:
Part = game.Workspace while true do --Delete this if you dont want it to be repeated Part.Transparency = 1 wait(4) Part.Transparency = 0.7
This is just a script that doesn't involve functions