#Need a developer for a simulator im making
23 messages · Page 1 of 1 (latest)
#💵︱hiring
This is for scripting help :3
Sorry
What type is it lol
Ez scripts lol but some i can’t do since im still kinda new to it but i started in 2017 but i do take breaks like bout 6 months out of the year to refresh my memories
you can practically make a full one with just free models
plus gus they possibly have a lot of errors
local Door=workspace.Door.To.Touched
local db=false
function Hi(hit)
if hit.Parent:FindFirstChild('Humanoid') then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
local Cash = player.stats.Cash
if Cash.Value>=10 then
workspace.Door.To.CanCollide=false
task.wait(0.1)
workspace.Door.To.CanCollide=true
return function()
if not db then
db=true
task.wait(1)
hit()
db=false
end
end
end
end
end
Door:Connect(Hi)```use this for the next world door
@olive briar u should use something like that
u know it works since it returns the db
Door.Touched:Connect(function(Hit)
if not Hit or not Hit.Parent:FindFirstChildWhichIsA("Humanoid") then return end
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
local Cash = Player.leaderstats.Cash
if Cash.Value <= 10 then return end
--[[
Open Door
]]
end
na
also thats a weird way of connecting it
oh its ez because u dont need to have 6 db values
you just need to define the door and the debounce
mine just works as fine
