SHARE
TWEET

allahkaboomboom

sIendytubble Jan 26th, 2020 (edited) 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3.     script.Parent = owner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5.     local function NewFakeEvent()
  6.         local Bind = Instance.new("BindableEvent")
  7.         local Fake;Fake = {Connections = {},
  8.         fakeEvent=true;
  9.         Connect=function(self,Func)
  10.             Bind.Event:connect(Func)
  11.             self.Connections[Bind] = true
  12.             return setmetatable({Connected = true},{
  13.             __index = function (self,Index)
  14.                 if Index:lower() == "disconnect" then
  15.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  16.                 end
  17.                 return Fake[Index]
  18.             end;
  19.             __tostring = function() return "Connection" end;
  20.         })
  21.         end}
  22.         Fake.connect = Fake.Connect;return Fake;
  23.     end
  24.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29.     local function TriggerEvent(self,Event,...)
  30.         local Trigger = Mouse[Event]
  31.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33.         end
  34.     end
  35.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  37.         if FiredBy.Name ~= owner.Name then return end
  38.         if Input.MouseEvent then
  39.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40.         else
  41.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43.             for _,Action in pairs(ContextActionService.Actions) do
  44.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45.             end
  46.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48.         end
  49.     end)
  50.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51.     Event.Parent = NLS([[
  52.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53.         local Input = function(Input,gameProcessedEvent)
  54.             if gameProcessedEvent then return end
  55.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56.         end
  57.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58.         local Hit,Target
  59.         while wait(1/30) do
  60.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62.             end
  63.         end
  64.     ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67.     __index = function (self,Index)
  68.         local Sandbox = function (Thing)
  69.             if Thing:IsA("Player") then
  70.                 local RealPlayer = Thing
  71.                 return setmetatable({},{
  72.                     __index = function (self,Index)
  73.                         local Type = type(RealPlayer[Index])
  74.                         if Type == "function" then
  75.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76.                                 return function (self)return InternalData["Mouse"] end
  77.                             end
  78.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79.                         end
  80.                         return RealPlayer[Index]
  81.                     end;
  82.                     __tostring = function(self) return RealPlayer.Name end
  83.                 })
  84.             end
  85.         end
  86.         if RealGame[Index] then
  87.             local Type = type(RealGame[Index])
  88.             if Type == "function" then
  89.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  90.                     return function (self,Service)
  91.                         local FakeServices = {
  92.                             ["players"] = function()
  93.                                 return setmetatable({},{
  94.                                     __index = function (self2,Index2)
  95.                                         local RealService = RealGame:GetService(Service)
  96.                                         local Type2 = type(Index2)
  97.                                         if Type2 == "function" then
  98.                                             return function (self,...) return RealService[Index2](RealService,...)end
  99.                                         else
  100.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101.                                             return RealService[Index2]
  102.                                         end
  103.                                     end;
  104.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  105.                                 })
  106.                             end;
  107.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109.                             ["runservice"] = function()
  110.                                 return setmetatable({},{
  111.                                     __index = function(self2,Index2)
  112.                                         local RealService = RealGame:GetService(Service)
  113.                                         local Type2 = type(Index2)
  114.                                         if Type2 == "function" then
  115.                                             return function (self,...) return RealService[Index2](RealService,...) end
  116.                                         else
  117.                                             local RunServices = {
  118.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  120.                                             }
  121.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122.                                             return RealService[Index2]
  123.                                         end
  124.                                     end
  125.                                 })
  126.                             end
  127.                         }
  128.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129.                         return RealGame:GetService(Service)
  130.                     end
  131.                 end
  132.                 return function (self,...) return RealGame[Index](RealGame,...) end
  133.             else
  134.                 if game:GetService(Index) then return game:GetService(Index) end
  135.                 return RealGame[Index]
  136.             end
  137.         end
  138.         return nil
  139.     end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. kelvar = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  143. kelvar.Size = game.Players.LocalPlayer.Character.Torso.Size
  144. kelvar.CanCollide = false
  145. kelvar.Position = Vector3.new(0,10,0)
  146. weld = Instance.new("Weld", kelvar)
  147. weld.Part0 = kelvar
  148. weld.Part1 = game.Players.LocalPlayer.Character.Torso
  149. mesh = Instance.new("SpecialMesh", kelvar)
  150. mesh.MeshId = "http://www.roblox.com/asset/?id=108788572"
  151. mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  152. mesh.TextureId = "http://www.roblox.com/asset/?id=290267501"
  153. allahuakbar1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  154. allahuakbar1.Volume = 50
  155. allahuakbar1.PlaybackSpeed = 2.8
  156. allahuakbar1.SoundId = "http://www.roblox.com/asset/?id=243053454"
  157. allahuakbar2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  158. allahuakbar2.Volume = 200
  159. allahuakbar2.SoundId = "rbxassetid://258057783"
  160. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
  161. game.Workspace.CurrentCamera.CameraType = "Custom"
  162. print(game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0)
  163. mouse = game.Players.LocalPlayer:GetMouse()
  164. bam = false
  165. crash = false
  166. function boom(key)
  167.     key = key:lower()
  168.     if not bam then
  169.     if key == "q" then
  170.         bam = true
  171.         allahuakbar1:Play()
  172.         local ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  173.         for i = 1,10 do
  174.             wait()
  175.             game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,1)
  176.         end
  177.         for i = 1,5 do
  178.             wait()
  179.             game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.5) * CFrame.Angles(0.6,0,0)
  180.         end
  181.         for i = 1,5 do
  182.             wait()
  183.             game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.5)
  184.         end
  185.         for i = 1,10 do
  186.             wait()
  187.             game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,1)
  188.         end
  189.         game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  190.         local exp = Instance.new("Explosion", game.Players.LocalPlayer.Character)
  191.         exp.Position = kelvar.Position
  192.         exp.BlastRadius = 50
  193.         exp.BlastPressure = 600000
  194.         wait(2)
  195.         ff:destroy()
  196.         bam = false
  197.     end
  198.     end
  199.     if not crash then
  200.     if key == "e" then
  201.     crash = true
  202.     --local ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  203.     local plane = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  204.     game.Workspace.CurrentCamera.CameraSubject = plane
  205.     game.Workspace.CurrentCamera.CameraType = "Watch"
  206.     local allahuakbar3 = Instance.new("Sound", plane)
  207.     allahuakbar3.Volume = 150
  208.     allahuakbar3.SoundId = "rbxassetid://172992561"
  209.     allahuakbar3:Play()
  210.     mesh = Instance.new("SpecialMesh", plane)
  211.     mesh.MeshId = "rbxassetid://469688087"
  212.     mesh.TextureId = "rbxassetid://469688092"
  213.     mesh.Scale = Vector3.new(0.4,0.4,0.6)
  214.     plane.CanCollide = false
  215.     plane.Anchored = true
  216.     local tower = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  217.     tower.CanCollide = false
  218.     tower.Anchored = true
  219.     tower.Position = game.Players.LocalPlayer.Character.Torso.Position
  220.     tower.Position = tower.Position + Vector3.new(100,0,0)
  221.     tower.Size = Vector3.new(70,450,70)
  222.     plane.Position = tower.Position
  223.     plane.Position = plane.Position + Vector3.new(0,250,1000)
  224.     tower.Position = tower.Position + Vector3.new(0,200,0)
  225.     for i = 1,180 do
  226.         wait()
  227.         plane.Rotation = plane.Rotation + Vector3.new(0,0,0.2)
  228.         plane.Position = plane.Position + Vector3.new(0,0,-4)
  229.     end
  230.     allahuakbar1:Play()
  231.     for i = 1,30 do
  232.         wait()
  233.         plane.Rotation = plane.Rotation + Vector3.new(0,0,0.2)
  234.         plane.Position = plane.Position + Vector3.new(0,0,-4)
  235.     end
  236.     allahuakbar3:destroy()
  237.     allahuakbar2:Play()
  238.     local bom = Instance.new("Explosion", plane)
  239.     bom.Position = plane.Position
  240.     bom.BlastRadius = 450
  241.     bom.BlastPressure = 30000
  242.     wait(1.5)
  243.     for i = 1,120 do
  244.         wait()
  245.         plane.Position = plane.Position + Vector3.new(0,-2,0)
  246.         plane.Rotation = plane.Rotation + Vector3.new(0,0,-0.2)
  247.     end
  248.     game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
  249.     game.Workspace.CurrentCamera.CameraType = "Custom"
  250.     wait()
  251.     allahuakbar2:Play()
  252.     local  bom = Instance.new("Explosion", plane)
  253.     bom.Position = plane.Position
  254.     bom.BlastRadius = 450
  255.     bom.BlastPressure = 200000
  256.     wait(2)
  257.     --ff:destroy()
  258.     wait(10)
  259.     tower:destroy()
  260.     plane:destroy()
  261.     crash = false
  262. end
  263. end
  264. end
  265. plr = game.Players.LocalPlayer
  266. rig = plr.Character.Torso
  267. char = plr.Character
  268. mouse = plr:GetMouse()
  269. wait(2)
  270. local rekt = false
  271. print(rig["Left Shoulder"].C0)
  272. sound2 = Instance.new("Sound", rig)
  273. sound2.SoundId = "rbxassetid://186311262"
  274. sound2.Volume = 10
  275. sound2.Looped = false
  276. sound3 = Instance.new("Sound", rig)
  277. sound3.SoundId = "rbxassetid://162194532"
  278. sound3.Volume = 10
  279. sound3.Looped = false
  280. sword = Instance.new("Part", char["Right Arm"])
  281. sword.Position = sword.Position + Vector3.new(0,10,0)
  282. sword.Size = Vector3.new(1, 11, 1)
  283. mesh = Instance.new("SpecialMesh", sword)
  284. mesh.MeshId = "http://www.roblox.com/asset/?id=12591873"
  285. mesh.TextureId = "http://www.roblox.com/asset/?id=12591860"
  286. weld = Instance.new("Weld", sword)
  287. weld.Part0 = char["Left Arm"]
  288. weld.Part1 = sword
  289. weld.C0 = weld.C0 * CFrame.Angles(0,3.3,-4.7) * CFrame.new(-1.1,0,2.1)
  290. sword.CanCollide = false
  291. mouse.KeyDown:connect(boom)
  292. wait(1)
  293. cut = false
  294. function headoff(machette)
  295.     if not cut then
  296.     cut = true
  297.     local Head = machette.Parent:FindFirstChild("Head")
  298.     print(Head)
  299.     local hum = machette.Parent:FindFirstChild("Humanoid")
  300.     hum.JumpPower = 0
  301.     hum.WalkSpeed = 0
  302.     char.Humanoid.WalkSpeed = 0
  303.     char.Humanoid.JumpPower = 0
  304.     for i = 1,7 do
  305.     wait()
  306.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.2)
  307.     end
  308.     wait(1)
  309.     for i = 1,7 do
  310.     wait()
  311.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.4)
  312.     end
  313.     sound2:Play()
  314.     local w3ld = Instance.new("Weld", sword)
  315.     w3ld.Part0 = Head
  316.     w3ld.Part1 = sword
  317.     wait()
  318.     for i = 1,7 do
  319.     wait()
  320.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.2)
  321.     end
  322.     char.Humanoid.WalkSpeed = 16
  323.     char.Humanoid.JumpPower = 50
  324.     wait(1)
  325.     hum:destroy()
  326.     wait(5)
  327.     w3ld:destroy()
  328.     wait(3)
  329.     cut = false
  330.     end
  331. end
  332. char["Left Arm"].Touched:connect(headoff)
  333. --[[
  334.     ROOTJOINT: 0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  335. --]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top