Advertisement
copra50

fixxed DIO over heaven

May 6th, 2019
4,763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. local p = owner
  88. local char = p.Character
  89. local hed = char.Head
  90. local LocalPlayer = p
  91.  
  92. local naeeym = Instance.new("BillboardGui",char)
  93. naeeym.Size = UDim2.new(0,100,0,40)
  94. naeeym.StudsOffset = Vector3.new(0,5,0)
  95. naeeym.Adornee = char.Head
  96. local tecks = Instance.new("TextLabel",naeeym)
  97. tecks.BackgroundTransparency = 1
  98. tecks.BorderSizePixel = 0
  99. tecks.Text = LocalPlayer.Name
  100. tecks.Font = "ArialBold"
  101. tecks.FontSize = "Size24"
  102. tecks.TextStrokeTransparency = 0
  103. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  104. tecks.TextColor3 = Color3.new(255,255,255)
  105. tecks.Size = UDim2.new(1,0,0.5,0)
  106.  
  107. local Player = owner
  108. local Character = p.Character
  109. local LeftArm2 = Character["Left Arm"]
  110. local RightArm2 = Character["Right Arm"]
  111. local LeftLeg2 = Character["Left Leg"]
  112. local RightLeg2 = Character["Right Leg"]
  113. local Head2 = Character.Head
  114. local Torso2 = Character.Torso
  115.  
  116. --created by SoldierJoao
  117. --Credits to metabee for the knives edit
  118. cut = Instance.new("Sound", Character)
  119. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  120. cut.Volume = 1.5
  121. thri = Instance.new("Sound", Character)
  122. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  123. thri.Volume = 2.5
  124. WRY = Instance.new("Sound", Character)
  125. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  126. WRY.Volume = 5
  127.  
  128. local Players=game:service'Players'
  129. local Player=Players.LocalPlayer
  130. local Mouse=Player:GetMouse''
  131. local RenderStepped=game:service'RunService'.RenderStepped
  132.  
  133. local MeshId='http://www.roblox.com/asset?id=202083123'
  134. local TextureId='http://www.roblox.com/asset/?id=189436355'
  135.  
  136. local BeeSpeed= 100
  137.  
  138. local QHold=false
  139. local EHold=false
  140.  
  141. Mouse.Button1Down:connect(function()
  142. cut:Play()
  143. if Mouse.Target then
  144. local Bee=Instance.new('Part',Player.Character)
  145. Bee.CanCollide=false
  146. Bee.Size=Vector3.new(2,2,2)
  147. Bee.CFrame=Player.Character.Torso.CFrame
  148. local BeeMesh=Instance.new('SpecialMesh',Bee)
  149. BeeMesh.MeshType='FileMesh'
  150. BeeMesh.MeshId=MeshId
  151. BeeMesh.TextureId=TextureId
  152. BeeMesh.Scale=Vector3.new(1,1,1)
  153. local BodyVel=Instance.new('BodyVelocity',Bee)
  154. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  155. local BodyGyro=Instance.new('BodyGyro',Bee)
  156. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  157. BodyGyro.P=2e4
  158. coroutine.wrap(function()
  159. RenderStepped:connect(function()
  160. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  161. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  162. end)
  163. end)()
  164. Bee.Touched:connect(function(p)
  165. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  166. p.Parent:BreakJoints()
  167. Bee:Destroy''
  168. thri:Play()
  169. end
  170. end)
  171. end
  172. end)
  173.  
  174.  
  175. Mouse.KeyDown:connect(function(k)
  176. local Key=k:lower''
  177. if Key=='q'then
  178. QHold=true
  179. elseif Key=='e'then
  180. EHold=true
  181. end
  182. end)
  183.  
  184. Mouse.KeyUp:connect(function(k)
  185. local Key=k:lower''
  186. if Key=='q'then
  187. QHold=false
  188. elseif Key=='e'then
  189. EHold=false
  190. end
  191. end)
  192.  
  193. coroutine.wrap(function()
  194. RenderStepped:connect(function()
  195. if QHold then
  196. if BeeSpeed>0 then
  197. BeeSpeed=BeeSpeed-1
  198. end
  199. elseif EHold then
  200. BeeSpeed=BeeSpeed+1
  201. end
  202. end)
  203. end)()
  204.  
  205.  
  206.  
  207.  
  208. sound = Instance.new("Sound", Character)
  209. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  210. sound.Volume = 2.5
  211. sound2 = Instance.new("Sound", Character)
  212. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  213. sound2.Volume = 2.5
  214. sound3 = Instance.new("Sound", Character)
  215. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  216. sound3.Volume = 1.8
  217. sound4 = Instance.new("Sound", Character)
  218. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  219. sound4.Volume = 2
  220. TSTheme = Instance.new("Sound", Character)
  221. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  222. TSTheme.Volume = 2
  223. canworld = true
  224. mse.KeyDown:connect(function(key)
  225. key = key:lower()
  226. if key == "t" then
  227. if canworld == false then return end
  228. if canworld then
  229. canworld = false
  230. sound3:Play()
  231. tecks.Text = "THE WORLD STOP TIME!"
  232. wait(2)
  233. tecks.Text = LocalPlayer.Name
  234. sound:Play()
  235. sound4:Play()
  236. TSTheme:Play()
  237.  
  238. local function spawnpart()
  239. sphere = Instance.new("Part")
  240. --game.Debris:AddItem(sphere,3)
  241. local sm = Instance.new("SpecialMesh", sphere)
  242. sm.MeshType = "Sphere"
  243. sphere.Transparency = 0.5
  244. sphere.Anchored = true
  245. sphere.CanCollide = false
  246. sphere.Material = "Neon"
  247. sphere.BrickColor = BrickColor.new("Black")
  248. end
  249.  
  250. local function weld(lol)
  251. local weld = Instance.new("Weld", Player.Character.Torso)
  252. weld.Part0 = Player.Character.Torso
  253. weld.Part1 = lol
  254. weld.C0 = Player.Character.Torso.CFrame:inverse()
  255. weld.C1 = lol.CFrame:inverse()
  256. end
  257. wait()
  258. spawnpart()
  259. for i, v in pairs(game.Players:GetChildren()) do
  260. t = v.Character:FindFirstChild("Torso")
  261. if t then
  262. t.Anchored = true
  263. Player.Character:FindFirstChild("Torso").Anchored = false
  264. end
  265. RA = v.Character:FindFirstChild("Right Arm")
  266. if RA then
  267. RA.Anchored = true
  268. Player.Character:FindFirstChild("Right Arm").Anchored = false
  269. end
  270. LA = v.Character:FindFirstChild("Left Arm")
  271. if LA then
  272. LA.Anchored = true
  273. Player.Character:FindFirstChild("Left Arm").Anchored = false
  274. end
  275. RL = v.Character:FindFirstChild("Right Leg")
  276. if RL then
  277. RL.Anchored = true
  278. Player.Character:FindFirstChild("Right Leg").Anchored = false
  279. end
  280. LL = v.Character:FindFirstChild("Left Leg")
  281. if LL then
  282. LL.Anchored = true
  283. Player.Character:FindFirstChild("Left Leg").Anchored = false
  284. end
  285. end
  286. weld(sphere)
  287. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  288. cce.Saturation = -5
  289. --game.Debris:AddItem(cce, 5)
  290. sphere.Parent = Character.Torso
  291. for i = 1,3 do
  292. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  293. wait()
  294. end
  295. wait()
  296. sphere:Destroy()
  297. BeeSpeed = 0
  298. cce.Saturation = -0.1
  299. wait(0.3)
  300. cce.Saturation = -0.2
  301. wait(0.3)
  302. cce.Saturation = -0.3
  303. wait(0.2)
  304. cce.Saturation = -1.5
  305. wait()
  306. end
  307. end
  308. end
  309. )
  310.  
  311. tecks.Text = LocalPlayer.Name
  312.  
  313. mse.KeyDown:connect(function(key)
  314. key = key:lower()
  315. if key == "y" then
  316. canworld = true
  317. tecks.Text = "Time continues moving again."
  318. sound2:Play()
  319. wait()
  320. BeeSpeed = 1
  321. cce.Saturation = -1.3
  322. wait(0.5)
  323. BeeSpeed = 1.2
  324. cce.Saturation = -0.5
  325. wait(0.5)
  326. BeeSpeed = 1.4
  327. cce.Saturation = -0.4
  328. wait(0.3)
  329. BeeSpeed = 1.5
  330. cce.Saturation = -0.2
  331. wait(0.2)
  332. cce.Saturation = 0
  333.  
  334. for i, v in pairs(game.Players:GetChildren()) do
  335. t = v.Character:FindFirstChild("Torso")
  336. if t then
  337. t.Anchored = false
  338. end
  339. RA = v.Character:FindFirstChild("Right Arm")
  340. if RA then
  341. RA.Anchored = false
  342. end
  343. LA = v.Character:FindFirstChild("Left Arm")
  344. if LA then
  345. LA.Anchored = false
  346. end
  347. RL = v.Character:FindFirstChild("Right Leg")
  348. if RL then
  349. RL.Anchored = false
  350. end
  351. LL = v.Character:FindFirstChild("Left Leg")
  352. if LL then
  353. LL.Anchored = false
  354. end
  355. end
  356. BeeSpeed = 100
  357. tecks.Text = LocalPlayer.Name
  358. TSTheme:Stop()
  359. end
  360. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement