Advertisement
moathon

crash2

Mar 15th, 2021
918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local new = Instance.new("Part")
  2. new.Name = "Part1"
  3. new.Parent = game.Workspace
  4. new.Touched:Connect(function(part)
  5.     if part.Name == "Part2" then
  6.         local burn = Instance.new("Fire")
  7.         burn.Parent = part
  8.         local clone = part:Clone()
  9.         clone.Transparency = 1
  10.         clone.Parent = game.Workspace
  11.         new.Position = part.Position
  12.     end
  13. end)
  14.  
  15. local new = Instance.new("Part")
  16. new.Name = "Part2"
  17. new.Parent = game.Workspace
  18. new.Touched:Connect(function(part)
  19.     if part.Name == "Part1" then
  20.         local burn = Instance.new("Fire")
  21.         burn.Parent = part
  22.         local clone = part:Clone()
  23.         clone.Transparency = 1
  24.         clone.Parent = game.Workspace
  25.         new.Position = part.Position
  26.     end
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement