Advertisement
copra50

dio

Mar 28th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.11 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. wait(1)
  8.  
  9.  
  10. local p = game.Players.LocalPlayer
  11. local char = p.Character
  12. local hed = char.Head
  13. local LocalPlayer = p
  14.  
  15. local naeeym = Instance.new("BillboardGui",char)
  16. naeeym.Size = UDim2.new(0,100,0,40)
  17. naeeym.StudsOffset = Vector3.new(0,5,0)
  18. naeeym.Adornee = char.Head
  19. local tecks = Instance.new("TextLabel",naeeym)
  20. tecks.BackgroundTransparency = 1
  21. tecks.BorderSizePixel = 0
  22. tecks.Text = LocalPlayer.Name
  23. tecks.Font = "ArialBold"
  24. tecks.FontSize = "Size24"
  25. tecks.TextStrokeTransparency = 0
  26. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  27. tecks.TextColor3 = Color3.new(255,255,255)
  28. tecks.Size = UDim2.new(1,0,0.5,0)
  29.  
  30. local Player = game.Players.localPlayer
  31. local Character = p.Character
  32. local LeftArm2 = Character["Left Arm"]
  33. local RightArm2 = Character["Right Arm"]
  34. local LeftLeg2 = Character["Left Leg"]
  35. local RightLeg2 = Character["Right Leg"]
  36. local Head2 = Character.Head
  37. local Torso2 = Character.Torso
  38.  
  39. --created by SoldierJoao
  40. --Credits to metabee for the knives edit
  41. cut = Instance.new("Sound", Character)
  42. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  43. cut.Volume = 1.5
  44. thri = Instance.new("Sound", Character)
  45. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  46. thri.Volume = 2.5
  47. WRY = Instance.new("Sound", Character)
  48. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  49. WRY.Volume = 5
  50.  
  51. local Players=game:service'Players'
  52. local Player=Players.LocalPlayer
  53. local Mouse=Player:GetMouse''
  54. local RenderStepped=game:service'RunService'.RenderStepped
  55.  
  56. local MeshId='http://www.roblox.com/asset?id=202083123'
  57. local TextureId='http://www.roblox.com/asset/?id=189436355'
  58.  
  59. local BeeSpeed= 100
  60.  
  61. local QHold=false
  62. local EHold=false
  63.  
  64. Mouse.Button1Down:connect(function()
  65. cut:Play()
  66. if Mouse.Target then
  67. local Bee=Instance.new('Part',Player.Character)
  68. Bee.CanCollide=false
  69. Bee.Size=Vector3.new(2,2,2)
  70. Bee.CFrame=Player.Character.Torso.CFrame
  71. local BeeMesh=Instance.new('SpecialMesh',Bee)
  72. BeeMesh.MeshType='FileMesh'
  73. BeeMesh.MeshId=MeshId
  74. BeeMesh.TextureId=TextureId
  75. BeeMesh.Scale=Vector3.new(1,1,1)
  76. local BodyVel=Instance.new('BodyVelocity',Bee)
  77. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  78. local BodyGyro=Instance.new('BodyGyro',Bee)
  79. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  80. BodyGyro.P=2e4
  81. coroutine.wrap(function()
  82. RenderStepped:connect(function()
  83. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  84. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  85. end)
  86. end)()
  87. Bee.Touched:connect(function(p)
  88. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  89. p.Parent:BreakJoints()
  90. Bee:Destroy''
  91. thri:Play()
  92. end
  93. end)
  94. end
  95. end)
  96.  
  97.  
  98. Mouse.KeyDown:connect(function(k)
  99. local Key=k:lower''
  100. if Key=='q'then
  101. QHold=true
  102. elseif Key=='e'then
  103. EHold=true
  104. end
  105. end)
  106.  
  107. Mouse.KeyUp:connect(function(k)
  108. local Key=k:lower''
  109. if Key=='q'then
  110. QHold=false
  111. elseif Key=='e'then
  112. EHold=false
  113. end
  114. end)
  115.  
  116. coroutine.wrap(function()
  117. RenderStepped:connect(function()
  118. if QHold then
  119. if BeeSpeed>0 then
  120. BeeSpeed=BeeSpeed-1
  121. end
  122. elseif EHold then
  123. BeeSpeed=BeeSpeed+1
  124. end
  125. end)
  126. end)()
  127.  
  128.  
  129.  
  130.  
  131. mse = Player:GetMouse()
  132.  
  133. sound = Instance.new("Sound", Character)
  134. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  135. sound.Volume = 2.5
  136. sound2 = Instance.new("Sound", Character)
  137. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  138. sound2.Volume = 2.5
  139. sound3 = Instance.new("Sound", Character)
  140. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  141. sound3.Volume = 1.8
  142. sound4 = Instance.new("Sound", Character)
  143. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  144. sound4.Volume = 2
  145. TSTheme = Instance.new("Sound", Character)
  146. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  147. TSTheme.Volume = 2
  148. canworld = true
  149. mse.KeyDown:connect(function(key)
  150. key = key:lower()
  151. if key == "t" then
  152. if canworld == false then return end
  153. if canworld then
  154. canworld = false
  155. sound3:Play()
  156. tecks.Text = "THE WORLD STOP TIME!"
  157. wait(2)
  158. tecks.Text = LocalPlayer.Name
  159. sound:Play()
  160. sound4:Play()
  161. TSTheme:Play()
  162.  
  163. local function spawnpart()
  164. sphere = Instance.new("Part")
  165. --game.Debris:AddItem(sphere,3)
  166. local sm = Instance.new("SpecialMesh", sphere)
  167. sm.MeshType = "Sphere"
  168. sphere.Transparency = 0.5
  169. sphere.Anchored = true
  170. sphere.CanCollide = false
  171. sphere.Material = "Neon"
  172. sphere.BrickColor = BrickColor.new("Black")
  173. end
  174.  
  175. local function weld(lol)
  176. local weld = Instance.new("Weld", Player.Character.Torso)
  177. weld.Part0 = Player.Character.Torso
  178. weld.Part1 = lol
  179. weld.C0 = Player.Character.Torso.CFrame:inverse()
  180. weld.C1 = lol.CFrame:inverse()
  181. end
  182. wait()
  183. spawnpart()
  184. for i, v in pairs(game.Players:GetChildren()) do
  185. t = v.Character:FindFirstChild("Torso")
  186. if t then
  187. t.Anchored = true
  188. Player.Character:FindFirstChild("Torso").Anchored = false
  189. end
  190. RA = v.Character:FindFirstChild("Right Arm")
  191. if RA then
  192. RA.Anchored = true
  193. Player.Character:FindFirstChild("Right Arm").Anchored = false
  194. end
  195. LA = v.Character:FindFirstChild("Left Arm")
  196. if LA then
  197. LA.Anchored = true
  198. Player.Character:FindFirstChild("Left Arm").Anchored = false
  199. end
  200. RL = v.Character:FindFirstChild("Right Leg")
  201. if RL then
  202. RL.Anchored = true
  203. Player.Character:FindFirstChild("Right Leg").Anchored = false
  204. end
  205. LL = v.Character:FindFirstChild("Left Leg")
  206. if LL then
  207. LL.Anchored = true
  208. Player.Character:FindFirstChild("Left Leg").Anchored = false
  209. end
  210. end
  211. weld(sphere)
  212. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  213. cce.Saturation = -5
  214. --game.Debris:AddItem(cce, 5)
  215. sphere.Parent = Character.Torso
  216. for i = 1,3 do
  217. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  218. wait()
  219. end
  220. wait()
  221. sphere:Destroy()
  222. BeeSpeed = 0
  223. cce.Saturation = -0.1
  224. wait(0.3)
  225. cce.Saturation = -0.2
  226. wait(0.3)
  227. cce.Saturation = -0.3
  228. wait(0.2)
  229. cce.Saturation = -1.5
  230. wait()
  231. end
  232. end
  233. end
  234. )
  235.  
  236. tecks.Text = LocalPlayer.Name
  237.  
  238. mse.KeyDown:connect(function(key)
  239. key = key:lower()
  240. if key == "y" then
  241. canworld = true
  242. tecks.Text = "Time continues moving again."
  243. sound2:Play()
  244. wait()
  245. BeeSpeed = 1
  246. cce.Saturation = -1.3
  247. wait(0.5)
  248. BeeSpeed = 1.2
  249. cce.Saturation = -0.5
  250. wait(0.5)
  251. BeeSpeed = 1.4
  252. cce.Saturation = -0.4
  253. wait(0.3)
  254. BeeSpeed = 1.5
  255. cce.Saturation = -0.2
  256. wait(0.2)
  257. cce.Saturation = 0
  258.  
  259. for i, v in pairs(game.Players:GetChildren()) do
  260. t = v.Character:FindFirstChild("Torso")
  261. if t then
  262. t.Anchored = false
  263. end
  264. RA = v.Character:FindFirstChild("Right Arm")
  265. if RA then
  266. RA.Anchored = false
  267. end
  268. LA = v.Character:FindFirstChild("Left Arm")
  269. if LA then
  270. LA.Anchored = false
  271. end
  272. RL = v.Character:FindFirstChild("Right Leg")
  273. if RL then
  274. RL.Anchored = false
  275. end
  276. LL = v.Character:FindFirstChild("Left Leg")
  277. if LL then
  278. LL.Anchored = false
  279. end
  280. end
  281. BeeSpeed = 100
  282. tecks.Text = LocalPlayer.Name
  283. TSTheme:Stop()
  284. end
  285. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement