What do you want to achieve? I would like to know how to make a script that lets people have certain abilities in an area
What is the issue? My scripting knowledge is kind of bad
What solutions have you tried so far? I looked for free models, nothing works
Script
cooldown = false
script.Parent.Touched:Connect(function(hit)
if hit and hit.Parent and hit.Parent.Humanoid and cooldown == false then
cooldown = true
-- what do I do?
script.Parent.TouchEnded:Connect(function()
cooldown = false
Something:Destroy()
end)
end
end)
Specifically, I just want the fog to be nonexistent here
local Zone = require(game:GetService("ReplicatedStorage").Zone)
local container = workspace.doop
local zone = Zone.new(container)
zone.playerEntered:Connect(function(player)
print(("%s entered the zone!"):format(player.Name))
end)
zone.playerExited:Connect(function(player)
print(("%s exited the zone!"):format(player.Name))
end)