Parallaxox

Flaming Part Fall From Sky

Jan 30th, 2021 (edited)
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. --https://www.youtube.com/watch?v=BVdEoV6oEsk
  2.  
  3. --First Script
  4. script.Parent.Touched:Connect(function(hit)
  5.     if hit.Parent:FindFirstChild("Humanoid") then
  6.         hit.Parent:Breakjoints()
  7.     end
  8. end)
  9.  
  10. --Second Script
  11. local part = game.Lighting.Parent
  12. local clone = part.Clone()
  13. while wait (5)do
  14.     local x = math.random(1,10)
  15.     local y = 20
  16.     local z = math.random(1,10)
  17.     clone.Position = Vector3.new(x,y,z)
  18.     clone.Parent = game.Workspace
  19.     clone.Anchored = false
  20. end
  21.  
  22.  
Add Comment
Please, Sign In to add comment