Advertisement
wamandnj

Untitled

Feb 28th, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.94 KB | None | 0 0
  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. local WrapMaterial="SmoothPlastic"
  305. local WrapColor=BrickColor.new("Brown")
  306. local BladeMaterial='Neon'
  307. local HandleMaterial='Neon'
  308. local LightColor=BrickColor.new("Cyan")
  309. local HandleColor=BrickColor.new("Really black")
  310. local BladeColor=BrickColor.new("Institutional white")
  311. local BladeRefl=.3
  312. local AttackOrbColor=BrickColor.new("White")
  313. local HealOrbColor=BrickColor.new("New Yeller")
  314.  
  315. local plr = game.Players.LocalPlayer
  316. local char = plr.Character
  317. local maus = plr:GetMouse()
  318. local PGui=plr.PlayerGui
  319. local lleg = char["Left Leg"]
  320. local rleg = char["Right Leg"]
  321. local larm = char["Left Arm"]
  322. local rarm = char["Right Arm"]
  323. local hed = char.Head
  324. local rutprt = char.HumanoidRootPart
  325. local torso = char.Torso
  326. local otheranims=false
  327. local armmovement=false
  328. char.Animate.Disabled=true
  329. local sitting=false
  330. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  331. local hitdb=false
  332. local Swing='Swing1'
  333. local RunSpeed=36
  334. local WlkSpeed=18
  335. local DashSpeed=18
  336. local SneakSpeed=10
  337. local runnin=false
  338. local disabled=false
  339. local tik=0
  340. local spinvalue=0
  341. local death=Instance.new('Sound',rutprt)
  342. death.Pitch=1
  343. death.Volume=.5
  344. death.SoundId='http://www.roblox.com/asset?id=170399891'
  345. char.Humanoid.Died:connect(function()
  346. death:play''
  347. end)
  348. local trailing=false
  349. local shootdb=false
  350. local idlesineinc=35
  351. local sneaking=false
  352. coroutine.wrap(function()
  353. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  354. function Lerp(a, b, i)
  355. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  356. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  357. local calx = com1[1] + (com2[1] - com1[1]) * i
  358. local caly = com1[2] + (com2[2] - com1[2]) * i
  359. local calz = com1[3] + (com2[3] - com1[3]) * i
  360. local cala = com1[4] + (com2[4] - com1[4]) * i
  361. local calb = com1[5] + (com2[5] - com1[5]) * i
  362. local calc = com1[6] + (com2[6] - com1[6]) * i
  363. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  364. end
  365. function TwnSingleNumber(s,f,m)
  366. local wot=s+(f-s)*m
  367. return wot
  368. end
  369. function TwnVector3(q,w,e)
  370. local begin={q.x,q.y,q.z}
  371. local ending={w.x,w.y,w.z}
  372. local bgx=begin[1]+(ending[1]-begin[1])*e
  373. local bgy=begin[2]+(ending[2]-begin[2])*e
  374. local bgz=begin[3]+(ending[3]-begin[3])*e
  375. return Vector3.new(bgx,bgy,bgz)
  376. end
  377. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  378. wld = Instance.new("Weld", wp1)
  379. wld.Part0 = wp0
  380. wld.Part1 = wp1
  381. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  382. end
  383. function Avg(a, b)
  384. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  385. end
  386. local jump=Instance.new('Sound',rutprt)
  387. jump.Volume=.2
  388. jump.Pitch=1
  389. jump.SoundId='http://www.roblox.com/asset?id=170588191'
  390. newWeld(law, torso, larm, -1.5, 0.5, 0)
  391. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  392. newWeld(llw, torso, lleg, -.5, -2, 0)
  393. newWeld(rlw, torso, rleg, .5, -2, 0)
  394. newWeld(hw, torso, hed, 0, 1.5, 0)
  395. local rutwald=Instance.new('Weld',rutprt)
  396. rutwald.Part0=rutprt
  397. rutwald.Part1=torso
  398. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  399. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  400. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  401. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  402. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  403. local anim = "Idling"
  404. local lastanim = "Idling"
  405. local val = 0
  406. local syne = 0
  407. local num = 0
  408. local runtime = 0
  409. local TrailModel=Instance.new("Model",char)
  410. TrailModel.Name="Trails"
  411. local Sword=Instance.new('Model',char)
  412. Sword.Name='BlackIronBroadSword'
  413. local obj1=Instance.new('Part',Sword)
  414. obj1.Name='Handle'
  415. obj1.formFactor='Custom'
  416. obj1.Size=Vector3.new(.0,0,0)
  417. obj1.BrickColor=HandleColor
  418. obj1.Material=HandleMaterial
  419. obj1.CanCollide=false
  420. obj1.TopSurface=10
  421. obj1.BottomSurface=10
  422. obj1.LeftSurface=10
  423. obj1.RightSurface=10
  424. obj1.FrontSurface=10
  425. obj1.BackSurface=10
  426. obj1:breakJoints()
  427. local objm1=Instance.new('CylinderMesh',obj1)
  428. local objw1=Instance.new('Weld',obj1)
  429. objw1.Part0=obj1
  430. objw1.Part1=torso
  431. objw1.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  432. obj1.Transparency = 1
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453. local asd=Instance.new("PointLight",hed)
  454. asd.Brightness=123
  455. asd.Shadows=false
  456. asd.Range=3
  457. asd.Color=BrickColor.new("Really black").Color
  458.  
  459. local footstep=Instance.new('Sound',rutprt)
  460. footstep.Pitch=1.235
  461. footstep.Volume=.02
  462. footstep.SoundId='http://www.roblox.com/asset?id=154162195'
  463.  
  464. local slide=Instance.new('Sound',rutprt)
  465. slide.Pitch=.675
  466. slide.Volume=.075
  467. slide.SoundId='http://www.roblox.com/asset?id=179650551'
  468.  
  469. maus.Button1Down:connect(function()
  470. if equipped and not otheranims and not sitting and not armmovement then
  471. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 then
  472. otheranims=true
  473. anim="DashSwing"
  474. local dashvelocity=Instance.new("BodyVelocity",rutprt)
  475. dashvelocity.maxForce=Vector3.new(1/0,1/0,1/0)
  476. dashvelocity.Name="DashAttackVelocity"
  477. dashvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*(RunSpeed*1.5)+Vector3.new(0,2.5,0)
  478. local dashrotvelo=Instance.new("BodyAngularVelocity",rutprt)
  479. dashrotvelo.Name="DashAttackRotVelocity"
  480. dashrotvelo.maxTorque=Vector3.new(0,math.huge,0)
  481. dashrotvelo.angularvelocity=Vector3.new(0,40,0)
  482. game:service'Debris':AddItem(dashvelocity,.5)
  483. game:service'Debris':AddItem(dashrotvelo,.5)
  484. for asdasd=1,5 do
  485. dashvelocity.velocity=dashvelocity.velocity-((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed*.3
  486. dashrotvelo.angularvelocity=dashrotvelo.angularvelocity-Vector3.new(0,8,0)
  487. wait(.085)
  488. end
  489. otheranims=false
  490. else
  491. trailing=true
  492. armmovement=true
  493. swing.Pitch=math.random(85,100)*.01
  494. if Swing=='Swing1' then
  495. armanim='Swing1P1'
  496. wait(.35)
  497. swing:play''
  498. damaging=true
  499. armanim='Swing1P2'
  500. wait(.45)
  501. Swing='Swing2'
  502.  
  503. elseif Swing=='Swing2' then
  504. armanim='Swing2P1'
  505. wait(.35)
  506. swing:play''
  507. damaging=true
  508. armanim='Swing2P2'
  509. wait(.45)
  510. Swing='Swing3'
  511.  
  512. elseif Swing=='Swing3' then
  513. armanim='Swing3P1'
  514. wait(.35)
  515. swing:play''
  516. damaging=true
  517. armanim='Swing3P2'
  518. wait(.45)
  519. Swing='Swing1'
  520. end
  521. trailing=false
  522. armmovement=false
  523. damaging=false
  524. end
  525. end
  526. end)
  527.  
  528. -------------------------------------------------------
  529.  
  530. function CreateSound(ID, PARENT, VOLUME, PITCH)
  531. local NSound = nil
  532. coroutine.resume(coroutine.create(function()
  533. NSound = Instance.new("Sound", PARENT)
  534. NSound.Volume = VOLUME
  535. NSound.Pitch = PITCH
  536. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  537. swait()
  538. NSound:play()
  539. game:GetService("Debris"):AddItem(NSound, 10)
  540. end))
  541. return NSound
  542. end
  543.  
  544. -------------------------------------------------------
  545. -----------------------sprint--------------------------------
  546. -------------------------------------------------------
  547. --Start Music Option--
  548. -------------------------------------------------------
  549. local Music = Instance.new("Sound",torso)
  550. Music.Volume = 2.5
  551. Music.SoundId = "rbxassetid://493537242"
  552. Music.Looped = true
  553. Music.Pitch = 1 --Pitcher
  554. Music:Play()
  555. -------------------------------------------------------
  556. --End Music Option--
  557. -------------------------------------------------------
  558. local mouse = game.Players.LocalPlayer:GetMouse()
  559. local running = false
  560.  
  561. function getTool()
  562. for _, kid in ipairs(script.Parent:GetChildren()) do
  563. if kid.className == "Tool" then return kid end
  564. end
  565. return nil
  566. end
  567.  
  568.  
  569. mouse.KeyDown:connect(function (key) -- Run function
  570. key = string.lower(key)
  571. if string.byte(key) == 48 then
  572. running = true
  573. local keyConnection = mouse.KeyUp:connect(function (key)
  574. if string.byte(key) == 48 then
  575. running = false
  576. end
  577. end)
  578. for i = 1,5 do
  579. game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
  580. wait()
  581. end
  582. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150
  583. repeat wait () until running == false
  584. keyConnection:disconnect()
  585. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  586. for i = 1,5 do
  587. game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
  588. wait()
  589. end
  590. end
  591. end)
  592.  
  593. -------------Head---------------------------------
  594. char:FindFirstChildOfClass'Humanoid'.JumpPower = 65
  595.  
  596. Head = Instance.new("Part", char)
  597. Head.Size = Vector3.new(1,1,1)
  598. Headmesh = Instance.new("SpecialMesh", Head)
  599. Headmesh.MeshId = "rbxassetid://430064078"
  600. Headmesh.Scale = Vector3.new(.55,.55,.55)
  601. Headmesh.TextureId = "rbxassetid://430064079"
  602. Head.Transparency = 0
  603. Head.CanCollide = false
  604. Head.Name = "plrHead"
  605. Head.Anchored = false
  606. Head.BrickColor = BrickColor.new("Really black")
  607. Weld = Instance.new("Weld", char)
  608. Weld.Part0 = char["Head"]
  609. Weld.Part1 = Head
  610. Weld.C1 = CFrame.new(0, -.3, -.4)*CFrame.Angles(0,(0),0)
  611. ------------Shoe---------------------------------
  612. char:FindFirstChildOfClass'Humanoid'.JumpPower = 65
  613.  
  614. lshoe = Instance.new("Part", char)
  615. lshoe.Size = Vector3.new(1,1,1)
  616. lshoemesh = Instance.new("SpecialMesh", lshoe)
  617. lshoemesh.MeshId = "rbxassetid://108884514"
  618. lshoemesh.Scale = Vector3.new(.94,1,.8)
  619. lshoemesh.TextureId = "rbxassetid://126203964"
  620. lshoe.Transparency = 0
  621. lshoe.CanCollide = false
  622. lshoe.Name = "plrlshoe"
  623. lshoe.Anchored = false
  624. lshoe.BrickColor = BrickColor.new("Really black")
  625. Weld = Instance.new("Weld", char)
  626. Weld.Part0 = char["Left Leg"]
  627. Weld.Part1 = lshoe
  628. Weld.C1 = CFrame.new(0, .5, .2)*CFrame.Angles(0,(0),0)
  629. ------------Shoe---------------------------------
  630. char:FindFirstChildOfClass'Humanoid'.JumpPower = 65
  631.  
  632. rshoe = Instance.new("Part", char)
  633. rshoe.Size = Vector3.new(1,1,1)
  634. rshoemesh = Instance.new("SpecialMesh", rshoe)
  635. rshoemesh.MeshId = "rbxassetid://108884514"
  636. rshoemesh.Scale = Vector3.new(.94,1,.8)
  637. rshoemesh.TextureId = "rbxassetid://126203964"
  638. rshoe.Transparency = 0
  639. rshoe.CanCollide = false
  640. rshoe.Name = "plrshoe"
  641. rshoe.Anchored = false
  642. rshoe.BrickColor = BrickColor.new("Really black")
  643. Weld = Instance.new("Weld", char)
  644. Weld.Part0 = char["Right Leg"]
  645. Weld.Part1 = rshoe
  646. Weld.C1 = CFrame.new(0, .5, .2)*CFrame.Angles(0,(0),0)
  647. --------------rFist---------------------------------
  648. --
  649. --char:FindFirstChildOfClass'Humanoid'.JumpPower = 65
  650. --
  651. --rRing = Instance.new("Part", char)
  652. --rRing.Size = Vector3.new(.1,.1,.1)
  653. --rRingmesh = Instance.new("SpecialMesh", rRing)
  654. --rRingmesh.MeshId = "rbxassetid://539775492"
  655. --rRingmesh.Scale = Vector3.new(.03,.03,.03)
  656. --rRingmesh.TextureId = "rbxassetid://539775494"
  657. --rRing.Transparency = 0
  658. --rRing.CanCollide = false
  659. --rRing.Name = "plrRing"
  660. --rRing.Anchored = false
  661. --rRing.BrickColor = BrickColor.new("Really black")
  662. --Weld = Instance.new("Weld", char)
  663. --Weld.Part0 = char["Right Arm"]
  664. --Weld.Part1 = rRing
  665. --Weld.C1 = CFrame.new(.8, .2, 0)*CFrame.Angles(3.15,0,-8)
  666. --------------lFist---------------------------------
  667. --
  668. --char:FindFirstChildOfClass'Humanoid'.JumpPower = 65
  669. --
  670. --rRing = Instance.new("Part", char)
  671. --rRing.Size = Vector3.new(.1,.1,.1)
  672. --rRingmesh = Instance.new("SpecialMesh", rRing)
  673. --rRingmesh.MeshId = "rbxassetid://539776108"
  674. --rRingmesh.Scale = Vector3.new(.03,.03,.03)
  675. --rRingmesh.TextureId = "rbxassetid://539776112"
  676. --rRing.Transparency = 0
  677. --rRing.CanCollide = false
  678. --rRing.Name = "plrRing"
  679. --rRing.Anchored = false
  680. --rRing.BrickColor = BrickColor.new("Really black")
  681. --Weld = Instance.new("Weld", char)
  682. --Weld.Part0 = char["Left Arm"]
  683. --Weld.Part1 = rRing
  684. --Weld.C1 = CFrame.new(-.8, .2, 0)*CFrame.Angles(3.15,0,8)
  685. -----------------------tail----------------------
  686. tail = Instance.new("Part", char)
  687. tail.Size = Vector3.new(.5,.5,.5)
  688. tailmesh = Instance.new("SpecialMesh", tail)
  689. tailmesh.MeshId = "rbxassetid://249768539"
  690. tailmesh.Scale = Vector3.new(.5,.5,.8)
  691. tailmesh.TextureId = "rbxassetid://448552687"
  692. tail.Transparency = 0
  693. tail.CanCollide = false
  694. tail.Name = "plrtail"
  695. tail.Anchored = false
  696. tail.BrickColor = BrickColor.new("Really black")
  697. Weld = Instance.new("Weld", char)
  698. Weld.Part0 = char["Torso"]
  699. Weld.Part1 = tail
  700. Weld.C1 = CFrame.new(0, -.8, .7)*CFrame.Angles(5,0,3.1)
  701. for _, a in pairs(char:children()) do
  702. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  703. a:Destroy()
  704. end
  705. end
  706. local s = Instance.new('Shirt', char)
  707. s.ShirtTemplate = "rbxassetid://1126067970"
  708. local p = Instance.new('Pants', char)
  709. p.PantsTemplate = "rbxassetid://782593541"
  710.  
  711. Instance.new("ForceField",char).Visible = false
  712. local poo = Instance.new("IntValue",char)
  713. poo.Name = "haha nope"
  714. char.Humanoid.MaxHealth = math.huge
  715. wait()
  716. char.Humanoid.Health = math.huge
  717. Instance.new("ForceField",char).Visible = false
  718. --------------------Dash-----------------------
  719. player = game.Players.LocalPlayer
  720. mouse = player:GetMouse()
  721. START=tick()
  722. TIME=5
  723. END=START+TIME
  724. walk=16
  725. mouse.KeyDown:connect(function(key)
  726. if key == "q" then
  727. local Must = Instance.new("Sound",torso)
  728. Must.SoundId = "rbxassetid://273734478"
  729. Must.Pitch = 0.99
  730. Must.Volume = 3.4
  731. Must.Looped = false
  732. wait(0)
  733. Must:Play()
  734.  
  735. local pie222 = Instance.new('ParticleEmitter')
  736. pie222.Parent = rutprt
  737. pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  738. pie222.LightEmission = 1
  739. pie222.Size = NumberSequence.new(6,1)
  740. pie222.Texture = "http://www.roblox.com/asset/?id=74697410"
  741. pie222.Transparency = NumberSequence.new(0.3,1)
  742. pie222.EmissionDirection = "Top"
  743. pie222.Enabled = true
  744. pie222.Lifetime = NumberRange.new(1)
  745. pie222.Rotation = NumberRange.new(-320, 320)
  746. pie222.Rate = 300
  747. pie222.Speed = NumberRange.new(0)
  748. pie222.LockedToPart = false
  749. pie222.VelocitySpread = 2
  750. player.Character.Humanoid.WalkSpeed=400
  751. wait(7)
  752. pie222:Destroy()
  753. player.Character.Humanoid.WalkSpeed=18
  754.  
  755.  
  756.  
  757. end
  758. end)
  759. ---------------------------------------
  760. --------------------------------------
  761. plr=game:service'Players'.LocalPlayer
  762. chr=plr.Character
  763. local ms = plr:GetMouse()
  764. CV="Bright red"
  765.  
  766. local txt = Instance.new("BillboardGui", chr)
  767. txt.Adornee = chr.Head
  768. txt.Name = "_status"
  769. txt.Size = UDim2.new(4, 0, 2.5, 0)
  770. txt.StudsOffset = Vector3.new(-4, 2, 0)
  771. local text = Instance.new("TextLabel", txt)
  772. text.Size = UDim2.new(3, 0, 0.5, 0)
  773. text.FontSize = "Size24"
  774. text.TextScaled = true
  775. text.TextTransparency = 0
  776. text.BackgroundTransparency = 1
  777. text.TextTransparency = 0
  778. text.TextStrokeTransparency = 0
  779. text.Font = "SciFi"
  780. text.TextStrokeColor3 = Color3.new(0,0,128)
  781. text.Text = "WIP Sonic"
  782. --------------------------------------
  783. plr=game:service'Players'.LocalPlayer
  784. chr=plr.Character
  785. local ms = plr:GetMouse()
  786. CV="Bright red"
  787.  
  788. local txt = Instance.new("BillboardGui", chr)
  789. txt.Adornee = chr.Head
  790. txt.Name = "_status"
  791. txt.Size = UDim2.new(4, 0, 2.5, 0)
  792. txt.StudsOffset = Vector3.new(-4, 1.5, 0)
  793. local text = Instance.new("TextLabel", txt)
  794. text.Size = UDim2.new(3, 0, 0.5, 0)
  795. text.FontSize = "Size24"
  796. text.TextScaled = false
  797. text.TextTransparency = 0
  798. text.BackgroundTransparency = 1
  799. text.TextTransparency = 0
  800. text.TextStrokeTransparency = 0
  801. text.Font = "SciFi"
  802. text.TextStrokeColor3 = Color3.new(128,0,0)
  803. text.Text = "help me."
  804. ------------------------------------------------------------
  805.  
  806. plr.Chatted:connect(function(m)
  807. if m:lower():sub(1,3)=='/e ' then m=m:sub(4)
  808. if m:lower():sub(1,5)=='dance' and not otheranims and surfing then
  809. dnc=true
  810. anim='Dance'
  811. end
  812. end
  813. end)
  814.  
  815. maus.KeyDown:connect(function(kei)
  816. if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
  817. char.Humanoid.WalkSpeed=RunSpeed
  818. end
  819. if kei=="v" and not otheranims and not sneaking and not sitting and not flying and not armmovement and not disabled and not lit then
  820. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 then
  821. otheranims=true
  822. anim="Sliding"
  823. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  824. tempvelocity.Name="TemporaryVelocity"
  825. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  826. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  827. coroutine.resume(coroutine.create(function()
  828. local totesvelocity=RunSpeed
  829. repeat
  830. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  831. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  832. totesvelocity=totesvelocity-(.5*(RunSpeed/100))
  833. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  834. end
  835. wait''
  836. until tempvelocity.Parent==nil
  837. end))
  838. coroutine.resume(coroutine.create(function()
  839. repeat slide:play'' wait'1.35' until tempvelocity.Parent~=rutprt end))
  840. coroutine.resume(coroutine.create(function()
  841. repeat
  842. local rei=Ray.new(rleg.CFrame.p,((rleg.CFrame*CFrame.new(0,1.25,0)).p-rleg.CFrame.p).unit*-2)
  843. local parthit,point=Workspace:FindPartOnRay(rei)
  844. if parthit and point and parthit.CanCollide then
  845. local asdf=Instance.new('Part',Sword)
  846. asdf.CanCollide=false
  847. asdf.Anchored=true
  848. asdf.Name="Smokin' hawt"
  849. asdf.formFactor='Custom'
  850. asdf.Size=Vector3.new(.5,.5,.5)
  851. asdf.BrickColor=parthit.BrickColor
  852. asdf.CFrame=rleg.CFrame*CFrame.new(0,-.9,0)
  853. asdf.TopSurface=10
  854. asdf.Material='Neon'
  855. asdf.BottomSurface=10
  856. asdf.LeftSurface=10
  857. asdf.RightSurface=10
  858. asdf.FrontSurface=10
  859. asdf.BackSurface=10
  860. game:service'Debris':AddItem(asdf,1.5)
  861. local asdfg=Instance.new("SpecialMesh",asdf)
  862. asdfg.MeshType="Sphere"
  863. coroutine.wrap(function()
  864. for jkl=1,4,.15 do asdfg.Scale=Vector3.new(jkl,jkl,jkl) asdf.Transparency=asdf.Transparency+.05 asdf.CFrame=asdf.CFrame+Vector3.new(0,.05,0) wait'' end
  865. end)()
  866. end
  867. wait''
  868. until tempvelocity.Parent==nil
  869. end))
  870. end
  871. end
  872. if kei=='c' and not otheranims and not sitting and not flying and not lit and not disabled then
  873. if sneaking then
  874. sneaking=false
  875. char.Humanoid.WalkSpeed=WlkSpeed
  876. elseif not sneaking then
  877. char.Humanoid.WalkSpeed=SneakSpeed
  878. sneaking=true
  879. anim='Pre-Sneak'
  880. wait(.5)
  881. anim='Sneaking'
  882. end
  883. end
  884. if kei=='g' then
  885. if not armmovement and not otheranims and equipped and not sitting and not flying and not sneaking then
  886. trailing=false
  887. lit=true armmovement=true armanim='Glowing'
  888. light=Instance.new('Part',Sword)
  889. light.Name='LightOrbASD'
  890. light.formFactor='Custom'
  891. light.Size=Vector3.new(.6,.6,.6)
  892. light.BrickColor=LightColor
  893. light.Material="Neon"
  894. light.Transparency=.6
  895. light.CanCollide=false
  896. light.TopSurface=10
  897. light.BottomSurface=10
  898. light.LeftSurface=10
  899. light.RightSurface=10
  900. light.FrontSurface=10
  901. light.BackSurface=10
  902. light.Locked=true
  903. light:breakJoints()
  904. local lightm=Instance.new('SpecialMesh',light)
  905. lightm.MeshType='Sphere'
  906. lightw=Instance.new('Weld',light)
  907. lightw.Part0=light
  908. lightw.Part1=obj1
  909. lightw.C0=CFrame.new(0,5.5,0)*CFrame.Angles(0,0,0)
  910. lgt=Instance.new('PointLight',light)
  911. lgt.Brightness=123123
  912. lgt.Color=light.BrickColor.Color
  913. lgt.Shadows=true
  914. lgt.Range=0
  915. light2=Instance.new('Part',light)
  916. light2.Name='LightOrbASD2'
  917. light2.formFactor='Custom'
  918. light2.Size=Vector3.new(.25,.25,.25)
  919. light2.BrickColor=LightColor
  920. light2.Material="Neon"
  921. light2.CanCollide=false
  922. light2.TopSurface=10
  923. light2.BottomSurface=10
  924. light2.LeftSurface=10
  925. light2.RightSurface=10
  926. light2.FrontSurface=10
  927. light2.BackSurface=10
  928. light2.Locked=true
  929. light2:breakJoints()
  930. local lightm2=Instance.new('SpecialMesh',light2)
  931. lightm2.MeshType='Sphere'
  932. lightw2=Instance.new('Weld',light2)
  933. lightw2.Part0=light2
  934. lightw2.Part1=light
  935. lightw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  936. end end
  937. if kei=='e' and not otheranims and not armmovement and not disabled and not lit and not sneaking then
  938. otheranims=true
  939. anim="PreSuperJump"
  940. char.Humanoid.WalkSpeed=0
  941. wait''
  942. local rang=Instance.new('Part',TrailModel)
  943. rang.formFactor='Custom'
  944. rang.Transparency=1
  945. rang.BrickColor=BrickColor.new("Institutional white")
  946. rang.Size=Vector3.new(10,10,10)
  947. rang.Name='rang'
  948. rang.Material="Neon"
  949. rang.TopSurface=10
  950. rang.BottomSurface=10
  951. rang.Locked=true
  952. rang.FrontSurface=10
  953. rang.LeftSurface=10
  954. rang.RightSurface=10
  955. rang.BackSurface=10
  956. rang.CanCollide=false
  957. rang.Anchored=true
  958. rang.CFrame=rutprt.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0)
  959. local rmsh=Instance.new('SpecialMesh',rang)
  960. rmsh.MeshId="http://www.roblox.com/asset/?id=3270017"
  961. rmsh.Scale=Vector3.new(2,2,1.5)
  962. game:service'Debris':AddItem(rang,.8)
  963. coroutine.wrap(function()
  964. for asdd=10,0,-.4 do
  965. rang.CFrame=rutprt.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(90),0,0)
  966. rmsh.Scale=Vector3.new(asdd,asdd,1.5)
  967. rang.Transparency=rang.Transparency-.05 wait'0'
  968. end
  969. end)()
  970. wait'.8'
  971. char.Humanoid.WalkSpeed=WlkSpeed
  972. char.Humanoid.Jump=true
  973. anim="SuperJump"
  974. local aasdd=Instance.new("BodyVelocity",rutprt)
  975. aasdd.maxForce=Vector3.new(0,1/0,0)
  976. aasdd.velocity=Vector3.new(0,111,0)
  977. game:service'Debris':AddItem(aasdd,.175)
  978. wait(.5)
  979. otheranims=false
  980. end
  981. if kei=='w' then fldb.w=true end
  982. if kei=='a' then fldb.a=true end
  983. if kei=='s' then fldb.s=true end
  984. if kei=='d' then fldb.d=true end
  985. if kei=='x' and not otheranims and not armmovement and equipped and not disabled and not lit and not sneaking then
  986. if not sitting then
  987. char.Humanoid.WalkSpeed=0
  988. sitting=true
  989. anim='Sitting'
  990. elseif sitting then
  991. char.Humanoid.WalkSpeed=WlkSpeed
  992. sitting=false
  993. end
  994. end
  995. if kei=='m' then
  996. if not armmovement and not otheranims and not sitting and not tpdb and not flying and not disabled and not sneaking then
  997. tpdb=true
  998. local ray=Ray.new(rutprt.CFrame.p,((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*30)
  999. local p,b=workspace:FindPartOnRay(ray,char)
  1000. if p and p.CanCollide then
  1001. rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-((rutprt.CFrame.p-b).magnitude))
  1002. else
  1003. rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-30)
  1004. end
  1005. wait(0)
  1006. tpdb=false
  1007. end
  1008. end
  1009. if kei=="f" and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking and not disabled and not flying then
  1010. otheranims=true
  1011. trailing=true
  1012. anim="SpinAttack"
  1013. local spinvelocity=Instance.new("BodyAngularVelocity",rutprt)
  1014. spinvelocity.Name="SpinAttackVelocity"
  1015. spinvelocity.maxTorque=Vector3.new(0,math.huge,0)
  1016. end
  1017. if kei=='r' and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking then
  1018. trailing=false
  1019. runnin=false
  1020. armmovement=true
  1021. disabled=true
  1022. armanim='Healing'
  1023. char.Humanoid.WalkSpeed=0
  1024. heal=Instance.new('Part',TrailModel)
  1025. heal.Name='healOrbASD'
  1026. heal.formFactor='Custom'
  1027. heal.Size=Vector3.new(.85,.85,.85)
  1028. heal.BrickColor=HealOrbColor
  1029. heal.Transparency=.6
  1030. heal.Material="Neon"
  1031. heal.Reflectance=.5
  1032. heal.CanCollide=false
  1033. heal.TopSurface=10
  1034. heal.BottomSurface=10
  1035. heal.LeftSurface=10
  1036. heal.RightSurface=10
  1037. heal.FrontSurface=10
  1038. heal.BackSurface=10
  1039. heal.Locked=true
  1040. heal:breakJoints()
  1041. local healm=Instance.new('SpecialMesh',heal)
  1042. healm.MeshType='Sphere'
  1043. healw=Instance.new('Weld',heal)
  1044. healw.Part0=heal
  1045. healw.Part1=torso
  1046. healw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1047. local asd=Instance.new('PointLight',heal)
  1048. asd.Brightness=123123
  1049. asd.Color=heal.BrickColor.Color
  1050. asd.Shadows=true
  1051. asd.Range=8
  1052. local heal2=Instance.new('Part',heal)
  1053. heal2.Name='healOrbASD2'
  1054. heal2.formFactor='Custom'
  1055. heal2.Size=Vector3.new(.4,.4,.4)
  1056. heal2.BrickColor=HealOrbColor
  1057. heal2.Material="Neon"
  1058. heal2.CanCollide=false
  1059. heal2.Reflectance=.5
  1060. heal2.TopSurface=10
  1061. heal2.BottomSurface=10
  1062. heal2.LeftSurface=10
  1063. heal2.RightSurface=10
  1064. heal2.FrontSurface=10
  1065. heal2.BackSurface=10
  1066. heal2.Locked=true
  1067. heal2:breakJoints()
  1068. local healm2=Instance.new('SpecialMesh',heal2)
  1069. healm2.MeshType='Sphere'
  1070. healw2=Instance.new('Weld',heal2)
  1071. healw2.Part0=heal2
  1072. healw2.Part1=heal
  1073. healw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1074. other=Instance.new('Part',TrailModel)
  1075. other.Name='otherOrbASD'
  1076. other.formFactor='Custom'
  1077. other.Size=Vector3.new(.85,.85,.85)
  1078. other.BrickColor=HealOrbColor
  1079. other.Material="Neon"
  1080. other.Transparency=.6
  1081. other.Reflectance=.5
  1082. other.CanCollide=false
  1083. other.TopSurface=10
  1084. other.BottomSurface=10
  1085. other.LeftSurface=10
  1086. other.RightSurface=10
  1087. other.FrontSurface=10
  1088. other.BackSurface=10
  1089. other.Locked=true
  1090. other:breakJoints()
  1091. local otherm=Instance.new('SpecialMesh',other)
  1092. otherm.MeshType='Sphere'
  1093. otherw=Instance.new('Weld',other)
  1094. otherw.Part0=other
  1095. otherw.Part1=torso
  1096. otherw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1097. local asd2=Instance.new('PointLight',other)
  1098. asd2.Brightness=123123
  1099. asd2.Color=other.BrickColor.Color
  1100. asd2.Shadows=true
  1101. asd2.Range=8
  1102. local other2=Instance.new('Part',other)
  1103. other2.Name='otherOrbASD2'
  1104. other2.formFactor='Custom'
  1105. other2.Size=Vector3.new(.4,.4,.4)
  1106. other2.BrickColor=HealOrbColor
  1107. other2.CanCollide=false
  1108. other2.Material="Neon"
  1109. other2.Reflectance=.5
  1110. other2.TopSurface=10
  1111. other2.BottomSurface=10
  1112. other2.LeftSurface=10
  1113. other2.RightSurface=10
  1114. other2.FrontSurface=10
  1115. other2.BackSurface=10
  1116. other2.Locked=true
  1117. other2:breakJoints()
  1118. local otherm2=Instance.new('SpecialMesh',other2)
  1119. otherm2.MeshType='Sphere'
  1120. otherw2=Instance.new('Weld',other2)
  1121. otherw2.Part0=other2
  1122. otherw2.Part1=other
  1123. otherw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1124. end
  1125.  
  1126. if kei=='z' and not armmovement and not otheranims and not disabled and not sitting and not lit and not shootdb and not sneaking then
  1127. armmovement=true
  1128. shootdb=true
  1129. armanim='Swing2P1'
  1130. wait(.25)
  1131. trailing=true
  1132. armanim='Swing2P2'
  1133. wait()
  1134. local blast=Instance.new('Part',TrailModel)
  1135. blast.Name='BlastOrb'
  1136. blast.formFactor='Custom'
  1137. blast.Size=Vector3.new(2,2,2)
  1138. blast.BrickColor=AttackOrbColor
  1139. blast.Transparency=.6
  1140. blast.CanCollide=false
  1141. blast.Material="Neon"
  1142. blast.TopSurface=10
  1143. blast.BottomSurface=10
  1144. blast.LeftSurface=10
  1145. blast.RightSurface=10
  1146. blast.FrontSurface=10
  1147. blast.BackSurface=10
  1148. blast.Locked=true
  1149. blast:breakJoints()
  1150. blast.CFrame=obj1.CFrame*CFrame.new(0,-6,0)
  1151. local whizz=Instance.new('Sound',blast)
  1152. whizz.Volume=.25
  1153. whizz.Pitch=2
  1154. whizz.Looped=true
  1155. whizz.SoundId='http://www.roblox.com/asset?id=133116870'
  1156. whizz:play''
  1157. local blastm=Instance.new('SpecialMesh',blast)
  1158. blastm.MeshType='Sphere'
  1159. local blastlt2=Instance.new('PointLight',blast)
  1160. blastlt2.Brightness=123123
  1161. blastlt2.Color=blast.BrickColor.Color
  1162. blastlt2.Shadows=true
  1163. blastlt2.Range=10
  1164. local blast2=Instance.new('Part',blast)
  1165. blast2.Name='BlastOrb'
  1166. blast2.formFactor='Custom'
  1167. blast2.Size=Vector3.new(1.25,1.25,1.25)
  1168. blast2.BrickColor=AttackOrbColor
  1169. blast2.Transparency=0
  1170. blast2.CanCollide=false
  1171. blast2.Anchored=true
  1172. blast2.Material="Neon"
  1173. blast2.TopSurface=10
  1174. blast2.BottomSurface=10
  1175. blast2.LeftSurface=10
  1176. blast2.RightSurface=10
  1177. blast2.FrontSurface=10
  1178. blast2.BackSurface=10
  1179. blast2.Locked=true
  1180. blast2:breakJoints()
  1181. local blastm2=Instance.new('SpecialMesh',blast2)
  1182. blastm2.MeshType='Sphere'
  1183. local blvel=Instance.new('BodyVelocity',blast)
  1184. blvel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1185. blvel.velocity=Vector3.new(math.cos(syne)/5,0,math.sin(syne)/5)+(((obj1.CFrame*CFrame.new(0,-6,0)).p-(maus.Hit.p+Vector3.new(0,.5,0))).unit*-80)
  1186. game:service'Debris':AddItem(blast,30)
  1187. game:service'Debris':AddItem(blast2,30)
  1188. blast.Touched:connect(function(hit)
  1189. coroutine.wrap(function()
  1190. if hit then
  1191. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  1192. local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
  1193. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=char then
  1194. hyoom.Health=hyoom.Health-(.8*(hyoom.MaxHealth/100))
  1195. end
  1196. end
  1197. end)()
  1198. end)
  1199. coroutine.resume(coroutine.create(function()
  1200. armmovement=false
  1201. trailing=false
  1202. wait(25)
  1203. shootdb=false
  1204. end))
  1205. coroutine.resume(coroutine.create(function()
  1206. repeat
  1207. blast2.CFrame=blast.CFrame
  1208. local pos1=blast.CFrame
  1209. wait(-1)
  1210. local pos2=blast.CFrame
  1211. blast2.CFrame=blast.CFrame
  1212. local dees=(pos1.p-pos2.p).magnitude
  1213. local treel=Instance.new('Part',TrailModel)
  1214. treel.Name='treelOrbASD'
  1215. treel.formFactor='Custom'
  1216. treel.Size=Vector3.new(.5,dees,.5)
  1217. treel.BrickColor=AttackOrbColor
  1218. treel.Anchored=true
  1219. treel.Transparency=0
  1220. treel.Material="Neon"
  1221. treel.CanCollide=false
  1222. treel.TopSurface=10
  1223. treel.BottomSurface=10
  1224. treel.LeftSurface=10
  1225. treel.RightSurface=10
  1226. treel.FrontSurface=10
  1227. treel.BackSurface=10
  1228. treel.Locked=true
  1229. treel:breakJoints()
  1230. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1231. blvel.velocity=(((blast.CFrame).p-(maus.Hit.p)).unit*-80)
  1232. local asdf=Instance.new('PointLight',treel)
  1233. asdf.Color=treel.BrickColor.Color
  1234. asdf.Range=6
  1235. asdf.Shadows=true
  1236. asdf.Brightness=123123
  1237. local treelm=Instance.new('CylinderMesh',treel)
  1238. game:service'Debris':AddItem(treel,.6)
  1239. coroutine.wrap(function()
  1240. wait()
  1241. for asd=1.05,-0,-.075 do treelm.Scale=Vector3.new(asd,1,asd) wait(-1)
  1242. end
  1243. end)()
  1244. until not blast
  1245. end))
  1246. end
  1247. end)
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268. maus.KeyUp:connect(function(kei)
  1269. if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
  1270. char.Humanoid.WalkSpeed=WlkSpeed
  1271. end
  1272. if kei=='w' then fldb.w=false end
  1273. if kei=='a' then fldb.a=false end
  1274. if kei=='s' then fldb.s=false end
  1275. if kei=='d' then fldb.d=false end
  1276. if kei=='g' and lit then
  1277. lit=false armmovement=false
  1278. if Sword:findFirstChild('LightOrbASD') then Sword.LightOrbASD:Destroy() end
  1279. end
  1280. if kei=="f" and otheranims and rutprt:findFirstChild("SpinAttackVelocity") then
  1281. otheranims=false
  1282. trailing=false
  1283. if rutprt:findFirstChild("SpinAttackVelocity") then rutprt.SpinAttackVelocity:Destroy'' end end
  1284. if kei=='r' and not lit and not otheranims and disabled and armmovement and not sneaking then
  1285. disabled=false armmovement=false char.Humanoid.WalkSpeed=WlkSpeed
  1286. if TrailModel:findFirstChild('healOrbASD') then TrailModel.healOrbASD:Destroy() end
  1287. if TrailModel:findFirstChild('otherOrbASD') then TrailModel.otherOrbASD:Destroy() end
  1288. end
  1289. if kei=="v" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  1290. otheranims=false
  1291. rutprt["TemporaryVelocity"]:destroy''
  1292. end
  1293. end)
  1294.  
  1295.  
  1296.  
  1297.  
  1298. local currenthealth=char.Humanoid.Health
  1299.  
  1300. char.Humanoid.Changed:connect(function(ch)
  1301. if ch=='Jump' then
  1302. if sitting then
  1303. char.Humanoid.Jump=false
  1304. end
  1305. if sneaking then
  1306. sneaking=false
  1307. end
  1308. end
  1309. hp=char.Humanoid.Health
  1310. if hp<currenthealth and currenthealth>2 then
  1311. local damagetaken=currenthealth-hp
  1312. char.Humanoid.Health=currenthealth-damagetaken*.5
  1313. currenthealth=char.Humanoid.Health
  1314. end
  1315. if ch=="PlatformStand" then
  1316. char.Humanoid.PlatformStand=false
  1317. end
  1318. end)
  1319.  
  1320. char.Humanoid.Jumping:connect(function()
  1321. jump:Play()
  1322. end)
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328. game:service'RunService'.RenderStepped:connect(function()
  1329. if rutprt:findFirstChild("SpinAttackVelocity") then
  1330. rutprt.SpinAttackVelocity.angularvelocity=TwnVector3(rutprt.SpinAttackVelocity.angularvelocity,Vector3.new(0,35,0),.01)
  1331. end
  1332. if sneaking and not runnin then
  1333. footstep.Volume=.05
  1334. footstep.Pitch=1
  1335. elseif not sneaking and not runnin then
  1336. footstep.Volume=.055
  1337. footstep.Pitch=1.235
  1338. elseif not sneaking and runnin then
  1339. footstep.Volume=.06
  1340. footstep.Pitch=1.235
  1341. end
  1342. if anim~=lastanim then
  1343. runtime=0
  1344. end
  1345. lastanim=anim
  1346. char.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1347. syne=syne+.95
  1348. if not otheranims and not sitting and not sneaking then
  1349. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not char.Humanoid.Jump then
  1350. anim="Idling"
  1351.  
  1352. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not char.Humanoid.Jump then
  1353. anim="Walking"
  1354.  
  1355. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not char.Humanoid.Jump then
  1356. anim="Sprinting"
  1357.  
  1358. elseif torso.Velocity.y>5 and char.Humanoid.Jump then
  1359. anim='Jumping'
  1360.  
  1361. elseif (torso.Velocity.y < -5) and char.Humanoid.Jump then
  1362. anim='Falling'
  1363.  
  1364. end
  1365. end
  1366.  
  1367. if sneaking then
  1368. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 and anim~='Pre-Sneak' then
  1369. anim="SneakIdle"
  1370.  
  1371. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  1372. anim="SneakWalk"
  1373. end
  1374. end
  1375.  
  1376. if anim=="Idling" then
  1377. if lastanim=='Sprinting' then
  1378. idlesineinc=20
  1379. else
  1380. idlesineinc=35
  1381. end
  1382. if not armmovement and not equipped then
  1383. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
  1384. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  1385. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(0,math.rad(0),-(math.cos(syne/idlesineinc)/25)+math.rad(37.5)),.1)
  1386. trailing=false
  1387. elseif equipped and not armmovement then
  1388. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.1)*CFrame.Angles(math.rad(50),0,math.rad(-5)),.1)
  1389. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  1390. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
  1391. trailing=false
  1392. end
  1393. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1394. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1395. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1396. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1397. end
  1398.  
  1399. if anim=="Walking" then
  1400. tik=tik+1
  1401. if tik==18 then
  1402. footstep:play''
  1403. elseif tik>=36 then tik=0
  1404. footstep:play''
  1405. end
  1406. if not armmovement and not equipped then
  1407. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  1408. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1409. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5)),.1)
  1410. trailing=false
  1411. elseif equipped and not armmovement then
  1412. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/3)/10,-.1)*CFrame.Angles(math.cos(syne/6)/10+math.rad(50),0,math.cos(syne/3)/10+math.rad(-5)),.1)
  1413. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1414. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
  1415. trailing=false
  1416. end
  1417.  
  1418. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1419. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1420. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1421. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1422. end
  1423.  
  1424. if anim=="Sprinting" then
  1425. tik=tik+1
  1426. if tik==13 then
  1427. footstep:play''
  1428. elseif tik>=26 then tik=0
  1429. footstep:play''
  1430. end
  1431. if not armmovement and not equipped then
  1432. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)-math.cos(syne/4)/5),.1)
  1433. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)-math.cos(syne/4)/5),.1)
  1434. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/4)/3.5),math.rad(0),-(math.cos(syne/4)/3.5)+math.rad(37.5)),.1)
  1435. trailing=false
  1436. elseif not armmovement and equipped then
  1437. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,(math.cos(syne/2.5)/5)+.4,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(-20)),.1)
  1438. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,(math.cos(syne/2.5)/5)+.2,-.333)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(45)),.1)
  1439. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(80),math.rad(-20),math.rad(-70)),.1)
  1440. trailing=true
  1441. end
  1442. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1)
  1443. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1)
  1444. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),-math.cos(syne/4)/5,0),.1)
  1445. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/4)/5,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1446. end
  1447.  
  1448. if anim=="Jumping" then
  1449. if not armmovement and not equipped then
  1450. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1451. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1452. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1453. elseif equipped and not armmovement then
  1454. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(30),0,math.rad(15)),.1)
  1455. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.45,-.2)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,math.rad(-5)),.1)
  1456. objw1.C0=Lerp(objw1.C0,CFrame.new(.2,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1457. end
  1458. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1459. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1460. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1461. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1462. end
  1463.  
  1464. if anim=="Falling" then
  1465. if not armmovement and not equipped then
  1466. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1467. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1468. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1469. elseif equipped and not armmovement then
  1470. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1471. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1472. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1473. end
  1474. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1475. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1476. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1477. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1478. end
  1479.  
  1480. if anim=="Sliding" then
  1481. if not equipped then
  1482. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  1483. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1484. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1485. elseif equipped then
  1486. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  1487. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1488. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1489. end
  1490. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1491. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  1492. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  1493. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
  1494. end
  1495.  
  1496. if anim=="DashSwing" then
  1497. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,.5,-.3)*CFrame.Angles(math.rad(65),0,math.rad(-20)),.1)
  1498. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.3,-.4)*CFrame.Angles(math.rad(65),0,math.rad(45)),.1)
  1499. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-32.5)),.1)
  1500. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,-1.4,-1)*CFrame.Angles(math.rad(65),0,math.rad(7.5)),.1)
  1501. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.2,0)*CFrame.Angles(math.rad(-22.5),0,math.rad(2.5)),.1)
  1502. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),0,0),.1)
  1503. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.1+rutprt.Weld.C0.y+.05,0)*CFrame.Angles(math.rad(5),math.rad(TwnSingleNumber(rutprt.Weld.C0:toEulerAnglesXYZ().y,179,.1)),math.rad(-12)),.1)
  1504. end
  1505.  
  1506. if anim=="SpinAttack" then
  1507. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(-30)),.1)
  1508. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(30)),.1)
  1509. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5)),.1)
  1510. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.1)
  1511. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(2.5)),.1)
  1512. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.25)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1)
  1513. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.5+math.cos(syne/20)/2,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  1514. end
  1515.  
  1516. if equipped then
  1517. objw1.Part1=rarm
  1518. objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  1519. elseif not equipped then
  1520. objw1.Part1=torso
  1521. objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1522. end
  1523.  
  1524. if anim=='Sitting' and equipped and sitting then
  1525. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(-37.5)),.25)
  1526. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(37.5)),.25)
  1527. objw1.C0=Lerp(objw1.C0,CFrame.new(0,.4,-.3)*CFrame.Angles(math.rad(130),math.rad(60),math.rad(10)),.125)
  1528. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(-12)),.25)
  1529. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(12)),.25)
  1530. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),.25)
  1531. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,1,-.25)*CFrame.Angles(math.rad(-7.5),math.rad(0),math.rad(0)),.25)
  1532. end
  1533.  
  1534. if anim=="PreSuperJump" then
  1535. if not equipped and not armmovement then
  1536. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05)
  1537. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05)
  1538. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.05)
  1539. elseif equipped and not armmovement then
  1540. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(40),0,math.rad(-20)),.1)
  1541. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(20),0,math.rad(57)),.1)
  1542. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1543. end
  1544. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.4,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.05)
  1545. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05)
  1546. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05)
  1547. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05)
  1548. end
  1549.  
  1550. if anim=="SuperJump" then
  1551. if not armmovement and not equipped then
  1552. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  1553. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  1554. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(28)),.1)
  1555. elseif equipped and not armmovement then
  1556. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(50),0,math.rad(-20)),.1)
  1557. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(30),0,math.rad(57)),.1)
  1558. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1559. end
  1560. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
  1561. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
  1562. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  1563. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  1564. char.Humanoid.Jump=true
  1565. end
  1566.  
  1567. if armmovement then
  1568. if armanim=='Swing1P1' then
  1569. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-22.5)),.125)
  1570. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(40)),.125)
  1571. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
  1572. end
  1573. if armanim=='Swing1P2' then
  1574. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-27.5)),.3)
  1575. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
  1576. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
  1577. end
  1578.  
  1579.  
  1580. if armanim=='Swing2P1' then
  1581. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(99),0,math.rad(55)),.125)
  1582. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.6,-.475)*CFrame.Angles(math.rad(99),0,math.rad(70)),.125)
  1583. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.125)
  1584. end
  1585. if armanim=='Swing2P2' then
  1586. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.65,.6,-.475)*CFrame.Angles(math.rad(59),0,math.rad(-80)),.3)
  1587. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.45,0)*CFrame.Angles(math.rad(59),0,math.rad(-55)),.3)
  1588. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.3)
  1589. end
  1590.  
  1591.  
  1592. if armanim=='Swing3P1' then
  1593. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-17.5)),.3)
  1594. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
  1595. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
  1596. end
  1597. if armanim=='Swing3P2' then
  1598. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-42.5)),.125)
  1599. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(60)),.125)
  1600. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
  1601. end
  1602.  
  1603.  
  1604. if armanim=='Glowing' then
  1605. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(math.rad(40),0,math.rad(-10)),.1)
  1606. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.7,.25,-.4)*CFrame.Angles(math.rad(35),0,math.rad(50)),.1)
  1607. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)),.1)
  1608. lightw.C0=Lerp(lightw.C0,CFrame.new(math.cos(syne/4)*1.5,math.sin(syne/75)*1.75+3.5,-math.sin(syne/4)*1.5)*CFrame.Angles(0,0,0),.1)
  1609. end
  1610. if armanim=='Healing' then
  1611. char.Humanoid.Health=char.Humanoid.Health+.215
  1612. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(-30)),.125)
  1613. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(30)),.125)
  1614. objw1.C0=Lerp(objw1.C0,CFrame.new(-.1,.2,-.3)*CFrame.Angles(math.rad(10),math.rad(60),math.rad(0)),.125)
  1615. healw.C0=Lerp(healw.C0,CFrame.new(math.cos(syne/5)*4.5,math.sin(syne/45)*4-1.2,-math.sin(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
  1616. otherw.C0=Lerp(otherw.C0,CFrame.new(math.sin(syne/5)*4.5,-math.sin(syne/45)*4-1.2,-math.cos(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
  1617. end
  1618. if armanim=='ShootP1' then
  1619. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.325,0)*CFrame.Angles(math.rad(29),0,math.rad(-30)),.2)
  1620. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.85,.325,-.4)*CFrame.Angles(math.rad(9),0,math.rad(47.5)),.2)
  1621. objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,.5,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
  1622. end
  1623. if armanim=='ShootP2' then
  1624. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.95,.375,-.4)*CFrame.Angles(math.rad(129),0,math.rad(-42.5)),.2)
  1625. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.375,0)*CFrame.Angles(math.rad(129),0,math.rad(25)),.2)
  1626. objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,1,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
  1627. end
  1628. end
  1629.  
  1630.  
  1631. if anim=='Pre-Sneak' then
  1632. if not armmovement then
  1633. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
  1634. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
  1635. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1636. elseif not armmovement then
  1637. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1638. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1639. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1640. end
  1641. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-12.5),0,math.rad(-2.5)),.1)
  1642. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1,-.5)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.1)
  1643. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
  1644. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.1)
  1645. end
  1646.  
  1647. if anim=='SneakWalk' then
  1648. tik=tik+1
  1649. if tik>=34 then tik=0
  1650. footstep:play''
  1651. end
  1652. char.Humanoid.WalkSpeed=SneakSpeed-math.cos(syne/5)*5
  1653. if not armmovement then
  1654. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/10)/2.5+math.rad(5),0,math.rad(12)),.1)
  1655. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/10)/2.5+math.rad(5),0,math.rad(-12)),.1)
  1656. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1657. elseif not armmovement then
  1658. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(60),0,math.rad(-20)),.1)
  1659. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(40),0,math.rad(62.5)),.1)
  1660. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1661. end
  1662. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,math.cos(syne/10)/3-1,-math.sin(syne/10)/1.5-.4)*CFrame.Angles(math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(-2.5)),.1)
  1663. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-math.cos(syne/10)/3-1,math.sin(syne/10)/1.5-.4)*CFrame.Angles(-math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(2.5)),.1)
  1664. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(-math.cos(syne/5)/5+math.rad(9),-math.sin(syne/10)/6.1,0),.1)
  1665. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,math.cos(syne/5)/5-1.1,-math.cos(syne/5)/2)*CFrame.Angles(math.cos(syne/5)/5+math.rad(-14),math.sin(syne/10)/6,math.rad(0)),.1)
  1666. end
  1667.  
  1668. if anim=='SneakIdle' then
  1669. if not armmovement then
  1670. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
  1671. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
  1672. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1673. elseif not armmovement then
  1674. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1675. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1676. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1677. end
  1678. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
  1679. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.1)
  1680. end
  1681.  
  1682. if sitting then char.Humanoid.WalkSpeed=0 end
  1683. if lit then
  1684. if lgt then
  1685. lgt.Range=TwnSingleNumber(lgt.Range,22.5,.1)
  1686. end
  1687. end
  1688.  
  1689. end)
  1690.  
  1691.  
  1692. maus.TargetFilter=TrailModel
  1693.  
  1694. coroutine.wrap(function()
  1695. while true do
  1696. if trailing then
  1697. local pos1=obj1.CFrame*CFrame.new(0,-5,0)
  1698. wait()
  1699. local pos2=obj1.CFrame*CFrame.new(0,-5,0)
  1700. local dees=(pos1.p-pos2.p).magnitude
  1701. local treel=Instance.new('Part',TrailModel)
  1702. treel.Name='treelOrbASD'
  1703. treel.formFactor='Custom'
  1704. treel.Size=Vector3.new(.1,dees,.1)
  1705. treel.BrickColor=BladeColor--BrickColor.new(Color3.new(0,0,0))
  1706. treel.Anchored=true
  1707. treel.Transparency=.5
  1708. treel.CanCollide=false
  1709. treel.Material="Neon"
  1710. treel.TopSurface=10
  1711. treel.BottomSurface=10
  1712. treel.LeftSurface=10
  1713. treel.RightSurface=10
  1714. treel.FrontSurface=10
  1715. treel.BackSurface=10
  1716. treel.Locked=true
  1717. treel:breakJoints()
  1718. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1719. local treelm=Instance.new('CylinderMesh',treel)
  1720. game:service'Debris':AddItem(treel,1)
  1721. coroutine.wrap(function()
  1722. for asd=.7,-0,-.1 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1723. end
  1724. end)()
  1725. elseif not trailing and not lit and armanim~='Healing' then
  1726. wait''
  1727. end
  1728. if lit then
  1729. local pos1=light2.CFrame
  1730. wait()
  1731. local pos2=light2.CFrame
  1732. local dees=(pos1.p-pos2.p).magnitude
  1733. local treel=Instance.new('Part',TrailModel)
  1734. treel.Name='treelOrbASD'
  1735. treel.formFactor='Custom'
  1736. treel.Size=Vector3.new(.1,dees,.1)
  1737. treel.BrickColor=LightColor
  1738. treel.Anchored=true
  1739. treel.Transparency=0
  1740. treel.CanCollide=false
  1741. treel.Material="Neon"
  1742. treel.TopSurface=10
  1743. treel.BottomSurface=10
  1744. treel.LeftSurface=10
  1745. treel.RightSurface=10
  1746. treel.FrontSurface=10
  1747. treel.BackSurface=10
  1748. treel.Locked=true
  1749. treel:breakJoints()
  1750. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1751. local treelm=Instance.new('CylinderMesh',treel)
  1752. game:service'Debris':AddItem(treel,2)
  1753. coroutine.wrap(function()
  1754. for asd=.65,0,-.05 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1755. end
  1756. end)()
  1757. elseif not lit and armanim~='Healing' and not trailing then
  1758. wait''
  1759. end
  1760. if armanim=='Healing' then
  1761. local pos1=other.CFrame
  1762. local pos3=heal.CFrame
  1763. wait()
  1764. local pos4=heal.CFrame
  1765. local pos2=other.CFrame
  1766. local dees=(pos1.p-pos2.p).magnitude
  1767. local dee2=(pos3.p-pos4.p).magnitude
  1768. local treel=Instance.new('Part',TrailModel)
  1769. treel.Name='treel1TrailASD'
  1770. treel.formFactor='Custom'
  1771. treel.Size=Vector3.new(.1,dees,.1)
  1772. treel.BrickColor=HealOrbColor
  1773. treel.Anchored=true
  1774. treel.Transparency=0
  1775. treel.Reflectance=.5
  1776. treel.CanCollide=false
  1777. treel.Material="Neon"
  1778. treel.TopSurface=10
  1779. treel.BottomSurface=10
  1780. treel.LeftSurface=10
  1781. treel.RightSurface=10
  1782. treel.FrontSurface=10
  1783. treel.BackSurface=10
  1784. treel.Locked=true
  1785. treel:breakJoints()
  1786. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1787. local treelm=Instance.new('CylinderMesh',treel)
  1788. game:service'Debris':AddItem(treel,2)
  1789. local treel2=Instance.new('Part',TrailModel)
  1790. treel2.Name='treel2TrailASD'
  1791. treel2.formFactor='Custom'
  1792. treel2.Size=Vector3.new(.1,dee2,.1)
  1793. treel2.BrickColor=HealOrbColor
  1794. treel2.Anchored=true
  1795. treel2.Transparency=0
  1796. treel2.Reflectance=.5
  1797. treel2.CanCollide=false
  1798. treel2.TopSurface=10
  1799. treel2.Material="Neon"
  1800. treel2.BottomSurface=10
  1801. treel2.LeftSurface=10
  1802. treel2.RightSurface=10
  1803. treel2.FrontSurface=10
  1804. treel2.BackSurface=10
  1805. treel2.Locked=true
  1806. treel2:breakJoints()
  1807. treel2.CFrame=CFrame.new(Avg(pos3,pos4).p,pos4.p)*CFrame.Angles(math.pi/2,0,0)
  1808. local treelm2=Instance.new('CylinderMesh',treel2)
  1809. game:service'Debris':AddItem(treel2,2)
  1810. coroutine.wrap(function()
  1811. for asd=.9,-0,-.075 do treelm2.Scale=Vector3.new(asd,1,asd) treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1812. end
  1813. end)()
  1814. elseif not trailing and not lit and armanim~='Healing' then
  1815. wait''
  1816. end
  1817. end
  1818. end)()
  1819.  
  1820. coroutine.resume(coroutine.create(function()
  1821. for i,x in pairs(char:GetChildren()) do if x:IsA('Part') then x.Material='Neon' elseif x:IsA('Hat') then x.Handle.Material='Neon' end end end))
  1822. for lalal,lal in pairs(char:GetChildren()) do if lal.ClassName=='Part' then
  1823. for lalalalal,lalalal in pairs(lal:GetChildren()) do if lalalal.ClassName=='CharacterMesh' then lalalal:Destroy() end end
  1824. elseif lal.ClassName=='CharacterMesh' then lal:Destroy() end end
  1825.  
  1826. wait'.5'
  1827. local pseudohead=hed:Clone()
  1828. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  1829. pseudohead.Name='PseudoHead'
  1830. pseudohead.Parent=char.Head
  1831. local pseudoweld=Instance.new('Weld',torso)
  1832. pseudoweld.Part0=hed
  1833. pseudoweld.Name='PseudoHedWld'
  1834. pseudoweld.Part1=pseudohead
  1835. hed.Transparency=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement