chrisinator66

Untitled

Jul 1st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. local furnace = "Dreamer's Fright"
  2. game.ReplicatedStorage.Layouts:InvokeServer("Load","Layout1")
  3. local tycoon = game.Players.LocalPlayer.PlayerTycoon.Value
  4.  
  5. _G.freon = false
  6. _G.star = false
  7. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do
  8. if v.Name == "Upgrade" then
  9. if v.Parent.Parent.Name == "Tesla Resetter" or v.Parent.Parent.Name == "Tesla Refuter" then
  10. v.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,25,0)
  11. elseif v.Parent.Parent.Name == "The Final Upgrader" or v.Parent.Parent.Name == "The Ultimate Sacrifice" then
  12. v.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,50,0)
  13. elseif v.Parent.Parent.Name == "Arcane Lightning" or v.Parent.Parent.Name == "Ore Illuminator" then
  14. v:Remove()
  15. elseif v.Parent.Parent.Name == "Morning Star" or v.Parent.Parent.Name == "Catalyzed Star" then
  16. v.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(25,200,0)
  17. _G.star = true
  18. elseif v.Parent.Parent.Name == "Freon Bombarder" then
  19. v.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,100,0)
  20. _G.freon = true
  21. else
  22. v.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  23. end
  24. end
  25. end
  26. local tycoon = game.Players.LocalPlayer.PlayerTycoon.Value
  27. tycoon["Basic Conveyor"].Hitbox.Touched:connect(function(hit)
  28. if hit:FindFirstChild("Cash") then
  29. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  30. wait(0.1)
  31. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  32. wait(0.1)
  33. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,25,0)
  34. wait(0.1)
  35. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  36. wait(0.1)
  37. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  38. wait(0.1)
  39. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,50,0)
  40. wait(0.1)
  41. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  42. wait(0.1)
  43. hit.CFrame = tycoon["Basic Conveyor"].Hitbox.CFrame*CFrame.new(0,125,0)
  44. wait(0.1)
  45. hit.Velocity = Vector3.new(0,0,0)
  46. wait(0.1)
  47. hit.CFrame = tycoon[furnace].Model.Lava.CFrame*CFrame.new(0,5,0)
  48. end
  49. end)
Advertisement
Add Comment
Please, Sign In to add comment