marioisdabomb

Untitled

Dec 14th, 2018
129
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. --Time stop script By PaintfulfreeMLG
  87. --Credits to The za warudo script by Soldier_Joao
  88.  
  89. mse = Player:GetMouse()
  90.  
  91. sound = Instance.new("Sound", Character)
  92. sound.SoundId = "https://www.roblox.com/asset/?id=849861238"
  93. sound.Volume = 2.5
  94. sound2 = Instance.new("Sound", Character)
  95. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  96. sound2.Volume = 2.5
  97. sound3 = Instance.new("Sound", Character)
  98. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  99. sound3.Volume = 1.8
  100. sound4 = Instance.new("Sound", Character)
  101. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  102. sound4.Volume = 2
  103. TSTheme = Instance.new("Sound", Character)
  104. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  105. TSTheme.Volume = 2
  106. canworld = true
  107. mse.KeyDown:connect(function(key)
  108. key = key:lower()
  109. if key == "t" then
  110. if canworld == false then return end
  111. if canworld then
  112. canworld = false
  113. sound3:Play()
  114. tecks.Text = "YOU WILL NEVER GO, ZA WARUDO!"
  115. wait(2)
  116. tecks.Text = LocalPlayer.Name
  117. sound:Play()
  118. sound4:Play()
  119. TSTheme:Play()
  120.  
  121. local function spawnpart()
  122. sphere = Instance.new("Part")
  123. --game.Debris:AddItem(sphere,3)
  124. local sm = Instance.new("SpecialMesh", sphere)
  125. sm.MeshType = "Sphere"
  126. sphere.Transparency = 0.5
  127. sphere.Anchored = true
  128. sphere.CanCollide = false
  129. sphere.Material = "Neon"
  130. sphere.BrickColor = BrickColor.new("Black")
  131. end
  132.  
  133. local function weld(lol)
  134. local weld = Instance.new("Weld", Player.Character.Torso)
  135. weld.Part0 = Player.Character.Torso
  136. weld.Part1 = lol
  137. weld.C0 = Player.Character.Torso.CFrame:inverse()
  138. weld.C1 = lol.CFrame:inverse()
  139. end
  140. wait()
  141. spawnpart()
  142. for i, v in pairs(game.Players:GetChildren()) do
  143. t = v.Character:FindFirstChild("Torso")
  144. if t then
  145. t.Anchored = true
  146. Player.Character:FindFirstChild("Torso").Anchored = false
  147. end
  148. RA = v.Character:FindFirstChild("Right Arm")
  149. if RA then
  150. RA.Anchored = true
  151. Player.Character:FindFirstChild("Right Arm").Anchored = false
  152. end
  153. LA = v.Character:FindFirstChild("Left Arm")
  154. if LA then
  155. LA.Anchored = true
  156. Player.Character:FindFirstChild("Left Arm").Anchored = false
  157. end
  158. RL = v.Character:FindFirstChild("Right Leg")
  159. if RL then
  160. RL.Anchored = true
  161. Player.Character:FindFirstChild("Right Leg").Anchored = false
  162. end
  163. LL = v.Character:FindFirstChild("Left Leg")
  164. if LL then
  165. LL.Anchored = true
  166. Player.Character:FindFirstChild("Left Leg").Anchored = false
  167. end
  168. end
  169. weld(sphere)
  170. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  171. cce.Saturation = -5
  172. --game.Debris:AddItem(cce, 5)
  173. sphere.Parent = Character.Torso
  174. for i = 1,3 do
  175. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  176. wait()
  177. end
  178. wait()
  179. sphere:Destroy()
  180. BeeSpeed = 0
  181. cce.Saturation = -0.1
  182. wait(0.3)
  183. cce.Saturation = -0.2
  184. wait(0.3)
  185. cce.Saturation = -0.3
  186. wait(0.2)
  187. cce.Saturation = -1.5
  188. wait()
  189. end
  190. end
  191. end
  192. )
  193.  
  194. tecks.Text = LocalPlayer.Name
  195.  
  196. mse.KeyDown:connect(function(key)
  197. key = key:lower()
  198. if key == "y" then
  199. canworld = true
  200. tecks.Text = "Time continues moving again."
  201. sound2:Play()
  202. wait()
  203. BeeSpeed = 1
  204. cce.Saturation = -1.3
  205. wait(0.5)
  206. BeeSpeed = 1.2
  207. cce.Saturation = -0.5
  208. wait(0.5)
  209. BeeSpeed = 1.4
  210. cce.Saturation = -0.4
  211. wait(0.3)
  212. BeeSpeed = 1.5
  213. cce.Saturation = -0.2
  214. wait(0.2)
  215. cce.Saturation = 0
  216.  
  217. for i, v in pairs(game.Players:GetChildren()) do
  218. t = v.Character:FindFirstChild("Torso")
  219. if t then
  220. t.Anchored = false
  221. end
  222. RA = v.Character:FindFirstChild("Right Arm")
  223. if RA then
  224. RA.Anchored = false
  225. end
  226. LA = v.Character:FindFirstChild("Left Arm")
  227. if LA then
  228. LA.Anchored = false
  229. end
  230. RL = v.Character:FindFirstChild("Right Leg")
  231. if RL then
  232. RL.Anchored = false
  233. end
  234. LL = v.Character:FindFirstChild("Left Leg")
  235. if LL then
  236. LL.Anchored = false
  237. end
  238. end
  239. BeeSpeed = 100
  240. tecks.Text = LocalPlayer.Name
  241. TSTheme:Stop()
  242. end
  243. end)
Advertisement
Add Comment
Please, Sign In to add comment