#💬 cubelampʹs Feedback
1 messages · Page 1 of 1 (latest)
leme see it in action in game
Oh yeah, and anyway.
Here:
Oh yeah and recently I also added a way to make it push easier!
Script: ```lua
local Detector = script.Parent.Detector
local Times = 0
Detector.Touched:Connect(function(player) --Touched
if player.Parent:FindFirstChild("Humanoid") then --if Human then
Times = Times + 1
if Times >= 20 then --if 20 touches then
Detector.Roblox_Spawn:Play()
for _,v in pairs(script.Parent:GetChildren()) do
if v.ClassName == "Part" then --if 3D Object
v.Position = v.Position + Vector3.new(0,0,1)
v.Orientation = Vector3.new(math.random(10,160),0,0)
Times = 0
end
end
end
end
end)