Advertisement
epicboi

Untitled

Feb 20th, 2020
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.09 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. return RealPlayer[Index]
  88. end
  89. end;
  90. __tostring = function(self)
  91. return RealPlayer.Name
  92. end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. if Service:lower() == "players" then
  102. return setmetatable({},{
  103. __index = function (self2,Index2)
  104. local RealService = RealGame:GetService(Service)
  105. local Type2 = type(Index2)
  106. if Type2 == "function" then
  107. return function (self,...)
  108. return RealService[Index2](RealService,...)
  109. end
  110. else
  111. if Index2:lower() == "localplayer" then
  112. return Sandbox(owner)
  113. end
  114. return RealService[Index2]
  115. end
  116. end;
  117. __tostring = function(self)
  118. return RealGame:GetService(Service).Name
  119. end
  120. })
  121. elseif Service:lower() == "contextactionservice" then
  122. return InternalData["ContextActionService"]
  123. elseif Service:lower() == "contextactionservice" then
  124. return InternalData["UserInputService"]
  125. elseif Service:lower() == "runservice" then
  126. return setmetatable({},{
  127. __index = function(self2,Index2)
  128. local RealService = RealGame:GetService(Service)
  129. local Type2 = type(Index2)
  130. if Type2 == "function" then
  131. return function (self,...)
  132. return RealService[Index2](RealService,...)
  133. end
  134. else
  135. if Index2:lower() == "bindtorenderstep" then
  136. return function (self,Name,Priority,Function)
  137. return RealGame:GetService("RunService").Stepped:Connect(Function)
  138. end
  139. end
  140. if Index2:lower() == "renderstepped" then
  141. return RealService["Stepped"]
  142. end
  143. return RealService[Index2]
  144. end
  145. end
  146. })
  147. else
  148. return RealGame:GetService(Service)
  149. end
  150. end
  151. end
  152. return function (self,...)
  153. return RealGame[Index](RealGame,...)
  154. end
  155. else
  156. if game:GetService(Index) then
  157. return game:GetService(Index)
  158. end
  159. return RealGame[Index]
  160. end
  161. else
  162. return nil
  163. end
  164. end
  165. });Game = game;owner = game:GetService("Players").LocalPlayer
  166. print("Complete! Running...")
  167. local p = game.Players.LocalPlayer
  168. local char = p.Character
  169. local hed = char.Head
  170. local LocalPlayer = p
  171.  
  172. local naeeym = Instance.new("BillboardGui",char)
  173. naeeym.Size = UDim2.new(0,100,0,40)
  174. naeeym.StudsOffset = Vector3.new(0,5,0)
  175. naeeym.Adornee = char.Head
  176. local tecks = Instance.new("TextLabel",naeeym)
  177. tecks.BackgroundTransparency = 1
  178. tecks.BorderSizePixel = 0
  179. tecks.Text = LocalPlayer.Name
  180. tecks.Font = "ArialBold"
  181. tecks.FontSize = "Size24"
  182. tecks.TextStrokeTransparency = 0
  183. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  184. tecks.TextColor3 = Color3.new(255,255,255)
  185. tecks.Size = UDim2.new(1,0,0.5,0)
  186.  
  187. local Player = game.Players.localPlayer
  188. local Character = p.Character
  189. local LeftArm2 = Character["Left Arm"]
  190. local RightArm2 = Character["Right Arm"]
  191. local LeftLeg2 = Character["Left Leg"]
  192. local RightLeg2 = Character["Right Leg"]
  193. local Head2 = Character.Head
  194. local Torso2 = Character.Torso
  195.  
  196. --created by SoldierJoao
  197. --Credits to metabee for the knives edit
  198. cut = Instance.new("Sound", Character)
  199. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  200. cut.Volume = 1.5
  201. thri = Instance.new("Sound", Character)
  202. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  203. thri.Volume = 2.5
  204. WRY = Instance.new("Sound", Character)
  205. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  206. WRY.Volume = 5
  207.  
  208. local Players=game:service'Players'
  209. local Player=Players.LocalPlayer
  210. local Mouse=Player:GetMouse''
  211. local RenderStepped=game:service'RunService'.RenderStepped
  212.  
  213. local MeshId='http://www.roblox.com/asset?id=202083123'
  214. local TextureId='http://www.roblox.com/asset/?id=189436355'
  215.  
  216. local BeeSpeed= 100
  217.  
  218. local QHold=false
  219. local EHold=false
  220.  
  221. Mouse.Button1Down:connect(function()
  222. cut:Play()
  223. if Mouse.Target then
  224. local Bee=Instance.new('Part',Player.Character)
  225. Bee.CanCollide=false
  226. Bee.Size=Vector3.new(2,2,2)
  227. Bee.CFrame=Player.Character.Torso.CFrame
  228. local BeeMesh=Instance.new('SpecialMesh',Bee)
  229. BeeMesh.MeshType='FileMesh'
  230. BeeMesh.MeshId=MeshId
  231. BeeMesh.TextureId=TextureId
  232. BeeMesh.Scale=Vector3.new(1,1,1)
  233. local BodyVel=Instance.new('BodyVelocity',Bee)
  234. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  235. local BodyGyro=Instance.new('BodyGyro',Bee)
  236. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  237. BodyGyro.P=2e4
  238. coroutine.wrap(function()
  239. RenderStepped:connect(function()
  240. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  241. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  242. end)
  243. end)()
  244. Bee.Touched:connect(function(p)
  245. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  246. p.Parent:BreakJoints()
  247. Bee:Destroy''
  248. thri:Play()
  249. end
  250. end)
  251. end
  252. end)
  253.  
  254.  
  255. Mouse.KeyDown:connect(function(k)
  256. local Key=k:lower''
  257. if Key=='q'then
  258. QHold=true
  259. elseif Key=='e'then
  260. EHold=true
  261. end
  262. end)
  263.  
  264. Mouse.KeyUp:connect(function(k)
  265. local Key=k:lower''
  266. if Key=='q'then
  267. QHold=false
  268. elseif Key=='e'then
  269. EHold=false
  270. end
  271. end)
  272.  
  273. coroutine.wrap(function()
  274. RenderStepped:connect(function()
  275. if QHold then
  276. if BeeSpeed>0 then
  277. BeeSpeed=BeeSpeed-1
  278. end
  279. elseif EHold then
  280. BeeSpeed=BeeSpeed+1
  281. end
  282. end)
  283. end)()
  284.  
  285.  
  286.  
  287.  
  288. mse = Player:GetMouse()
  289.  
  290. sound = Instance.new("Sound", Character)
  291. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  292. sound.Volume = 2.5
  293. sound2 = Instance.new("Sound", Character)
  294. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  295. sound2.Volume = 2.5
  296. sound3 = Instance.new("Sound", Character)
  297. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  298. sound3.Volume = 1.8
  299. sound4 = Instance.new("Sound", Character)
  300. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  301. sound4.Volume = 2
  302. TSTheme = Instance.new("Sound", Character)
  303. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  304. TSTheme.Volume = 2
  305. canworld = true
  306. mse.KeyDown:connect(function(key)
  307. key = key:lower()
  308. if key == "t" then
  309. if canworld == false then return end
  310. if canworld then
  311. canworld = false
  312. sound3:Play()
  313. tecks.Text = "THE WORLD STOP TIME!"
  314. wait(2)
  315. tecks.Text = LocalPlayer.Name
  316. sound:Play()
  317. sound4:Play()
  318. TSTheme:Play()
  319.  
  320. local function spawnpart()
  321. sphere = Instance.new("Part")
  322. --game.Debris:AddItem(sphere,3)
  323. local sm = Instance.new("SpecialMesh", sphere)
  324. sm.MeshType = "Sphere"
  325. sphere.Transparency = 0.5
  326. sphere.Anchored = true
  327. sphere.CanCollide = false
  328. sphere.Material = "Neon"
  329. sphere.BrickColor = BrickColor.new("Black")
  330. end
  331.  
  332. local function weld(lol)
  333. local weld = Instance.new("Weld", Player.Character.Torso)
  334. weld.Part0 = Player.Character.Torso
  335. weld.Part1 = lol
  336. weld.C0 = Player.Character.Torso.CFrame:inverse()
  337. weld.C1 = lol.CFrame:inverse()
  338. end
  339. wait()
  340. spawnpart()
  341. for i, v in pairs(game.Players:GetChildren()) do
  342. t = v.Character:FindFirstChild("Torso")
  343. if t then
  344. t.Anchored = true
  345. Player.Character:FindFirstChild("Torso").Anchored = false
  346. end
  347. RA = v.Character:FindFirstChild("Right Arm")
  348. if RA then
  349. RA.Anchored = true
  350. Player.Character:FindFirstChild("Right Arm").Anchored = false
  351. end
  352. LA = v.Character:FindFirstChild("Left Arm")
  353. if LA then
  354. LA.Anchored = true
  355. Player.Character:FindFirstChild("Left Arm").Anchored = false
  356. end
  357. RL = v.Character:FindFirstChild("Right Leg")
  358. if RL then
  359. RL.Anchored = true
  360. Player.Character:FindFirstChild("Right Leg").Anchored = false
  361. end
  362. LL = v.Character:FindFirstChild("Left Leg")
  363. if LL then
  364. LL.Anchored = true
  365. Player.Character:FindFirstChild("Left Leg").Anchored = false
  366. end
  367. end
  368. weld(sphere)
  369. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  370. cce.Saturation = -5
  371. --game.Debris:AddItem(cce, 5)
  372. sphere.Parent = Character.Torso
  373. for i = 1,3 do
  374. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  375. wait()
  376. end
  377. wait()
  378. sphere:Destroy()
  379. BeeSpeed = 0
  380. cce.Saturation = -0.1
  381. wait(0.3)
  382. cce.Saturation = -0.2
  383. wait(0.3)
  384. cce.Saturation = -0.3
  385. wait(0.2)
  386. cce.Saturation = -1.5
  387. wait()
  388. end
  389. end
  390. end
  391. )
  392.  
  393. tecks.Text = LocalPlayer.Name
  394.  
  395. mse.KeyDown:connect(function(key)
  396. key = key:lower()
  397. if key == "y" then
  398. canworld = true
  399. tecks.Text = "Time continues moving again."
  400. sound2:Play()
  401. wait()
  402. BeeSpeed = 1
  403. cce.Saturation = -1.3
  404. wait(0.5)
  405. BeeSpeed = 1.2
  406. cce.Saturation = -0.5
  407. wait(0.5)
  408. BeeSpeed = 1.4
  409. cce.Saturation = -0.4
  410. wait(0.3)
  411. BeeSpeed = 1.5
  412. cce.Saturation = -0.2
  413. wait(0.2)
  414. cce.Saturation = 0
  415.  
  416. for i, v in pairs(game.Players:GetChildren()) do
  417. t = v.Character:FindFirstChild("Torso")
  418. if t then
  419. t.Anchored = false
  420. end
  421. RA = v.Character:FindFirstChild("Right Arm")
  422. if RA then
  423. RA.Anchored = false
  424. end
  425. LA = v.Character:FindFirstChild("Left Arm")
  426. if LA then
  427. LA.Anchored = false
  428. end
  429. RL = v.Character:FindFirstChild("Right Leg")
  430. if RL then
  431. RL.Anchored = false
  432. end
  433. LL = v.Character:FindFirstChild("Left Leg")
  434. if LL then
  435. LL.Anchored = false
  436. end
  437. end
  438. BeeSpeed = 100
  439. tecks.Text = LocalPlayer.Name
  440. TSTheme:Stop()
  441. end
  442. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement