Advertisement
wamandnj

Untitled

Mar 4th, 2019
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303.  
  304.  
  305. plr = game.Players.LocalPlayer
  306. repeat
  307. wait(0.4)
  308. until plr.Character
  309. chr = plr.Character
  310. human = chr:FindFirstChild("Humanoid")
  311. mouse = plr:GetMouse()
  312. selected = false
  313. equipd = false
  314. tors = chr.Torso
  315. rarm = chr["Right Arm"]
  316. larm = chr["Left Arm"]
  317. rleg = chr["Right Leg"]
  318. lleg = chr["Left Leg"]
  319. hrp = chr.HumanoidRootPart
  320. head = chr.Head
  321. anim = human.Animator
  322. activu = false
  323. torrent = false
  324. boxingu = false
  325. Heartbeat = Instance.new("BindableEvent")
  326. Heartbeat.Name = "Heartbeat"
  327. Heartbeat.Parent = script
  328. frame = 0.03333333333333333
  329. tf = 0
  330. game:GetService("RunService").Heartbeat:connect(function(s, p)
  331. tf = tf + s
  332. if tf >= frame then
  333. for i = 1, math.floor(tf / frame) do
  334. Heartbeat:Fire()
  335. end
  336. tf = tf - frame * math.floor(tf / frame)
  337. end
  338. end)
  339. function swait(num)
  340. if num == 0 or num == nil then
  341. Heartbeat.Event:wait()
  342. else
  343. for i = 1, num do
  344. Heartbeat.Event:wait()
  345. end
  346. end
  347. end
  348. tool = Instance.new("Tool")
  349. tool.CanBeDropped = false
  350. tool.RequiresHandle = false
  351. tool.TextureId = "rbxassetid://37338767"
  352. tool.ToolTip = "hehe yea boi"
  353. tool.Name = "fir"
  354. tool.Parent = plr.Backpack
  355. modz = Instance.new("Model")
  356. modz.Name = "memes"
  357. modz.Parent = chr
  358. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  359. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  360. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  361. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  362. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  363. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  364. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  365. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  366. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  367. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  368. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  369. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  370. RS = tors:FindFirstChild("Right Shoulder")
  371. LS = tors:FindFirstChild("Left Shoulder")
  372. RH = tors:FindFirstChild("Right Hip")
  373. LH = tors:FindFirstChild("Left Hip")
  374. RJ = hrp:FindFirstChild("RootJoint")
  375. N = tors:FindFirstChild("Neck")
  376. cf = CFrame.new
  377. ang = CFrame.Angles
  378. rd = math.rad
  379. rd2 = math.random
  380. function nooutline(p)
  381. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  382. end
  383. function makepart(color, name, reflec, mater, parnt, cfram)
  384. local port = Instance.new("Part")
  385. port.BrickColor = BrickColor.new(color)
  386. port.Name = name
  387. port.Transparency = 1
  388. nooutline(port)
  389. port.Reflectance = reflec
  390. port.Material = mater
  391. port.Anchored = false
  392. port.CanCollide = false
  393. port.Locked = true
  394. port.Size = Vector3.new(0.2, 0.2, 0.2)
  395. port.Parent = parnt
  396. return port
  397. end
  398. function makemesh(meshtype, scale, meshid, parent)
  399. local mes = Instance.new("SpecialMesh")
  400. mes.MeshType = meshtype
  401. mes.Scale = scale
  402. if meshtype == "FileMesh" then
  403. mes.MeshId = meshid
  404. end
  405. mes.Parent = parent
  406. return mes
  407. end
  408. function makeweld(parent, p0, p1, c0, c1)
  409. local wel = Instance.new("Weld")
  410. wel.Part0 = p0
  411. wel.Part1 = p1
  412. wel.C0 = c0
  413. if c1 ~= nil then
  414. wel.C1 = c1
  415. end
  416. wel.Parent = parent
  417. return wel
  418. end
  419. function vidp(prnt)
  420. local s = Instance.new("ParticleEmitter")
  421. s.Enabled = false
  422. s.LockedToPart = true
  423. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  424. s.LightEmission = 0.6
  425. s.Size = NumberSequence.new({
  426. NumberSequenceKeypoint.new(0, 0.275, 0),
  427. NumberSequenceKeypoint.new(0.406, 0.762, 0),
  428. NumberSequenceKeypoint.new(0.433, 2.05, 0.75),
  429. NumberSequenceKeypoint.new(0.476, 0.625, 0),
  430. NumberSequenceKeypoint.new(1, 0.05, 0)
  431. })
  432. s.Texture = "rbxassetid://31270182"
  433. s.Transparency = NumberSequence.new({
  434. NumberSequenceKeypoint.new(0, 0.6, 0),
  435. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  436. NumberSequenceKeypoint.new(1, 1, 0)
  437. })
  438. s.Name = "vid"
  439. s.Lifetime = NumberRange.new(0.2)
  440. s.Rate = 25
  441. s.Speed = NumberRange.new(7, 10)
  442. s.VelocitySpread = 360
  443. s.Parent = prnt
  444. local s2 = Instance.new("ParticleEmitter")
  445. s2.Enabled = false
  446. s2.LockedToPart = false
  447. s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  448. s2.LightEmission = 0.6
  449. s2.Size = NumberSequence.new({
  450. NumberSequenceKeypoint.new(0, 0, 0),
  451. NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
  452. NumberSequenceKeypoint.new(1, 0, 0)
  453. })
  454. s2.Texture = "rbxassetid://31270182"
  455. s2.Transparency = NumberSequence.new({
  456. NumberSequenceKeypoint.new(0, 0.6, 0),
  457. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  458. NumberSequenceKeypoint.new(1, 1, 0)
  459. })
  460. s2.Name = "vid2"
  461. s2.Lifetime = NumberRange.new(0.5)
  462. s2.Rate = 150
  463. s2.Speed = NumberRange.new(2, 6)
  464. s2.VelocitySpread = 360
  465. s2.Parent = prnt
  466. end
  467. function glow(tz, paz, length)
  468. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  469. do
  470. local s = Instance.new("Sound")
  471. s.SoundId = "rbxassetid://221727606"
  472. s.Volume = 0.25
  473. s.Pitch = math.random(9, 11) / 10
  474. s.Parent = paz
  475. s:Play()
  476. local hmesh = Instance.new("SpecialMesh")
  477. hmesh.MeshType = "FileMesh"
  478. hmesh.MeshId = "NOSSIN"
  479. hmesh.Parent = paz.Parent
  480. paz.Transparency = 0.55
  481. paz.vid.Enabled = true
  482. paz.vid2.Enabled = true
  483. delay(length, function()
  484. paz.Transparency = 1
  485. paz.vid.Enabled = false
  486. paz.vid2.Enabled = false
  487. hmesh:Destroy()
  488. s:Destroy()
  489. end)
  490. end
  491. end
  492. end
  493. function makeglow()
  494. for _, p in pairs(chr:GetChildren()) do
  495. if p.ClassName == "Accessory" then
  496. do
  497. local h = p:FindFirstChildOfClass("Part")
  498. local nh = h:Clone()
  499. for _, n in ipairs(nh:GetChildren()) do
  500. if n.ClassName == "Attachment" or n.ClassName == "Motor6D" then
  501. n:Destroy()
  502. end
  503. end
  504. nooutline(nh)
  505. nh.Parent = nil
  506. nh.CFrame = h.CFrame
  507. nh.Transparency = 1
  508. nh.Name = "Glow"
  509. nh.Material = "Neon"
  510. nh.BrickColor = BrickColor.new("Teal")
  511. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  512. nh.CanCollide = false
  513. nh.Parent = h
  514. makeweld(nh, nh, h, cf(0, 0, 0))
  515. local m = nh:FindFirstChildOfClass("SpecialMesh")
  516. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  517. m.TextureId = ""
  518. vidp(nh)
  519. nh.Touched:connect(function(po)
  520. glow(po, nh, 0.8)
  521. end)
  522. end
  523. elseif p.ClassName == "Part" and p ~= hrp then
  524. do
  525. local n = p:Clone()
  526. for _, m in ipairs(n:GetChildren()) do
  527. if m.ClassName == "Attachment" or m.ClassName == "Motor6D" then
  528. m:Destroy()
  529. end
  530. end
  531. nooutline(n)
  532. n.Parent = nil
  533. n.Transparency = 1
  534. n.Material = "Neon"
  535. n.Name = "Glow"
  536. n.BrickColor = BrickColor.new("Teal")
  537. n.CFrame = p.CFrame
  538. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  539. n.CanCollide = false
  540. n.Parent = p
  541. makeweld(n, n, p, cf(0, 0, 0))
  542. vidp(n)
  543. n.Touched:connect(function(po)
  544. glow(po, n, 0.8)
  545. end)
  546. if n:FindFirstChildOfClass("Decal") then
  547. n:FindFirstChildOfClass("Decal"):Destroy()
  548. end
  549. if p:FindFirstChildOfClass("SpecialMesh") then
  550. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  551. c.Parent = nil
  552. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  553. c.Parent = n
  554. else
  555. local m = Instance.new("BlockMesh")
  556. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  557. if p == tors then
  558. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  559. end
  560. m.Parent = n
  561. end
  562. end
  563. end
  564. end
  565. end
  566. makeglow()
  567. function lerpz(joint, prop, cfrmz, alp)
  568. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  569. end
  570. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  571. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  572. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  573. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  574. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  575. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  576. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  577. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  578. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  579. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  580. function resetlerp()
  581. RJ.C0 = RJC0
  582. RJ.C1 = RJC1
  583. N.C0 = NC0
  584. N.C1 = NC1
  585. RS.C0 = RSC0
  586. RS.C1 = RSC1
  587. LS.C0 = LSC0
  588. LS.C1 = LSC1
  589. RH.C0 = RHC0
  590. RH.C1 = RHC1
  591. LH.C0 = LHC0
  592. end
  593. local ign = {chr}
  594. function proj(cframe)
  595. coroutine.resume(coroutine.create(function()
  596. local mis = Instance.new("Part")
  597. mis.Anchored = true
  598. mis.CanCollide = false
  599. mis.Size = Vector3.new(1, 1, 1)
  600. mis.Transparency = 1
  601. mis.Name = "pew"
  602. mis.CFrame = cframe
  603. mis.Parent = workspace
  604. local s = Instance.new("ParticleEmitter")
  605. s.Enabled = true
  606. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  607. s.LightEmission = 0.6
  608. s.Size = NumberSequence.new({
  609. NumberSequenceKeypoint.new(0, 0.4, 0),
  610. NumberSequenceKeypoint.new(0.0241, 0.0625, 0),
  611. NumberSequenceKeypoint.new(0.0299, 0.66, 0.22),
  612. NumberSequenceKeypoint.new(0.0344, 0.0225, 0),
  613. NumberSequenceKeypoint.new(1, 0, 0)
  614. })
  615. s.Texture = "rbxassetid://31270182"
  616. s.Transparency = NumberSequence.new({
  617. NumberSequenceKeypoint.new(0, 0.6, 0),
  618. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  619. NumberSequenceKeypoint.new(1, 1, 0)
  620. })
  621. s.Name = "vid"
  622. s.Lifetime = NumberRange.new(1)
  623. s.ZOffset = 0
  624. s.Rate = 3000
  625. s.Speed = NumberRange.new(25, 50)
  626. s.VelocitySpread = 20
  627. s.EmissionDirection = "Back"
  628. s.Parent = mis
  629. game.Debris:AddItem(mis, 10)
  630. table.insert(ign, mis)
  631. local wat = 0
  632. local derp = false
  633. local v = Instance.new("Sound")
  634. v.SoundId = "rbxassetid://221727606"
  635. v.Volume = 0.5
  636. v.Looped = true
  637. v.EmitterSize = 15
  638. v.MaxDistance = 40
  639. v.Pitch = math.random(12, 13) / 10
  640. v.Parent = mis
  641. v:Play()
  642. repeat
  643. swait()
  644. wat = wat + 1
  645. local ry = Ray.new(mis.Position, mis.CFrame.lookVector * 8)
  646. local prt, pos = workspace:FindPartOnRayWithIgnoreList(ry, ign, false, true)
  647. if prt and pos and 1 > prt.Transparency then
  648. derp = true
  649. mis.CFrame = CFrame.new(pos)
  650. v:Stop()
  651. s.Enabled = false
  652. s.Speed = NumberRange.new(15, 25)
  653. s.Lifetime = NumberRange.new(5)
  654. s.VelocitySpread = 360
  655. s:Emit(40)
  656. local n = Instance.new("Sound")
  657. n.Volume = 0.75
  658. n.Pitch = rd2(9, 11) / 10
  659. n.SoundId = "rbxassetid://184374162"
  660. n.Parent = mis
  661. n:Play()
  662. hito(mis, 300, 500000, 0.01)
  663. else
  664. mis.CFrame = mis.CFrame * CFrame.new(0, 0, -5)
  665. end
  666. until wat == 50 or derp == true
  667. if wat == 50 then
  668. mis:Destroy()
  669. end
  670. if derp == true then
  671. game.Debris:AddItem(mis, 1)
  672. end
  673. end))
  674. end
  675. function makesword(swocfrm, weldp1, cframe0)
  676. local ay = function(name, size, parnt, cfram)
  677. local port = Instance.new("Part")
  678. port.BrickColor = BrickColor.new("Teal")
  679. port.Name = name
  680. port.Transparency = 1
  681. nooutline(port)
  682. port.Material = "Neon"
  683. port.Anchored = false
  684. port.CanCollide = false
  685. port.Locked = true
  686. port.Size = size
  687. port.Parent = parnt
  688. return port
  689. end
  690. local swordmo = Instance.new("Model")
  691. swordmo.Name = "swod"
  692. swordmo.Parent = modz
  693. local booval = Instance.new("BoolValue")
  694. booval.Value = true
  695. booval.Name = "mememem"
  696. booval.Parent = swordmo
  697. local function pr(par, amt, sped)
  698. local s = Instance.new("ParticleEmitter")
  699. s.Enabled = false
  700. s.LockedToPart = true
  701. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  702. s.LightEmission = 0.6
  703. s.Size = NumberSequence.new({
  704. NumberSequenceKeypoint.new(0, 0.15, 0),
  705. NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
  706. NumberSequenceKeypoint.new(0.1, 0.15, 0),
  707. NumberSequenceKeypoint.new(0.8, 0.2, 0),
  708. NumberSequenceKeypoint.new(1, 0, 0)
  709. })
  710. s.Texture = "rbxassetid://31270182"
  711. s.Transparency = NumberSequence.new({
  712. NumberSequenceKeypoint.new(0, 0.7, 0),
  713. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  714. NumberSequenceKeypoint.new(1, 1, 0)
  715. })
  716. s.Name = "vid"
  717. s.Lifetime = NumberRange.new(0.75)
  718. s.Rate = 1
  719. s.Speed = sped
  720. s.VelocitySpread = 3
  721. s.Parent = par
  722. coroutine.resume(coroutine.create(function()
  723. while booval.Value do
  724. swait()
  725. s:Emit(amt)
  726. end
  727. end))
  728. return s
  729. end
  730. local ping = function(derp)
  731. local s3 = Instance.new("ParticleEmitter")
  732. s3.Enabled = false
  733. s3.LockedToPart = false
  734. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  735. s3.LightEmission = 0.6
  736. s3.Size = NumberSequence.new({
  737. NumberSequenceKeypoint.new(0, 0.35, 0),
  738. NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
  739. NumberSequenceKeypoint.new(0.4, 0.15, 0),
  740. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  741. NumberSequenceKeypoint.new(1, 0, 0)
  742. })
  743. s3.Texture = "rbxassetid://31270182"
  744. s3.Transparency = NumberSequence.new({
  745. NumberSequenceKeypoint.new(0, 0.4, 0),
  746. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  747. NumberSequenceKeypoint.new(1, 1, 0)
  748. })
  749. s3.Name = "vid3"
  750. s3.Lifetime = NumberRange.new(0.5)
  751. s3.Acceleration = Vector3.new(0, 5, 0)
  752. s3.Rate = 350
  753. s3.Speed = NumberRange.new(10, 15)
  754. s3.VelocitySpread = 360
  755. s3.Parent = derp
  756. swait()
  757. s3:Emit(120)
  758. end
  759. local b1 = ay("b1", Vector3.new(0.3, 2.5, 0.3), swordmo, swocfrm)
  760. local p1 = pr(b1, 5, NumberRange.new(0, 1))
  761. if weldp1 then
  762. local w1 = makeweld(b1, b1, weldp1, cframe0, nil)
  763. end
  764. local bla = Instance.new("Sound")
  765. bla.SoundId = "rbxassetid://168615093"
  766. bla.Volume = 1
  767. bla.Pitch = 1
  768. bla.Parent = b1
  769. bla:Play()
  770. local b2 = ay("b2", Vector3.new(0.6, 0.75, 0.4), swordmo, swocfrm)
  771. local p2 = pr(b2, 1, NumberRange.new(0, 1))
  772. local w2 = makeweld(b2, b2, b1, ang(rd(180), rd(0), rd(0)) * cf(0, 1.5, 0), nil)
  773. local b3 = ay("b3", Vector3.new(0.7, 0.75, 0.5), swordmo, swocfrm)
  774. local p3 = pr(b3, 1, NumberRange.new(0, 3))
  775. local w3 = makeweld(b3, b3, b1, ang(rd(180), rd(90), rd(0)) * cf(0, -1.5, 0), nil)
  776. local b4 = ay("b4", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
  777. local p4 = pr(b4, 1, NumberRange.new(1, 2))
  778. local w4 = makeweld(b4, b4, b3, cf(0, -0.5, 0) * ang(rd(70), rd(0), rd(0)), nil)
  779. local b5 = ay("b5", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
  780. local p5 = pr(b5, 1, NumberRange.new(1, 2))
  781. local w5 = makeweld(b5, b5, b3, cf(0, -0.5, 0) * ang(rd(290), rd(0), rd(0)), nil)
  782. local b6 = ay("b6", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
  783. local p6 = pr(b6, 1, NumberRange.new(1, 2))
  784. local w6 = makeweld(b6, b6, b3, cf(0, -0.25, 0) * ang(rd(35), rd(0), rd(0)), nil)
  785. local b7 = ay("b7", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
  786. local p7 = pr(b7, 1, NumberRange.new(1, 2))
  787. local w7 = makeweld(b7, b7, b3, cf(0, -0.25, 0) * ang(rd(325), rd(0), rd(0)), nil)
  788. local b8 = ay("b8", Vector3.new(0.5, 5.5, 0.2), swordmo, swocfrm)
  789. local p8 = pr(b8, 9, NumberRange.new(1, 3))
  790. local w8 = makeweld(b8, b8, b1, ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), nil)
  791. local anbo = Instance.new("Part")
  792. anbo.Anchored = true
  793. anbo.CanCollide = false
  794. anbo.Size = Vector3.new(2.5, 9, 1)
  795. anbo.CFrame = b8.CFrame * cf(0, -1.5, 0)
  796. anbo.Transparency = 1
  797. anbo.Parent = workspace
  798. game.Debris:AddItem(anbo, 2)
  799. ping(anbo)
  800. local whos = Instance.new("ParticleEmitter")
  801. whos.Enabled = false
  802. whos.LockedToPart = false
  803. whos.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  804. whos.LightEmission = 0.6
  805. whos.Size = NumberSequence.new({
  806. NumberSequenceKeypoint.new(0, 0.15, 0),
  807. NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
  808. NumberSequenceKeypoint.new(0.1, 0.15, 0),
  809. NumberSequenceKeypoint.new(0.8, 0.2, 0),
  810. NumberSequenceKeypoint.new(1, 0, 0)
  811. })
  812. whos.Texture = "rbxassetid://31270182"
  813. whos.Transparency = NumberSequence.new({
  814. NumberSequenceKeypoint.new(0, 0.7, 0),
  815. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  816. NumberSequenceKeypoint.new(1, 1, 0)
  817. })
  818. whos.Name = "whoos"
  819. whos.Lifetime = NumberRange.new(0.75)
  820. whos.Rate = 2000
  821. whos.Speed = NumberRange.new(0)
  822. whos.VelocityInheritance = 0.8
  823. whos.VelocitySpread = 3
  824. whos.Parent = b8
  825. return swordmo
  826. end
  827. function removesword(swordmodel)
  828. swordmodel.mememem.Value = false
  829. local hn = swordmodel.b1
  830. hn.Anchored = true
  831. if hn:FindFirstChildOfClass("Weld") then
  832. hn:FindFirstChildOfClass("Weld"):Destroy()
  833. end
  834. local bla = Instance.new("Sound")
  835. bla.SoundId = "rbxassetid://192783601"
  836. bla.Volume = 1.25
  837. bla.Pitch = math.random(9, 10) / 10
  838. bla.Parent = hn
  839. bla:Play()
  840. local ping = function(derp)
  841. local s3 = Instance.new("ParticleEmitter")
  842. s3.Enabled = false
  843. s3.LockedToPart = false
  844. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  845. s3.LightEmission = 0.6
  846. s3.Size = NumberSequence.new({
  847. NumberSequenceKeypoint.new(0, 0.35, 0),
  848. NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
  849. NumberSequenceKeypoint.new(0.4, 0.15, 0),
  850. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  851. NumberSequenceKeypoint.new(1, 0, 0)
  852. })
  853. s3.Texture = "rbxassetid://31270182"
  854. s3.Transparency = NumberSequence.new({
  855. NumberSequenceKeypoint.new(0, 0.4, 0),
  856. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  857. NumberSequenceKeypoint.new(1, 1, 0)
  858. })
  859. s3.Name = "vid3"
  860. s3.Lifetime = NumberRange.new(0.5)
  861. s3.Acceleration = Vector3.new(0, 5, 0)
  862. s3.Rate = 350
  863. s3.Speed = NumberRange.new(10, 15)
  864. s3.VelocitySpread = 360
  865. s3.Parent = derp
  866. swait()
  867. s3:Emit(180)
  868. end
  869. local anbo = Instance.new("Part")
  870. anbo.Anchored = true
  871. anbo.CanCollide = false
  872. anbo.Size = Vector3.new(2.5, 9, 1)
  873. anbo.CFrame = swordmodel.b8.CFrame * cf(0, -1.5, 0)
  874. anbo.Transparency = 1
  875. anbo.Parent = workspace
  876. game.Debris:AddItem(anbo, 2)
  877. ping(anbo)
  878. game.Debris:AddItem(swordmodel, 1.25)
  879. end
  880. function eswing()
  881. if activu == true or selected == false then
  882. return
  883. end
  884. activu = true
  885. local sw = makesword(hrp.CFrame, rarm, ang(rd(90), rd(0), rd(90)) * cf(0, 1, 0.5))
  886. animo(false)
  887. local hwel = sw.b1:FindFirstChildOfClass("Weld")
  888. local hwelc0 = hwel.C0
  889. local whoo = sw.b8:FindFirstChild("whoos")
  890. for _ = 1, 12 do
  891. swait()
  892. lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  893. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-6), rd(70)), 0.5)
  894. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.5)
  895. lerpz(RS, "C0", RSC0 * cf(0.3, 0.25, 0.55) * ang(rd(-30), rd(-70), rd(15)), 0.5)
  896. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(0)), 0.5)
  897. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(5), rd(10)), 0.5)
  898. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  899. lerpz(RH, "C0", RHC0 * cf(0.45, 0.05, -0.15) * ang(rd(-5), rd(60), rd(0)), 0.5)
  900. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  901. lerpz(LH, "C0", LHC0 * cf(0.45, 0.05, -0.35) * ang(rd(-5), rd(75), rd(0)), 0.5)
  902. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  903. hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.5)
  904. end
  905. for c = 1, 3 do
  906. swait()
  907. lerpz(RJ, "C0", RJC0 * cf(0, -0.25, 0) * ang(rd(0), rd(0), rd(10)), 0.1 + c / 5)
  908. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-10)), 0.1 + c / 5)
  909. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  910. lerpz(RS, "C0", RSC0 * cf(-0.2, 0.35, 0.9) * ang(rd(-20), rd(170), rd(15)), 0.1 + c / 5)
  911. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  912. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(5), rd(10)), 0.1 + c / 5)
  913. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  914. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(1)), 0.1 + c / 5)
  915. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  916. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.1 + c / 5)
  917. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  918. hwel.C0 = hwel.C0:lerp(cf(-0.15, 0.15, 0) * ang(rd(0), rd(0), rd(10)) * hwelc0, 0.1 + c / 5)
  919. end
  920. whoo.Enabled = true
  921. for _ = 1, 14 do
  922. swait()
  923. hito(sw.b8, 3, 35, 0.8)
  924. lerpz(RJ, "C0", RJC0 * cf(0, -0.75, 0) * ang(rd(0), rd(0), rd(60)), 0.6)
  925. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-40)), 0.6)
  926. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  927. lerpz(RS, "C0", RSC0 * cf(-0.1, 0.65, 0.9) * ang(rd(-15), rd(135), rd(-165)), 0.6)
  928. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  929. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-30), rd(5), rd(10)), 0.6)
  930. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  931. lerpz(RH, "C0", RHC0 * cf(-0.25, 0, 0) * ang(rd(-5), rd(-50), rd(1)), 0.6)
  932. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  933. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.6)
  934. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  935. hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.6)
  936. end
  937. whoo.Enabled = false
  938. removesword(sw)
  939. animo(true)
  940. for _ = 1, 10 do
  941. swait()
  942. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  943. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  944. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  945. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  946. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  947. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  948. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  949. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  950. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  951. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  952. end
  953. resetlerp()
  954. activu = false
  955. end
  956. function torentmod()
  957. if selected == false or activu == true then
  958. return
  959. end
  960. if torrent == false then
  961. torrent = true
  962. do
  963. local viarm = Instance.new("Part")
  964. nooutline(viarm)
  965. viarm.CanCollide = false
  966. viarm.Transparency = 1
  967. viarm.Name = "shootingu"
  968. viarm.Size = Vector3.new(1.25, 1, 1.25)
  969. viarm.CFrame = rarm.CFrame
  970. viarm.Parent = modz
  971. makeweld(viarm, viarm, rarm, cf(0, 1, 0))
  972. s = Instance.new("ParticleEmitter")
  973. s.Enabled = true
  974. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  975. s.LightEmission = 0.6
  976. s.Size = NumberSequence.new({
  977. NumberSequenceKeypoint.new(0, 0, 0),
  978. NumberSequenceKeypoint.new(0.0241, 0.0925, 0),
  979. NumberSequenceKeypoint.new(0.0299, 0.56, 0.25),
  980. NumberSequenceKeypoint.new(0.0344, 0.0925, 0),
  981. NumberSequenceKeypoint.new(1, 0, 0)
  982. })
  983. s.Texture = "rbxassetid://31270182"
  984. s.Transparency = NumberSequence.new({
  985. NumberSequenceKeypoint.new(0, 0.6, 0),
  986. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  987. NumberSequenceKeypoint.new(1, 1, 0)
  988. })
  989. s.Name = "vid"
  990. s.Acceleration = viarm.CFrame.upVector * 5
  991. s.Lifetime = NumberRange.new(1)
  992. s.ZOffset = 1
  993. s.Rate = 1250
  994. s.Speed = NumberRange.new(2, 3)
  995. s.VelocitySpread = 180
  996. s.Parent = viarm
  997. coroutine.resume(coroutine.create(function()
  998. while s do
  999. swait()
  1000. s.Acceleration = viarm.CFrame.upVector * 6
  1001. end
  1002. end))
  1003. coroutine.resume(coroutine.create(function()
  1004. while torrent == true do
  1005. swait()
  1006. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1007. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1008. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1009. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1010. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1011. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1012. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1013. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1014. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1015. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1016. end
  1017. end))
  1018. local shootinz = false
  1019. hd = tool.Activated:connect(function()
  1020. shootinz = true
  1021. repeat
  1022. swait(3)
  1023. lerpz(RS, "C0", RSC0 * cf(rd2(-3, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 105))), 0.8)
  1024. proj(CFrame.new(viarm.Position, mouse.Hit.p + Vector3.new(rd2(-1, 1), rd2(-1, 1), 0)))
  1025. local sd = Instance.new("Sound")
  1026. sd.Volume = 0.7
  1027. sd.Pitch = 1
  1028. sd.SoundId = "rbxassetid://168615093"
  1029. sd.Parent = viarm
  1030. local sd2 = sd:Clone()
  1031. sd2.SoundId = "rbxassetid://168615093"
  1032. sd2.Parent = viarm
  1033. sd:Play()
  1034. sd2:Play()
  1035. game.Debris:AddItem(sd, 1)
  1036. game.Debris:AddItem(sd2, 1)
  1037. until shootinz == false or torrent == false
  1038. end)
  1039. hu = tool.Deactivated:connect(function()
  1040. shootinz = false
  1041. end)
  1042. end
  1043. elseif torrent == true then
  1044. hd:Disconnect()
  1045. hu:Disconnect()
  1046. torrent = false
  1047. modz:FindFirstChild("shootingu"):FindFirstChild("vid").Enabled = false
  1048. for _ = 1, 10 do
  1049. swait()
  1050. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1051. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1052. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1053. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1054. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1055. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1056. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1057. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1058. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1059. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1060. end
  1061. resetlerp()
  1062. modz:FindFirstChild("shootingu"):Destroy()
  1063. end
  1064. end
  1065. function suprfast()
  1066. if selected == false or activu == true then
  1067. return
  1068. end
  1069. activu = true
  1070. human.WalkSpeed = human.WalkSpeed + 30
  1071. human.JumpPower = human.JumpPower + 45
  1072. for _, d in ipairs(chr:GetChildren()) do
  1073. if d.ClassName == "Accessory" then
  1074. swait()
  1075. glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 2)
  1076. coroutine.resume(coroutine.create(function()
  1077. local clones = {}
  1078. for i = 1, 5 do
  1079. local v = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"):Clone()
  1080. v.Name = "nyoo"
  1081. v.vid:Destroy()
  1082. v.vid2:Destroy()
  1083. v.AccessoryWeld:Destroy()
  1084. v.Weld:Destroy()
  1085. v.Transparency = 0.9
  1086. v.Anchored = true
  1087. v.Parent = modz
  1088. table.insert(clones, v)
  1089. end
  1090. num = 0
  1091. repeat
  1092. swait()
  1093. num = num % 5 + 1
  1094. clones[num].CFrame = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow").CFrame
  1095. until activu == false
  1096. for _, b in ipairs(clones) do
  1097. swait()
  1098. b:Destroy()
  1099. end
  1100. end))
  1101. elseif d.ClassName == "Part" and d ~= hrp then
  1102. swait()
  1103. glow(hrp, d:FindFirstChild("Glow"), 2)
  1104. coroutine.resume(coroutine.create(function()
  1105. local clones = {}
  1106. for i = 1, 5 do
  1107. local v = d:FindFirstChild("Glow"):Clone()
  1108. v.Name = "lel"
  1109. v.vid:Destroy()
  1110. v.vid2:Destroy()
  1111. v.Weld:Destroy()
  1112. v.Transparency = 0.9
  1113. v.Anchored = true
  1114. v.Parent = modz
  1115. table.insert(clones, v)
  1116. end
  1117. num = 0
  1118. repeat
  1119. swait()
  1120. num = num % 5 + 1
  1121. clones[num].CFrame = d:FindFirstChild("Glow").CFrame
  1122. until activu == false
  1123. for _, b in ipairs(clones) do
  1124. swait()
  1125. b:Destroy()
  1126. end
  1127. end))
  1128. end
  1129. end
  1130. wait(2)
  1131. activu = false
  1132. human.WalkSpeed = human.WalkSpeed - 30
  1133. human.JumpPower = human.JumpPower - 45
  1134. end
  1135. function fly()
  1136. if selected == false or activu == true or torrent == true then
  1137. return
  1138. end
  1139. local memedon = {}
  1140. activu = true
  1141. local emi = true
  1142. local mp = Instance.new("Part")
  1143. mp.Size = Vector3.new(0.2, 0.2, 0.2)
  1144. mp.CanCollide = false
  1145. mp.Transparency = 1
  1146. mp.Parent = modz
  1147. table.insert(memedon, mp)
  1148. makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil)
  1149. local function pr(par, amt)
  1150. local s = Instance.new("ParticleEmitter")
  1151. s.Enabled = false
  1152. s.LockedToPart = true
  1153. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1154. s.LightEmission = 0.6
  1155. s.Size = NumberSequence.new({
  1156. NumberSequenceKeypoint.new(0, 0.3, 0),
  1157. NumberSequenceKeypoint.new(0.8, 0.3, 0),
  1158. NumberSequenceKeypoint.new(1, 0, 0)
  1159. })
  1160. s.Texture = "rbxassetid://31270182"
  1161. s.Transparency = NumberSequence.new({
  1162. NumberSequenceKeypoint.new(0, 0.7, 0),
  1163. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  1164. NumberSequenceKeypoint.new(1, 1, 0)
  1165. })
  1166. s.Name = "vid"
  1167. s.Lifetime = NumberRange.new(0.75)
  1168. s.Rate = 1
  1169. s.Speed = NumberRange.new(10, 15)
  1170. s.VelocitySpread = 3
  1171. s.Parent = par
  1172. coroutine.resume(coroutine.create(function()
  1173. while emi do
  1174. swait()
  1175. s:Emit(amt)
  1176. end
  1177. end))
  1178. return s
  1179. end
  1180. for _, d in ipairs(chr:GetChildren()) do
  1181. if d.ClassName == "Accessory" then
  1182. glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5)
  1183. elseif d.ClassName == "Part" and d ~= hrp then
  1184. glow(hrp, d:FindFirstChild("Glow"), 1.5)
  1185. end
  1186. end
  1187. local f1 = makepart("Teal", "w1", 1, "Neon", modz, hrp.CFrame)
  1188. f1.Size = Vector3.new(0.4, 0.4, 0.4)
  1189. local p1 = pr(f1, 12)
  1190. p1.Acceleration = Vector3.new(-15, 0, 15)
  1191. local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil)
  1192. local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame)
  1193. f2.Size = Vector3.new(0.4, 0.4, 0.4)
  1194. local p2 = pr(f2, 12)
  1195. p2.Acceleration = Vector3.new(15, 0, 15)
  1196. local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil)
  1197. local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame)
  1198. f3.Size = Vector3.new(1.3, 0.6, 0.6)
  1199. p3 = pr(f3, 4)
  1200. p3.Speed = NumberRange.new(10, 12)
  1201. local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil)
  1202. local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame)
  1203. f4.Size = Vector3.new(1.3, 0.6, 0.6)
  1204. p4 = pr(f4, 4)
  1205. p4.Speed = NumberRange.new(10, 12)
  1206. local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil)
  1207. local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame)
  1208. f5.Size = Vector3.new(1.3, 0.6, 0.6)
  1209. p5 = pr(f5, 4)
  1210. p5.Speed = NumberRange.new(10, 12)
  1211. local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil)
  1212. local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame)
  1213. f6.Size = Vector3.new(1.3, 0.6, 0.6)
  1214. p6 = pr(f6, 4)
  1215. p6.Speed = NumberRange.new(10, 12)
  1216. local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil)
  1217. local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame)
  1218. f7.Size = Vector3.new(1.9, 0.6, 0.6)
  1219. p7 = pr(f7, 6)
  1220. p7.Speed = NumberRange.new(10, 12)
  1221. local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil)
  1222. local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame)
  1223. f8.Size = Vector3.new(1.9, 0.6, 0.6)
  1224. p8 = pr(f8, 6)
  1225. p8.Speed = NumberRange.new(10, 12)
  1226. local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil)
  1227. t1 = pr(f1, 2)
  1228. t1.LockedToPart = false
  1229. t2 = pr(f2, 2)
  1230. t2.LockedToPart = false
  1231. t3 = pr(f3, 2)
  1232. t3.LockedToPart = false
  1233. t4 = pr(f4, 2)
  1234. t4.LockedToPart = false
  1235. t5 = pr(f5, 2)
  1236. t5.LockedToPart = false
  1237. t6 = pr(f6, 2)
  1238. t6.LockedToPart = false
  1239. t7 = pr(f7, 2)
  1240. t7.LockedToPart = false
  1241. t8 = pr(f8, 2)
  1242. t8.LockedToPart = false
  1243. table.insert(memedon, f1)
  1244. table.insert(memedon, f2)
  1245. table.insert(memedon, f3)
  1246. table.insert(memedon, f4)
  1247. table.insert(memedon, f5)
  1248. table.insert(memedon, f6)
  1249. table.insert(memedon, f7)
  1250. table.insert(memedon, f8)
  1251. local sd = Instance.new("Sound")
  1252. sd.Volume = 1.5
  1253. sd.Pitch = 1
  1254. sd.SoundId = "rbxassetid://168615093"
  1255. sd.Parent = hrp
  1256. sd:Play()
  1257. game.Debris:AddItem(sd, 1)
  1258. human.PlatformStand = true
  1259. local bg = Instance.new("BodyGyro")
  1260. bg.MaxTorque = Vector3.new(15000, 15000, 15000)
  1261. bg.P = 2500
  1262. bg.D = 100
  1263. bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
  1264. bg.Parent = hrp
  1265. local bf = Instance.new("BodyVelocity")
  1266. bf.MaxForce = Vector3.new(15000, 15000, 15000)
  1267. bf.P = 2500
  1268. bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200
  1269. bf.Parent = hrp
  1270. for d = 1, 100 do
  1271. swait()
  1272. bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
  1273. bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2)
  1274. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4)
  1275. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4)
  1276. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1277. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1278. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1279. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1280. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1281. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1282. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1283. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1284. end
  1285. bf:Destroy()
  1286. bg:Destroy()
  1287. human.PlatformStand = false
  1288. emi = false
  1289. p1.LockedToPart = false
  1290. p2.LockedToPart = false
  1291. p3.LockedToPart = false
  1292. p4.LockedToPart = false
  1293. p5.LockedToPart = false
  1294. p6.LockedToPart = false
  1295. p7.LockedToPart = false
  1296. p8.LockedToPart = false
  1297. for _ = 1, 10 do
  1298. swait()
  1299. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1300. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1301. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1302. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1303. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1304. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1305. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1306. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1307. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1308. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1309. end
  1310. delay(0.5, function()
  1311. for _, l in ipairs(memedon) do
  1312. l:Destroy()
  1313. end
  1314. end)
  1315. resetlerp()
  1316. activu = false
  1317. end
  1318. function musiclel()
  1319. if selected == false or activu == true then
  1320. return
  1321. end
  1322. if boxingu == false then
  1323. boxingu = true
  1324. do
  1325. local watz = 1
  1326. local hmm = 1
  1327. local intens = 30
  1328. local deg = 20
  1329. local derp = makepart("Teal", "hurr", 0.25, "Neon", modz, hrp.CFrame)
  1330. derp.Locked = true
  1331. local s = Instance.new("ParticleEmitter")
  1332. s.Enabled = true
  1333. s.LockedToPart = true
  1334. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1335. s.LightEmission = 0.6
  1336. s.Size = NumberSequence.new({
  1337. NumberSequenceKeypoint.new(0, 0.275, 0),
  1338. NumberSequenceKeypoint.new(0.406, 0.762, 0),
  1339. NumberSequenceKeypoint.new(0.433, 1.5, 0.75),
  1340. NumberSequenceKeypoint.new(0.476, 0.625, 0),
  1341. NumberSequenceKeypoint.new(1, 0.05, 0)
  1342. })
  1343. s.Texture = "rbxassetid://31270182"
  1344. s.Transparency = NumberSequence.new({
  1345. NumberSequenceKeypoint.new(0, 0.6, 0),
  1346. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1347. NumberSequenceKeypoint.new(1, 1, 0)
  1348. })
  1349. s.Name = "vid"
  1350. s.Lifetime = NumberRange.new(0.2)
  1351. s.Rate = 75
  1352. s.Speed = NumberRange.new(7, 10)
  1353. s.VelocitySpread = 360
  1354. s.ZOffset = 1
  1355. s.Parent = derp
  1356. local s2 = Instance.new("ParticleEmitter")
  1357. s2.Enabled = true
  1358. s2.LockedToPart = false
  1359. s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1360. s2.LightEmission = 0.6
  1361. s2.Size = NumberSequence.new({
  1362. NumberSequenceKeypoint.new(0, 0, 0),
  1363. NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
  1364. NumberSequenceKeypoint.new(1, 0, 0)
  1365. })
  1366. s2.Texture = "rbxassetid://31270182"
  1367. s2.Transparency = NumberSequence.new({
  1368. NumberSequenceKeypoint.new(0, 0.6, 0),
  1369. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1370. NumberSequenceKeypoint.new(1, 1, 0)
  1371. })
  1372. s2.Name = "vid2"
  1373. s2.Lifetime = NumberRange.new(0.5)
  1374. s2.Rate = 350
  1375. s2.Speed = NumberRange.new(2, 6)
  1376. s2.VelocitySpread = 360
  1377. s2.ZOffset = 1
  1378. s2.Parent = derp
  1379. local s3 = Instance.new("ParticleEmitter")
  1380. s3.Enabled = false
  1381. s3.LockedToPart = false
  1382. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1383. s3.LightEmission = 0.6
  1384. s3.Size = NumberSequence.new({
  1385. NumberSequenceKeypoint.new(0, 0.45, 0),
  1386. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  1387. NumberSequenceKeypoint.new(1, 0, 0)
  1388. })
  1389. s3.Texture = "rbxassetid://31270182"
  1390. s3.Transparency = NumberSequence.new({
  1391. NumberSequenceKeypoint.new(0, 0.6, 0),
  1392. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1393. NumberSequenceKeypoint.new(1, 1, 0)
  1394. })
  1395. s3.Name = "vid3"
  1396. s3.Lifetime = NumberRange.new(0.5)
  1397. s3.Acceleration = Vector3.new(0, 30, 0)
  1398. s3.Rate = 350
  1399. s3.Speed = NumberRange.new(20, 30)
  1400. s3.VelocitySpread = 360
  1401. s3.Parent = derp
  1402. derp.Anchored = true
  1403. derp.Transparency = 0.5
  1404. derp.Size = Vector3.new(3, 2, 2)
  1405. derp.CFrame = hrp.CFrame
  1406. local lol = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://151760030", derp)
  1407. local sound = Instance.new("Sound")
  1408. sound.Name = "moose"
  1409. sound.Volume = 1
  1410. sound.EmitterSize = 40
  1411. sound.MaxDistance = 40
  1412. sound.Looped = true
  1413. sound.Parent = derp
  1414. coroutine.resume(coroutine.create(function()
  1415. local hey = false
  1416. while derp do
  1417. swait()
  1418. watz = watz + hmm
  1419. derp.CFrame = derp.CFrame:lerp(hrp.CFrame * cf(-1.5, 3, 2.5) * ang(0, 0, rd(deg * math.cos(watz / intens))), 0.4)
  1420. derp.Size = derp.Size:lerp(Vector3.new(3 * (1 + sound.PlaybackLoudness / 500), 2 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 1000)), 0.7)
  1421. lol.Scale = lol.Scale:lerp(Vector3.new(1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500)), 0.7)
  1422. if hey == false and (3 < lol.Scale).magnitude then
  1423. hey = true
  1424. s3:Emit(20)
  1425. delay(0.25, function()
  1426. hey = false
  1427. end)
  1428. end
  1429. end
  1430. end))
  1431. local sg = Instance.new("ScreenGui")
  1432. sg.Name = "simpleflips"
  1433. sg.Parent = plr.PlayerGui
  1434. local fr = Instance.new("Frame")
  1435. fr.AnchorPoint = Vector2.new(1, 0.5)
  1436. fr.BackgroundColor3 = Color3.new(0.09411764705882353, 0.9568627450980393, 1)
  1437. fr.BorderSizePixel = 2
  1438. fr.Position = UDim2.new(0.975, 0, 0.5, 0)
  1439. fr.Size = UDim2.new(0, 200, 0, 100)
  1440. fr.Parent = sg
  1441. local mbox = Instance.new("TextBox")
  1442. mbox.AnchorPoint = Vector2.new(0.5, 0.5)
  1443. mbox.BackgroundColor3 = Color3.new(0.45098039215686275, 0.7803921568627451, 1)
  1444. mbox.BorderSizePixel = 2
  1445. mbox.Position = UDim2.new(0.5, 0, 0.25, 0)
  1446. mbox.Size = UDim2.new(0, 150, 0, 40)
  1447. mbox.Font = "SourceSansBold"
  1448. mbox.FontSize = "Size24"
  1449. mbox.Text = "insert ur dank memes here (sound ids)"
  1450. mbox.TextWrapped = true
  1451. mbox.Parent = fr
  1452. local pley = Instance.new("TextButton")
  1453. pley.AnchorPoint = Vector2.new(0.5, 0.5)
  1454. pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784)
  1455. pley.BorderSizePixel = 2
  1456. pley.Position = UDim2.new(0.25, 0, 0.75, 0)
  1457. pley.Size = UDim2.new(0, 75, 0, 35)
  1458. pley.Font = "SourceSansBold"
  1459. pley.FontSize = "Size18"
  1460. pley.Text = "pleh"
  1461. pley.Parent = fr
  1462. local stap = Instance.new("TextButton")
  1463. stap.AnchorPoint = Vector2.new(0.5, 0.5)
  1464. stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941)
  1465. stap.BorderSizePixel = 2
  1466. stap.Position = UDim2.new(0.75, 0, 0.75, 0)
  1467. stap.Size = UDim2.new(0, 75, 0, 35)
  1468. stap.Font = "SourceSansBold"
  1469. stap.FontSize = "Size18"
  1470. stap.Text = "stopp"
  1471. stap.Parent = fr
  1472. pl = pley.MouseButton1Click:connect(function()
  1473. sound.SoundId = "rbxassetid://" .. mbox.Text
  1474. sound:Play()
  1475. end)
  1476. st = stap.MouseButton1Click:connect(function()
  1477. sound:Stop()
  1478. end)
  1479. end
  1480. elseif boxingu == true then
  1481. activu = true
  1482. boxingu = false
  1483. local derp = modz:FindFirstChild("hurr")
  1484. local s3 = derp:FindFirstChild("vid3")
  1485. local s1 = derp:FindFirstChild("vid")
  1486. local s2 = derp:FindFirstChild("vid2")
  1487. local sound = derp:FindFirstChild("moose")
  1488. local sg = plr.PlayerGui:FindFirstChild("simpleflips")
  1489. pl:Disconnect()
  1490. st:Disconnect()
  1491. s3:Emit(40)
  1492. s1.Enabled = false
  1493. s2.Enabled = false
  1494. sound:Stop()
  1495. sg:Destroy()
  1496. derp.Transparency = 1
  1497. local poo = Instance.new("Sound")
  1498. poo.SoundId = "rbxassetid://168615093"
  1499. poo.Volume = 1.25
  1500. poo.TimePosition = 0
  1501. poo.Parent = derp
  1502. poo:Play()
  1503. wait(0.75)
  1504. derp:Destroy()
  1505. activu = false
  1506. end
  1507. end
  1508. function hito(partoz, magn, dmg, debtim)
  1509. for _, guy in pairs(workspace:GetChildren()) do
  1510. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  1511. do
  1512. local humz = guy:FindFirstChild("Humanoid")
  1513. local hed = guy:FindFirstChild("Head")
  1514. humz:TakeDamage(dmg)
  1515. local db = Instance.new("StringValue")
  1516. db.Name = "alabo"
  1517. db.Parent = hed
  1518. delay(debtim, function()
  1519. db:Destroy()
  1520. end)
  1521. end
  1522. end
  1523. end
  1524. end
  1525. function animo(yep)
  1526. if yep == true then
  1527. anim.Parent = human
  1528. chr.Animate.Disabled = false
  1529. elseif yep == false then
  1530. chr.Animate.Disabled = true
  1531. anim.Parent = nil
  1532. end
  1533. end
  1534. mouse.KeyDown:connect(function(key)
  1535. if key == "f" then
  1536. suprfast()
  1537. end
  1538. if key == "q" then
  1539. torentmod()
  1540. end
  1541. if key == "c" then
  1542. fly()
  1543. end
  1544. if key == "e" then
  1545. eswing()
  1546. end
  1547. if key == "m" then
  1548. musiclel()
  1549. end
  1550. end)
  1551. tool.Equipped:connect(function()
  1552. selected = true
  1553. end)
  1554. tool.Unequipped:connect(function()
  1555. selected = false
  1556. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement