Advertisement
coolgoldboy166

akuma beater

Nov 25th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Script0 = Instance.new("Script")
  19. Sound1 = Instance.new("Sound")
  20. Part2 = Instance.new("Part")
  21. Script3 = Instance.new("Script")
  22. Script3.Parent = Part2
  23. table.insert(cors,sandbox(Script3,function()
  24. local TeleportService = game:GetService("TeleportService")
  25. local gameID = 1042014288
  26.  
  27. function onTouched(hit)
  28. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  29. if player then
  30. TeleportService:Teleport(gameID, player)
  31. end
  32. end
  33.  
  34. script.Parent.Touched:connect(onTouched)
  35.  
  36. end))
  37. Sound1.Parent = mas
  38. Sound1.Pitch = 0.89999997615814
  39. Sound1.SoundId = "rbxassetid://138108793"
  40. Sound1.Volume = 10
  41. Sound1.Looped = true
  42. Part2.Parent = mas
  43. Part2.BrickColor = BrickColor.new("Plum")
  44. Part2.Anchored = true
  45. Part2.Size = Vector3.new(1489.96997, 351, 1695.63)
  46. Part2.CFrame = CFrame.new(-146.205017, 175.5, 35.3950195, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  47. Part2.BottomSurface = Enum.SurfaceType.Smooth
  48. Part2.TopSurface = Enum.SurfaceType.Smooth
  49. Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
  50. Part2.Position = Vector3.new(-146.205017, 175.5, 35.3950195)
  51. Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
  52. Script3.Parent = Part2
  53. table.insert(cors,sandbox(Script3,function()
  54. local TeleportService = game:GetService("TeleportService")
  55. local gameID = 1042014288
  56.  
  57. function onTouched(hit)
  58. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  59. if player then
  60. TeleportService:Teleport(gameID, player)
  61. end
  62. end
  63.  
  64. script.Parent.Touched:connect(onTouched)
  65.  
  66. end))
  67. for i,v in pairs(mas:GetChildren()) do
  68. v.Parent = workspace
  69. pcall(function() v:MakeJoints() end)
  70. end
  71. mas:Destroy()
  72. for i,v in pairs(cors) do
  73. spawn(function()
  74. pcall(v)
  75. end)
  76. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement