Advertisement
miissso

Za warudo

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