Advertisement
SCR1PT_ED1T0R

FE Holy God Wrench

Nov 2nd, 2018
3,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");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("running the script noob")
  141.  
  142. script.Parent = workspace.CurrentCamera
  143. local plr = game:GetService("Players").LocalPlayer
  144.  
  145. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  146. tool.Grip = CFrame.new(0,-0.8,-0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  147. tool.Name = "bluE"
  148.  
  149. local part = Instance.new("Part",tool)
  150. part.Name = "Handle"
  151. part.Size = Vector3.new(4,6,4)
  152. part.TopSurface = "Smooth"
  153. part.BottomSurface = "Smooth"
  154. part.CanCollide = false
  155. part:BreakJoints()
  156.  
  157. local mesh = Instance.new("SpecialMesh",part)
  158. mesh.MeshId = "rbxassetid://431003868" --mesh.MeshId = "rbxassetid://132920499"
  159. mesh.TextureId = "rbxassetid://430627740" --"http://www.roblox.com/asset/?id=134479421"
  160. mesh.Scale = Vector3.new(2,2,2)
  161.  
  162. local sound = Instance.new("Sound",part)
  163. sound.SoundId = "rbxassetid://511340819"
  164. sound.Volume = 3
  165.  
  166. local sound2 = Instance.new("Sound",part)
  167. sound2.SoundId = "rbxassetid://280667448"
  168. sound2.Volume = 5
  169.  
  170. local sound3 = Instance.new("Sound",part)
  171. sound3.SoundId = "rbxassetid://139100774"
  172. sound3.Volume = 10
  173.  
  174. local sound4 = Instance.new("Sound",part)
  175. sound4.SoundId = "rbxassetid://258057783"
  176. sound4.Volume = 10
  177.  
  178. local sound5 = Instance.new("Sound",part)
  179. sound5.SoundId = "rbxassetid://130932305"
  180. sound5.Volume = 10
  181.  
  182. local sound6 = Instance.new("Sound",part)
  183. sound6.SoundId = "rbxassetid://906084456"
  184. sound6.Volume = 10
  185. sound6.TimePosition = 2
  186.  
  187. function firstHum(target)
  188. for i,v in pairs(target:GetChildren()) do
  189. if v:IsA("Humanoid") then
  190. return v
  191. end
  192. end
  193. return nil
  194. end
  195.  
  196. local slap = false
  197. local cd = false
  198.  
  199. plr:GetMouse().Button1Down:connect(function()
  200. if tool.Parent == plr.Character then
  201. if slap == false then
  202. slap = true
  203. sound2:Play()
  204. local str = Instance.new("StringValue")
  205. str.Name = "toolanim"
  206. str.Value = "Slash"
  207. str.Parent = tool
  208. wait(1)
  209. slap = false
  210. end
  211. end
  212. end)
  213.  
  214. part.Touched:connect(function(hit)
  215. if slap == true then
  216. if cd == false then
  217. if not hit:IsDescendantOf(plr.Character) then
  218. if hit.Parent:IsA("Model") then
  219. local fhum = firstHum(hit.Parent)
  220. if fhum then
  221. cd = true
  222. fhum.PlatformStand = true
  223. sound:Play()
  224. local con1
  225. con1 = game:GetService("RunService").Heartbeat:connect(function()
  226. fhum.PlatformStand = true
  227. end)
  228. wait(0.1)
  229. local vel = Instance.new("BodyVelocity",hit)
  230. vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  231. vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  232. wait(1)
  233. cd = false
  234. vel:Destroy()
  235. local vel2 = Instance.new("BodyVelocity",hit)
  236. vel2.Velocity = Vector3.new(0,12.5,0)
  237. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  238. local p2 = Instance.new("Part",hit)
  239. p2.Anchored = true
  240. p2.Transparency = 0.6
  241. p2.CanCollide = false
  242. p2.Size = Vector3.new(0.2,0.2,0.2)
  243. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  244. p2.BrickColor = BrickColor.new("New Yeller")
  245. p2.Material = "Neon"
  246. local m2 = Instance.new("CylinderMesh",p2)
  247. m2.Scale = Vector3.new(60,10000,60)
  248. local scln = sound3:Clone()
  249. scln.Parent = hit
  250. scln:Play()
  251. local con2
  252. con2 = game:GetService("RunService").Heartbeat:connect(function()
  253. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  254. end)
  255. wait(7)
  256. vel2.Velocity = Vector3.new(0,0,0)
  257. wait(0.5)
  258. scln:Stop()
  259. local scln3 = sound5:Clone()
  260. scln3.Parent = hit
  261. scln3:Play()
  262. wait(1)
  263. local bav = Instance.new("BodyAngularVelocity",hit)
  264. bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  265. vel2.Velocity = Vector3.new(0,-250,0)
  266. p2.BrickColor = BrickColor.new("Really red")
  267. local scln6 = sound6:Clone()
  268. scln6.Parent = hit
  269. scln6:Play()
  270. local continue = false
  271. local htc
  272. htc = hit.Touched:connect(function(hitp)
  273. if not hitp:IsDescendantOf(hit.Parent) then
  274. continue = true
  275. scln6:Stop()
  276. vel2:Destroy()
  277. con2:Disconnect()
  278. con1:Disconnect()
  279. htc:Disconnect()
  280. p2:Destroy()
  281. end
  282. end)
  283. repeat wait() until continue == true
  284. local ctab = {}
  285. for i=1,4 do
  286. local p = Instance.new("Part",hit)
  287. p.Size = Vector3.new(30,30,30)
  288. p.Anchored = true
  289. p.CanCollide = false
  290. p.TopSurface = "Smooth"
  291. p.BottomSurface = "Smooth"
  292. p.Color = Color3.fromRGB(255,math.random(0,255),0)
  293. p.CFrame = hit.CFrame
  294. local con
  295. con = game:GetService("RunService").Heartbeat:connect(function()
  296. p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  297. p.Transparency = p.Transparency + 0.01
  298. if p.Transparency >= 1 then
  299. con:Disconnect()
  300. end
  301. end)
  302. table.insert(ctab,con)
  303. end
  304. Instance.new("Explosion",workspace).Position = hit.Position
  305. local scln2 = sound4:Clone()
  306. scln2.Parent = hit
  307. scln2:Play()
  308. vel2:Destroy()
  309. hit.Parent:BreakJoints()
  310. repeat wait() until not hit:IsDescendantOf(workspace)
  311. con2:Disconnect()
  312. end
  313. end
  314. end
  315. end
  316. end
  317. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement