Advertisement
Carles0_0

LEGO SCRIPT

Aug 21st, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  54. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70. local Mouse = Player:GetMouse()
  71. local UIS = game:GetService("UserInputService")
  72. local input = function(io,a)
  73. if a then return end
  74. --Since InputObject is a client-side instance, we create and pass table instead
  75. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  76. end
  77. UIS.InputBegan:Connect(input)
  78. UIS.InputEnded:Connect(input)
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129. self._btrs[name] = self.Heartbeat:Connect(fun)
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,fsmt)
  137. --Changing owner to fake player object to support owner:GetMouse()
  138. game,owner = g,g.Players.LocalPlayer
  139. end
  140.  
  141. -----------------------
  142. --[[ Name : Hello Stranger]]--
  143. -------------------------------------------------------
  144. --A script By 1x3x1xO
  145.  
  146. --Discord
  147.  
  148.  
  149. -------------------------------------------------------
  150.  
  151.  
  152.  
  153. wait()
  154. local plr = game:service'Players'.LocalPlayer
  155. print('Local User is '..plr.Name)
  156. local char = plr.Character
  157. local hum = char.Humanoid
  158. local hed = char.Head
  159. local root = char.HumanoidRootPart
  160. local rootj = root.RootJoint
  161. local tors = char.Torso
  162. local ra = char["Right Arm"]
  163. local la = char["Left Arm"]
  164. local rl = char["Right Leg"]
  165. local ll = char["Left Leg"]
  166. local neck = tors["Neck"]
  167. local mouse = plr:GetMouse()
  168. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  169. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  170. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  171. local maincolor = BrickColor.new("Institutional white")
  172. -------------------------------------------------------
  173. --.--
  174. -------------------------------------------------------
  175.  
  176.  
  177. ff = Instance.new("ForceField",char)
  178. ff.Visible = false
  179. hum.Name = "Base"
  180. hum.MaxHealth = 1.0E298
  181. hum.Health = 1.0E298
  182. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  183. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  184. hum.MaxHealth = 1.0E298
  185. hum.Health = 1.0E298
  186. end
  187. end)
  188. -------------------------------------------------------
  189. --End Whitelist and Invincibility--
  190. -------------------------------------------------------
  191. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  192. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  193. prt.Anchored = true
  194. prt.Material = "Neon"
  195. prt.CFrame = cframe
  196. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  197. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  198. game:GetService("Debris"):AddItem(prt, 5)
  199. coroutine.resume(coroutine.create(function(Part, Mesh)
  200. for i = 0, 1, delay do
  201. swait()
  202. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  203. Part.Transparency = i
  204. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  205. end
  206. Part.Parent = nil
  207. end), prt, msh)
  208. end
  209.  
  210.  
  211. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  212. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  213. prt.Anchored = true
  214. prt.Material = "Neon"
  215. prt.CFrame = cframe
  216. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  217. game:GetService("Debris"):AddItem(prt, 5)
  218. coroutine.resume(coroutine.create(function(Part, Mesh)
  219. local rtype = rottype
  220. for i = 0, 1, delay do
  221. swait()
  222. if rtype == 1 then
  223. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  224. elseif rtype == 2 then
  225. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  226. end
  227. prt.Transparency = i
  228. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  229. end
  230. Part.Parent = nil
  231. end), prt, msh)
  232. end
  233. --
  234.  
  235. -------------------------------------------------------
  236. --Start Good Stuff--
  237. -------------------------------------------------------
  238. cam = game.Workspace.CurrentCamera
  239. CF = CFrame.new
  240. angles = CFrame.Angles
  241. attack = false
  242. Euler = CFrame.fromEulerAnglesXYZ
  243. Rad = math.rad
  244. IT = Instance.new
  245. BrickC = BrickColor.new
  246. Cos = math.cos
  247. Acos = math.acos
  248. Sin = math.sin
  249. Asin = math.asin
  250. Abs = math.abs
  251. Mrandom = math.random
  252. Floor = math.floor
  253. -------------------------------------------------------
  254. --End Good Stuff--
  255. -------------------------------------------------------
  256. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  257. RSH, LSH = nil, nil
  258. RW = Instance.new("Weld")
  259. LW = Instance.new("Weld")
  260. RH = tors["Right Hip"]
  261. LH = tors["Left Hip"]
  262. RSH = tors["Right Shoulder"]
  263. LSH = tors["Left Shoulder"]
  264. RSH.Parent = nil
  265. LSH.Parent = nil
  266. RW.Name = "RW"
  267. RW.Part0 = tors
  268. RW.C0 = CF(1.5, 0.5, 0)
  269. RW.C1 = CF(0, 0.5, 0)
  270. RW.Part1 = ra
  271. RW.Parent = tors
  272. LW.Name = "LW"
  273. LW.Part0 = tors
  274. LW.C0 = CF(-1.5, 0.5, 0)
  275. LW.C1 = CF(0, 0.5, 0)
  276. LW.Part1 = la
  277. LW.Parent = tors
  278. Effects = {}
  279. -------------------------------------------------------
  280. --Start HeartBeat--
  281. -------------------------------------------------------
  282. ArtificialHB = Instance.new("BindableEvent", script)
  283. ArtificialHB.Name = "Heartbeat"
  284. script:WaitForChild("Heartbeat")
  285.  
  286. frame = 1 / 60
  287. tf = 0
  288. allowframeloss = false
  289. tossremainder = false
  290.  
  291.  
  292. lastframe = tick()
  293. script.Heartbeat:Fire()
  294.  
  295.  
  296. game:GetService("RunService").Heartbeat:connect(function(s, p)
  297. tf = tf + s
  298. if tf >= frame then
  299. if allowframeloss then
  300. script.Heartbeat:Fire()
  301. lastframe = tick()
  302. else
  303. for i = 1, math.floor(tf / frame) do
  304. script.Heartbeat:Fire()
  305. end
  306. lastframe = tick()
  307. end
  308. if tossremainder then
  309. tf = 0
  310. else
  311. tf = tf - frame * math.floor(tf / frame)
  312. end
  313. end
  314. end)
  315.  
  316. --------------
  317. --[[
  318. Thanks for using Build-To-Lua by jarredbcv.
  319. ]]--
  320.  
  321. New = function(Object, Parent, Name, Data)
  322. local Object = Instance.new(Object)
  323. for Index, Value in pairs(Data or {}) do
  324. Object[Index] = Value
  325. end
  326. Object.Parent = Parent
  327. Object.Name = Name
  328. return Object
  329. end
  330.  
  331. Uzi = New("Model",char,"Uzi",{})
  332. Handle = New("Part",Uzi,"Handle",{BrickColor = BrickColor.new("Really black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907e-09, 5.60066837e-09, -4.67619166e-10, 0.999989152, 5.95959136e-07, -1.86810212e-09, 1.98648195e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  333. Port = New("Part",Uzi,"Port",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767e-09, -0.965913594, -0.258815765, -8.10978804e-07, -2.25573785e-07, -4.02978912e-08, 0.999983191),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  334. Mesh = New("BlockMesh",Port,"Mesh",{Scale = Vector3.new(0.0769230723, 0.538461506, 1),})
  335. mot = New("Motor",Port,"mot",{Part0 = Port,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019e-07, 0.965925872, -0.258819073, -1.6708546e-07, 8.90398955e-09, -6.12338397e-07, 1),C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  336. Mag2 = New("Part",Uzi,"Mag2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  337. Mesh = New("BlockMesh",Mag2,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
  338. mot = New("Motor",Mag2,"mot",{Part0 = Mag2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  339. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  340. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194),})
  341. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  342. AimPart = New("Part",Uzi,"AimPart",{BrickColor = BrickColor.new("Really black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626e-09, 5.60066127e-09, -4.67106354e-10, 0.999989152, 5.95963002e-07, -1.86809501e-09, 1.9865206e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  343. mot = New("Motor",AimPart,"mot",{Part0 = AimPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -9.25960919e-10, -3.73438835e-09, -9.25962418e-10, 1, 3.97315489e-07, 3.73438791e-09, 3.97315489e-07, -1),C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  344. Hole = New("Part",Uzi,"Hole",{BrickColor = BrickColor.new("Really Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  345. Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485),})
  346. mot = New("Motor",Hole,"mot",{Part0 = Hole,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  347. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  348. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
  349. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  350. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  351. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),MeshType = Enum.MeshType.Torso,})
  352. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  353. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("White"),Transparency = 1,Transparency = 1,Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -0.000377276359, -1.73402132e-05, 0.000377273274, 0.999989152, 5.57149033e-05, 1.73151166e-05, -5.61185843e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
  354. lenspart = New("IntValue",NoSight,"lenspart",{})
  355. Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485),})
  356. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000377277844, 1.73172939e-05, -0.000377276883, 1, -5.59206928e-05, -1.73383924e-05, 5.59141627e-05, 1),C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  357. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  358. Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097),})
  359. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  360. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  361. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,})
  362. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  363. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 0.000420433673, 1.73239296e-05, 0.00042042954, -0.999989152, -1.25467186e-05, 1.73145636e-05, 1.29512719e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  364. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  365. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.99999994, 0.000420434575, 1.731675e-05, 0.000420434313, -1, 1.27527892e-05, 1.73221088e-05, -1.27455087e-05, -1),C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  366. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  367. Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
  368. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  369. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  370. Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
  371. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  372. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  373. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194),})
  374. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  375. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  376. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),MeshType = Enum.MeshType.Wedge,})
  377. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  378. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  379. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097),})
  380. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  381. A1 = New("Part",Uzi,"A1",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  382. Mesh = New("BlockMesh",A1,"Mesh",{Scale = Vector3.new(0.238000005, 1, 0.0480000004),})
  383. mot = New("Motor",A1,"mot",{Part0 = A1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  384. Cylinder1 = New("Part",Uzi,"Cylinder",{BrickColor = BrickColor.new("Really Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  385. Mesh = New("CylinderMesh",Cylinder1,"Mesh",{Offset = Vector3.new(0, -0.0185714271, 0),Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627),})
  386. mot = New("Motor",Cylinder1,"mot",{Part0 = Cylinder1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  387. Mag1 = New("Part",Uzi,"Mag1",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  388. Mesh = New("BlockMesh",Mag1,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),})
  389. mot = New("Motor",Mag1,"mot",{Part0 = Mag1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  390. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 0.000420436263, -1.53869969e-05, 0.999994516, -0.999985397, -4.49496983e-05, 0.000420421362, 4.57110073e-05, -0.999980092, -1.53492692e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  391. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239),})
  392. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),})
  393. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420408818, -0.99999994, 4.51425221e-05, -1.53889487e-05, -4.51489977e-05, -1, 1, 0.000420408091, -1.5407928e-05),C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  394. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  395. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194),})
  396. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  397. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  398. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239),})
  399. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),})
  400. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  401. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  402. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194),})
  403. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  404. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  405. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194),})
  406. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  407. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  408. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194),})
  409. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  410. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 0.000237775297, -0.000239374975, -0.999997377, -0.707075596, 0.707122624, -0.000337392528, 0.707120895, 0.707073271, -1.11602742e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  411. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097),})
  412. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000237776927, -0.707083166, 0.707130432, -0.000239373941, 0.707130432, 0.707083166, -1, -0.000337396661, -1.1179759e-06),C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  413. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556e-05, 0.999997318, -0.000344614644, 5.5595694e-05, 0.000344610075, 0.999989152, 0.999986291, -1.53906112e-05, -5.59875407e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  414. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194),})
  415. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.53696619e-05, 5.57949534e-05, 1, 0.99999994, 0.000344614265, -1.53888886e-05, -0.00034461508, 1, -5.57896492e-05),C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  416. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165e-05, 0.000407794083, -0.000407787855, -4.30788677e-05, -0.999989152, 4.58960603e-05, -0.999986291, 4.3457334e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  417. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),MeshType = Enum.MeshType.Wedge,})
  418. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.99999994, -0.000407792744, 4.58947434e-05, -4.58770992e-05, -4.32779889e-05, -1, 0.000407794694, -1, 4.32592715e-05),C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  419. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813e-05, -0.000407784712, 0.00040778832, -0.000104068669, 0.999989092, 7.61557822e-05, -0.999986291, -0.00010449675),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  420. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),MeshType = Enum.MeshType.Wedge,})
  421. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000407793239, 7.61587726e-05, 7.62013078e-05, -0.000104268453, -1, -0.000407785323, 0.99999994, -0.000104299521),C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  422. Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  423. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149),})
  424. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  425. Block = New("Part",Uzi,"Block",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -0.000323260669, 0.000216992383, -0.999997377, 0.866039515, -0.499953777, -0.000388442742, -0.499952704, -0.866036952, -2.63046823e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  426. Mesh = New("BlockMesh",Block,"Mesh",{Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485),})
  427. mot = New("Motor",Block,"mot",{Part0 = Block,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.000323262066, 0.866048813, -0.499959379, 0.000216991102, -0.49995935, -0.866048872, -1, -0.000388447457, -2.63069869e-05),C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  428. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  429. Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
  430. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  431. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  432. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
  433. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  434. Ring = New("Part",Uzi,"Ring",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165e-05, 0.00040779452, 0.999997318, 4.30788677e-05, -0.999989152, 0.000407788291, 0.999986291, 4.34573376e-05, -4.58960603e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  435. Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  436. mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.58770992e-05, 4.32779889e-05, 1, 0.000407795131, -1, 4.32592751e-05, 0.99999994, 0.000407793181, -4.58947434e-05),C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  437. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  438. Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,})
  439. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  440. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 0.000316242484, -0.999998629, -1.53781439e-05, -0.999994516, -0.000316240039, -4.36452538e-05, 4.38389834e-05, 1.53937908e-05, -0.999993145),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  441. Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),})
  442. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316242484, -0.999994516, 4.38389834e-05, -0.999998629, -0.000316240039, 1.53937908e-05, -1.53781439e-05, -4.36452538e-05, -0.999993145),C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),})
  443. NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490654e-05, 0.999989152, -0.000346755493, 0.999986291, -4.34515023e-05, -1.51409085e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  444. Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603),})
  445. mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.5159917e-05, 4.30495311e-05, 1, -0.000346759538, 1, -4.30547843e-05, -1, -0.000346760178, -1.51449858e-05),C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),})
  446. A2 = New("Part",Uzi,"A2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514305e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  447. Mesh = New("BlockMesh",A2,"Mesh",{Offset = Vector3.new(0, 0, 0.0599999987),Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004),})
  448. mot = New("Motor",A2,"mot",{Part0 = A2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04594105e-05, -1, 1.32647847e-05, -6.80374967e-07, -1.32648056e-05, -1, 1, 3.04594014e-05, -6.8077901e-07),C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),})
  449.  
  450.  
  451. local NewInstance = function(instance,parent,properties)
  452. local inst = Instance.new(instance,parent)
  453. if(properties)then
  454. for i,v in next, properties do
  455. pcall(function() inst[i] = v end)
  456. end
  457. end
  458. return inst;
  459. end
  460.  
  461.  
  462. for _, v in pairs(Uzi:GetChildren()) do
  463. if v:IsA'BasePart' then
  464. v.CanCollide = false
  465. end
  466. end
  467.  
  468. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1.1,-0.2)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))})
  469.  
  470.  
  471. -------------------------------------------------------
  472. --End HeartBeat--
  473. -------------------------------------------------------
  474. local l = game.Lighting
  475. local sky = Instance.new("Sky",l)
  476. l.TimeOfDay = "00:00:00"
  477. l.Brightness = 1
  478. l.Ambient = Color3.new(0.25, 0.5, 0.75)
  479. ---
  480.  
  481.  
  482. -------------------------------------------------------
  483. --Start Important Functions--
  484. -------------------------------------------------------
  485. function swait(num)
  486. if num == 0 or num == nil then
  487. game:service("RunService").Stepped:wait(0)
  488. else
  489. for i = 0, num do
  490. game:service("RunService").Stepped:wait(0)
  491. end
  492. end
  493. end
  494. function thread(f)
  495. coroutine.resume(coroutine.create(f))
  496. end
  497. function clerp(a, b, t)
  498. local qa = {
  499. QuaternionFromCFrame(a)
  500. }
  501. local qb = {
  502. QuaternionFromCFrame(b)
  503. }
  504. local ax, ay, az = a.x, a.y, a.z
  505. local bx, by, bz = b.x, b.y, b.z
  506. local _t = 1 - t
  507. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  508. end
  509. function QuaternionFromCFrame(cf)
  510. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  511. local trace = m00 + m11 + m22
  512. if trace > 0 then
  513. local s = math.sqrt(1 + trace)
  514. local recip = 0.5 / s
  515. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  516. else
  517. local i = 0
  518. if m00 < m11 then
  519. i = 1
  520. end
  521. if m22 > (i == 0 and m00 or m11) then
  522. i = 2
  523. end
  524. if i == 0 then
  525. local s = math.sqrt(m00 - m11 - m22 + 1)
  526. local recip = 0.5 / s
  527. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  528. elseif i == 1 then
  529. local s = math.sqrt(m11 - m22 - m00 + 1)
  530. local recip = 0.5 / s
  531. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  532. elseif i == 2 then
  533. local s = math.sqrt(m22 - m00 - m11 + 1)
  534. local recip = 0.5 / s
  535. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  536. end
  537. end
  538. end
  539. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  540. local xs, ys, zs = x + x, y + y, z + z
  541. local wx, wy, wz = w * xs, w * ys, w * zs
  542. local xx = x * xs
  543. local xy = x * ys
  544. local xz = x * zs
  545. local yy = y * ys
  546. local yz = y * zs
  547. local zz = z * zs
  548. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  549. end
  550. function QuaternionSlerp(a, b, t)
  551. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  552. local startInterp, finishInterp
  553. if cosTheta >= 1.0E-4 then
  554. if 1 - cosTheta > 1.0E-4 then
  555. local theta = math.acos(cosTheta)
  556. local invSinTheta = 1 / Sin(theta)
  557. startInterp = Sin((1 - t) * theta) * invSinTheta
  558. finishInterp = Sin(t * theta) * invSinTheta
  559. else
  560. startInterp = 1 - t
  561. finishInterp = t
  562. end
  563. elseif 1 + cosTheta > 1.0E-4 then
  564. local theta = math.acos(-cosTheta)
  565. local invSinTheta = 1 / Sin(theta)
  566. startInterp = Sin((t - 1) * theta) * invSinTheta
  567. finishInterp = Sin(t * theta) * invSinTheta
  568. else
  569. startInterp = t - 1
  570. finishInterp = t
  571. end
  572. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  573. end
  574. function rayCast(Position, Direction, Range, Ignore)
  575. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  576. end
  577. local RbxUtility = LoadLibrary("RbxUtility")
  578. local Create = RbxUtility.Create
  579.  
  580. -------------------------------------------------------
  581. --Start Damage Function--
  582. -------------------------------------------------------
  583. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  584. if hit.Parent == nil then
  585. return
  586. end
  587. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  588. for _, v in pairs(hit.Parent:children()) do
  589. if v:IsA("Humanoid") then
  590. h = v
  591. end
  592. end
  593. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  594.  
  595. hit.Parent:FindFirstChild("Head"):BreakJoints()
  596. end
  597.  
  598. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  599. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  600. if hit.Parent.DebounceHit.Value == true then
  601. return
  602. end
  603. end
  604. if insta == true then
  605. hit.Parent:FindFirstChild("Head"):BreakJoints()
  606. end
  607. local c = Create("ObjectValue"){
  608. Name = "creator",
  609. Value = game:service("Players").LocalPlayer,
  610. Parent = h,
  611. }
  612. game:GetService("Debris"):AddItem(c, .5)
  613. if HitSound ~= nil and HitPitch ~= nil then
  614. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  615. end
  616. local Damage = math.random(minim, maxim)
  617. local blocked = false
  618. local block = hit.Parent:findFirstChild("Block")
  619. if block ~= nil then
  620. if block.className == "IntValue" then
  621. if block.Value > 0 then
  622. blocked = true
  623. block.Value = block.Value - 1
  624. print(block.Value)
  625. end
  626. end
  627. end
  628. if blocked == false then
  629. h.Health = h.Health - Damage
  630. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  631. else
  632. h.Health = h.Health - (Damage / 2)
  633. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  634. end
  635. if Type == "Knockdown" then
  636. local hum = hit.Parent.Humanoid
  637. hum.PlatformStand = true
  638. coroutine.resume(coroutine.create(function(HHumanoid)
  639. swait(1)
  640. HHumanoid.PlatformStand = false
  641. end), hum)
  642. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  643. local bodvol = Create("BodyVelocity"){
  644. velocity = angle * knockback,
  645. P = 5000,
  646. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  647. Parent = hit,
  648. }
  649. local rl = Create("BodyAngularVelocity"){
  650. P = 3000,
  651. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  652. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  653. Parent = hit,
  654. }
  655. game:GetService("Debris"):AddItem(bodvol, .5)
  656. game:GetService("Debris"):AddItem(rl, .5)
  657. elseif Type == "Normal" then
  658. local vp = Create("BodyVelocity"){
  659. P = 500,
  660. maxForce = Vector3.new(math.huge, 0, math.huge),
  661. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  662. }
  663. if knockback > 0 then
  664. vp.Parent = hit.Parent.Torso
  665. end
  666. game:GetService("Debris"):AddItem(vp, .5)
  667. elseif Type == "Up" then
  668. local bodyVelocity = Create("BodyVelocity"){
  669. velocity = Vector3.new(0, 20, 0),
  670. P = 5000,
  671. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  672. Parent = hit,
  673. }
  674. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  675. elseif Type == "DarkUp" then
  676. coroutine.resume(coroutine.create(function()
  677. for i = 0, 1, 0.1 do
  678. swait()
  679. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  680. end
  681. end))
  682. local bodyVelocity = Create("BodyVelocity"){
  683. velocity = Vector3.new(0, 20, 0),
  684. P = 5000,
  685. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  686. Parent = hit,
  687. }
  688. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  689. elseif Type == "Snare" then
  690. local bp = Create("BodyPosition"){
  691. P = 2000,
  692. D = 100,
  693. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  694. position = hit.Parent.Torso.Position,
  695. Parent = hit.Parent.Torso,
  696. }
  697. game:GetService("Debris"):AddItem(bp, 1)
  698. elseif Type == "Freeze" then
  699. local BodPos = Create("BodyPosition"){
  700. P = 50000,
  701. D = 1000,
  702. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  703. position = hit.Parent.Torso.Position,
  704. Parent = hit.Parent.Torso,
  705. }
  706. local BodGy = Create("BodyGyro") {
  707. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  708. P = 20e+003,
  709. Parent = hit.Parent.Torso,
  710. cframe = hit.Parent.Torso.CFrame,
  711. }
  712. hit.Parent.Torso.Anchored = true
  713. coroutine.resume(coroutine.create(function(Part)
  714. swait(1.5)
  715. Part.Anchored = false
  716. end), hit.Parent.Torso)
  717. game:GetService("Debris"):AddItem(BodPos, 3)
  718. game:GetService("Debris"):AddItem(BodGy, 3)
  719. end
  720. local debounce = Create("BoolValue"){
  721. Name = "DebounceHit",
  722. Parent = hit.Parent,
  723. Value = true,
  724. }
  725. game:GetService("Debris"):AddItem(debounce, Delay)
  726. c = Create("ObjectValue"){
  727. Name = "creator",
  728. Value = Player,
  729. Parent = h,
  730. }
  731. game:GetService("Debris"):AddItem(c, .5)
  732. end
  733. end
  734. -------------------------------------------------------
  735. --End Damage Function--
  736. -------------------------------------------------------
  737.  
  738. local EyeSizes={
  739. NumberSequenceKeypoint.new(0,0.65,0),
  740. NumberSequenceKeypoint.new(0.5,0.7,0),
  741. NumberSequenceKeypoint.new(1,0,0)
  742. }
  743. local EyeTrans={
  744. NumberSequenceKeypoint.new(0,0,0),
  745. NumberSequenceKeypoint.new(0.5,0,0),
  746. NumberSequenceKeypoint.new(1,1,0)
  747. }
  748. local PE2=Instance.new("ParticleEmitter", ra)
  749. PE2.LightEmission=.9
  750. PE2.Color = ColorSequence.new(BrickC("Dark indigo").Color,BrickC("Royal purple").Color)
  751. PE2.Transparency=NumberSequence.new(EyeTrans)
  752. PE2.Lifetime=NumberRange.new(0.35)
  753. PE2.Rotation=NumberRange.new(0,360)
  754. PE2.Rate=999
  755. PE2.VelocitySpread = 10000
  756. PE2.Acceleration = Vector3.new(0,25,0)
  757. PE2.ZOffset = 0.5
  758. PE2.Drag = 0
  759. PE2.Speed = NumberRange.new(0,0,0)
  760. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  761. PE2.Name = "PE2"
  762. PE2.Enabled = true
  763. PE2.LockedToPart = true
  764. --
  765.  
  766.  
  767. -------------------------------------------------------
  768. --Start Damage Function Customization--
  769. -------------------------------------------------------
  770. function ShowDamage(Pos, Text, Time, Color)
  771. local Rate = (1 / 30)
  772. local Pos = (Pos or Vector3.new(0, 0, 0))
  773. local Text = (Text or "")
  774. local Time = (Time or 2)
  775. local Color = (Color or Color3.new(1, 0, 1))
  776. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  777. EffectPart.Anchored = true
  778. local BillboardGui = Create("BillboardGui"){
  779. Size = UDim2.new(3, 0, 3, 0),
  780. Adornee = EffectPart,
  781. Parent = EffectPart,
  782. }
  783. local TextLabel = Create("TextLabel"){
  784. BackgroundTransparency = 1,
  785. Size = UDim2.new(1, 0, 1, 0),
  786. Text = Text,
  787. Font = "Bodoni",
  788. TextColor3 = Color,
  789. TextScaled = true,
  790. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  791. Parent = BillboardGui,
  792. }
  793. game.Debris:AddItem(EffectPart, (Time))
  794. EffectPart.Parent = game:GetService("Workspace")
  795. delay(0, function()
  796. local Frames = (Time / Rate)
  797. for Frame = 1, Frames do
  798. wait(Rate)
  799. local Percent = (Frame / Frames)
  800. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  801. TextLabel.TextTransparency = Percent
  802. end
  803. if EffectPart and EffectPart.Parent then
  804. EffectPart:Destroy()
  805. end
  806. end)
  807. end
  808. -------------------------------------------------------
  809. --End Damage Function Customization--
  810. -------------------------------------------------------
  811.  
  812. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  813. for _, c in pairs(workspace:children()) do
  814. local hum = c:findFirstChild("Humanoid")
  815. if hum ~= nil then
  816. local head = c:findFirstChild("Head")
  817. if head ~= nil then
  818. local targ = head.Position - Part.Position
  819. local mag = targ.magnitude
  820. if magni >= mag and c.Name ~= plr.Name then
  821. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  822. end
  823. end
  824. end
  825. end
  826. end
  827.  
  828.  
  829. CFuncs = {
  830. Part = {
  831. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  832. local Part = Create("Part")({
  833. Parent = Parent,
  834. Reflectance = Reflectance,
  835. Transparency = Transparency,
  836. CanCollide = false,
  837. Locked = true,
  838. BrickColor = BrickColor.new(tostring(BColor)),
  839. Name = Name,
  840. Size = Size,
  841. Material = Material
  842. })
  843. RemoveOutlines(Part)
  844. return Part
  845. end
  846. },
  847. Mesh = {
  848. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  849. local Msh = Create(Mesh)({
  850. Parent = Part,
  851. Offset = OffSet,
  852. Scale = Scale
  853. })
  854. if Mesh == "SpecialMesh" then
  855. Msh.MeshType = MeshType
  856. Msh.MeshId = MeshId
  857. end
  858. return Msh
  859. end
  860. },
  861. Mesh = {
  862. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  863. local Msh = Create(Mesh)({
  864. Parent = Part,
  865. Offset = OffSet,
  866. Scale = Scale
  867. })
  868. if Mesh == "SpecialMesh" then
  869. Msh.MeshType = MeshType
  870. Msh.MeshId = MeshId
  871. end
  872. return Msh
  873. end
  874. },
  875. Weld = {
  876. Create = function(Parent, Part0, Part1, C0, C1)
  877. local Weld = Create("Weld")({
  878. Parent = Parent,
  879. Part0 = Part0,
  880. Part1 = Part1,
  881. C0 = C0,
  882. C1 = C1
  883. })
  884. return Weld
  885. end
  886. },
  887. Sound = {
  888. Create = function(id, par, vol, pit)
  889. coroutine.resume(coroutine.create(function()
  890. local S = Create("Sound")({
  891. Volume = vol,
  892. Pitch = pit or 1,
  893. SoundId = id,
  894. Parent = par or workspace
  895. })
  896. wait()
  897. S:play()
  898. game:GetService("Debris"):AddItem(S, 6)
  899. end))
  900. end
  901. },
  902. ParticleEmitter = {
  903. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  904. local fp = Create("ParticleEmitter")({
  905. Parent = Parent,
  906. Color = ColorSequence.new(Color1, Color2),
  907. LightEmission = LightEmission,
  908. Size = Size,
  909. Texture = Texture,
  910. Transparency = Transparency,
  911. ZOffset = ZOffset,
  912. Acceleration = Accel,
  913. Drag = Drag,
  914. LockedToPart = LockedToPart,
  915. VelocityInheritance = VelocityInheritance,
  916. EmissionDirection = EmissionDirection,
  917. Enabled = Enabled,
  918. Lifetime = LifeTime,
  919. Rate = Rate,
  920. Rotation = Rotation,
  921. RotSpeed = RotSpeed,
  922. Speed = Speed,
  923. VelocitySpread = VelocitySpread
  924. })
  925. return fp
  926. end
  927. }
  928. }
  929. function RemoveOutlines(part)
  930. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  931. end
  932. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  933. local Part = Create("Part")({
  934. formFactor = FormFactor,
  935. Parent = Parent,
  936. Reflectance = Reflectance,
  937. Transparency = Transparency,
  938. CanCollide = false,
  939. Locked = true,
  940. BrickColor = BrickColor.new(tostring(BColor)),
  941. Name = Name,
  942. Size = Size,
  943. Material = Material
  944. })
  945. RemoveOutlines(Part)
  946. return Part
  947. end
  948. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  949. local Msh = Create(Mesh)({
  950. Parent = Part,
  951. Offset = OffSet,
  952. Scale = Scale
  953. })
  954. if Mesh == "SpecialMesh" then
  955. Msh.MeshType = MeshType
  956. Msh.MeshId = MeshId
  957. end
  958. return Msh
  959. end
  960. function CreateWeld(Parent, Part0, Part1, C0, C1)
  961. local Weld = Create("Weld")({
  962. Parent = Parent,
  963. Part0 = Part0,
  964. Part1 = Part1,
  965. C0 = C0,
  966. C1 = C1
  967. })
  968. return Weld
  969. end
  970.  
  971.  
  972. -------------------------------------------------------
  973. --Start Effect Function--
  974. -------------------------------------------------------
  975. EffectModel = Instance.new("Model", char)
  976. Effects = {
  977. Block = {
  978. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  979. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  980. prt.Anchored = true
  981. prt.CFrame = cframe
  982. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  983. game:GetService("Debris"):AddItem(prt, 10)
  984. if Type == 1 or Type == nil then
  985. table.insert(Effects, {
  986. prt,
  987. "Block1",
  988. delay,
  989. x3,
  990. y3,
  991. z3,
  992. msh
  993. })
  994. elseif Type == 2 then
  995. table.insert(Effects, {
  996. prt,
  997. "Block2",
  998. delay,
  999. x3,
  1000. y3,
  1001. z3,
  1002. msh
  1003. })
  1004. else
  1005. table.insert(Effects, {
  1006. prt,
  1007. "Block3",
  1008. delay,
  1009. x3,
  1010. y3,
  1011. z3,
  1012. msh
  1013. })
  1014. end
  1015. end
  1016. },
  1017. Sphere = {
  1018. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1019. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1020. prt.Anchored = true
  1021. prt.CFrame = cframe
  1022. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1023. game:GetService("Debris"):AddItem(prt, 10)
  1024. table.insert(Effects, {
  1025. prt,
  1026. "Cylinder",
  1027. delay,
  1028. x3,
  1029. y3,
  1030. z3,
  1031. msh
  1032. })
  1033. end
  1034. },
  1035. Cylinder = {
  1036. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1037. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1038. prt.Anchored = true
  1039. prt.CFrame = cframe
  1040. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1041. game:GetService("Debris"):AddItem(prt, 10)
  1042. table.insert(Effects, {
  1043. prt,
  1044. "Cylinder",
  1045. delay,
  1046. x3,
  1047. y3,
  1048. z3,
  1049. msh
  1050. })
  1051. end
  1052. },
  1053. Wave = {
  1054. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1055. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1056. prt.Anchored = true
  1057. prt.CFrame = cframe
  1058. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1059. game:GetService("Debris"):AddItem(prt, 10)
  1060. table.insert(Effects, {
  1061. prt,
  1062. "Cylinder",
  1063. delay,
  1064. x3 / 60,
  1065. y3 / 60,
  1066. z3 / 60,
  1067. msh
  1068. })
  1069. end
  1070. },
  1071. Ring = {
  1072. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1073. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1074. prt.Anchored = true
  1075. prt.CFrame = cframe
  1076. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1077. game:GetService("Debris"):AddItem(prt, 10)
  1078. table.insert(Effects, {
  1079. prt,
  1080. "Cylinder",
  1081. delay,
  1082. x3,
  1083. y3,
  1084. z3,
  1085. msh
  1086. })
  1087. end
  1088. },
  1089. Break = {
  1090. Create = function(brickcolor, cframe, x1, y1, z1)
  1091. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1092. prt.Anchored = true
  1093. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1094. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1095. local num = math.random(10, 50) / 1000
  1096. game:GetService("Debris"):AddItem(prt, 10)
  1097. table.insert(Effects, {
  1098. prt,
  1099. "Shatter",
  1100. num,
  1101. prt.CFrame,
  1102. math.random() - math.random(),
  1103. 0,
  1104. math.random(50, 100) / 100
  1105. })
  1106. end
  1107. },
  1108. Spiral = {
  1109. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1110. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1111. prt.Anchored = true
  1112. prt.CFrame = cframe
  1113. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1114. game:GetService("Debris"):AddItem(prt, 10)
  1115. table.insert(Effects, {
  1116. prt,
  1117. "Cylinder",
  1118. delay,
  1119. x3,
  1120. y3,
  1121. z3,
  1122. msh
  1123. })
  1124. end
  1125. },
  1126. Push = {
  1127. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1128. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1129. prt.Anchored = true
  1130. prt.CFrame = cframe
  1131. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1132. game:GetService("Debris"):AddItem(prt, 10)
  1133. table.insert(Effects, {
  1134. prt,
  1135. "Cylinder",
  1136. delay,
  1137. x3,
  1138. y3,
  1139. z3,
  1140. msh
  1141. })
  1142. end
  1143. }
  1144. }
  1145. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1146. local fp = IT("Part")
  1147. fp.formFactor = formfactor
  1148. fp.Parent = parent
  1149. fp.Reflectance = reflectance
  1150. fp.Transparency = transparency
  1151. fp.CanCollide = false
  1152. fp.Locked = true
  1153. fp.BrickColor = brickcolor
  1154. fp.Name = name
  1155. fp.Size = size
  1156. fp.Position = tors.Position
  1157. RemoveOutlines(fp)
  1158. fp.Material = "SmoothPlastic"
  1159. fp:BreakJoints()
  1160. return fp
  1161. end
  1162.  
  1163. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1164. local mesh = IT(Mesh)
  1165. mesh.Parent = part
  1166. if Mesh == "SpecialMesh" then
  1167. mesh.MeshType = meshtype
  1168. if meshid ~= "nil" then
  1169. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1170. end
  1171. end
  1172. mesh.Offset = offset
  1173. mesh.Scale = scale
  1174. return mesh
  1175. end
  1176.  
  1177. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1178. local type = type
  1179. local rng = Instance.new("Part", char)
  1180. rng.Anchored = true
  1181. rng.BrickColor = color
  1182. rng.CanCollide = false
  1183. rng.FormFactor = 3
  1184. rng.Name = "Ring"
  1185. rng.Material = "Neon"
  1186. rng.Size = Vector3.new(1, 1, 1)
  1187. rng.Transparency = 0
  1188. rng.TopSurface = 0
  1189. rng.BottomSurface = 0
  1190. rng.CFrame = pos
  1191. local rngm = Instance.new("SpecialMesh", rng)
  1192. rngm.MeshType = MType
  1193. rngm.Scale = scale
  1194. local scaler2 = 1
  1195. if type == "Add" then
  1196. scaler2 = 1 * value
  1197. elseif type == "Divide" then
  1198. scaler2 = 1 / value
  1199. end
  1200. coroutine.resume(coroutine.create(function()
  1201. for i = 0, 10 / bonuspeed, 0.1 do
  1202. swait()
  1203. if type == "Add" then
  1204. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1205. elseif type == "Divide" then
  1206. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1207. end
  1208. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1209. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1210. end
  1211. rng:Destroy()
  1212. end))
  1213. end
  1214.  
  1215. function Eviscerate(dude)
  1216. if dude.Name ~= char then
  1217. local bgf = IT("BodyGyro", dude.Head)
  1218. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1219. local val = IT("BoolValue", dude)
  1220. val.Name = "IsHit"
  1221. local ds = coroutine.wrap(function()
  1222. dude:WaitForChild("Head"):BreakJoints()
  1223. wait(0.5)
  1224. target = nil
  1225. coroutine.resume(coroutine.create(function()
  1226. for i, v in pairs(dude:GetChildren()) do
  1227. if v:IsA("Accessory") then
  1228. v:Destroy()
  1229. end
  1230. if v:IsA("Humanoid") then
  1231. v:Destroy()
  1232. end
  1233. if v:IsA("CharacterMesh") then
  1234. v:Destroy()
  1235. end
  1236. if v:IsA("Model") then
  1237. v:Destroy()
  1238. end
  1239. if v:IsA("Part") or v:IsA("MeshPart") then
  1240. for x, o in pairs(v:GetChildren()) do
  1241. if o:IsA("Decal") then
  1242. o:Destroy()
  1243. end
  1244. end
  1245. coroutine.resume(coroutine.create(function()
  1246. v.Material = "Neon"
  1247. v.CanCollide = false
  1248. local PartEmmit1 = IT("ParticleEmitter", v)
  1249. PartEmmit1.LightEmission = 1
  1250. PartEmmit1.Texture = "rbxassetid://284205403"
  1251. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1252. PartEmmit1.Rate = 150
  1253. PartEmmit1.Lifetime = NumberRange.new(1)
  1254. PartEmmit1.Size = NumberSequence.new({
  1255. NumberSequenceKeypoint.new(0, 0.75, 0),
  1256. NumberSequenceKeypoint.new(1, 0, 0)
  1257. })
  1258. PartEmmit1.Transparency = NumberSequence.new({
  1259. NumberSequenceKeypoint.new(0, 0, 0),
  1260. NumberSequenceKeypoint.new(1, 1, 0)
  1261. })
  1262. PartEmmit1.Speed = NumberRange.new(0, 0)
  1263. PartEmmit1.VelocitySpread = 30000
  1264. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1265. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1266. local BodPoss = IT("BodyPosition", v)
  1267. BodPoss.P = 3000
  1268. BodPoss.D = 1000
  1269. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1270. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1271. v.Color = maincolor.Color
  1272. coroutine.resume(coroutine.create(function()
  1273. for i = 0, 49 do
  1274. swait(1)
  1275. v.Transparency = v.Transparency + 0.08
  1276. end
  1277. wait(0.5)
  1278. PartEmmit1.Enabled = false
  1279. wait(3)
  1280. v:Destroy()
  1281. dude:Destroy()
  1282. end))
  1283. end))
  1284. end
  1285. end
  1286. end))
  1287. end)
  1288. ds()
  1289. end
  1290. end
  1291.  
  1292. function FindNearestHead(Position, Distance, SinglePlayer)
  1293. if SinglePlayer then
  1294. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1295. end
  1296. local List = {}
  1297. for i, v in pairs(workspace:GetChildren()) do
  1298. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1299. table.insert(List, v)
  1300. end
  1301. end
  1302. return List
  1303. end
  1304.  
  1305. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1306. local type = type
  1307. local rng = Instance.new("Part", char)
  1308. rng.Anchored = true
  1309. rng.BrickColor = color
  1310. rng.CanCollide = false
  1311. rng.FormFactor = 3
  1312. rng.Name = "Ring"
  1313. rng.Material = "Neon"
  1314. rng.Size = Vector3.new(1, 1, 1)
  1315. rng.Transparency = 0
  1316. rng.TopSurface = 0
  1317. rng.BottomSurface = 0
  1318. rng.CFrame = pos
  1319. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1320. local rngm = Instance.new("SpecialMesh", rng)
  1321. rngm.MeshType = MType
  1322. rngm.Scale = Vector3.new(x1, y1, z1)
  1323. local scaler2 = 1
  1324. local speeder = FastSpeed
  1325. if type == "Add" then
  1326. scaler2 = 1 * value
  1327. elseif type == "Divide" then
  1328. scaler2 = 1 / value
  1329. end
  1330. coroutine.resume(coroutine.create(function()
  1331. for i = 0, 10 / bonuspeed, 0.1 do
  1332. swait()
  1333. if type == "Add" then
  1334. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1335. elseif type == "Divide" then
  1336. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1337. end
  1338. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1339. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1340. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1341. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1342. end
  1343. rng:Destroy()
  1344. end))
  1345. end
  1346.  
  1347. function SoulSteal(dude)
  1348. if dude.Name ~= char then
  1349. local bgf = IT("BodyGyro", dude.Head)
  1350. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1351. local val = IT("BoolValue", dude)
  1352. val.Name = "IsHit"
  1353. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1354. local soulst = coroutine.wrap(function()
  1355. local soul = Instance.new("Part",dude)
  1356. soul.Size = Vector3.new(1,1,1)
  1357. soul.CanCollide = false
  1358. soul.Anchored = false
  1359. soul.Position = torso.Position
  1360. soul.Transparency = 1
  1361. local PartEmmit1 = IT("ParticleEmitter", soul)
  1362. PartEmmit1.LightEmission = 1
  1363. PartEmmit1.Texture = "rbxassetid://569507414"
  1364. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1365. PartEmmit1.Rate = 250
  1366. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1367. PartEmmit1.Size = NumberSequence.new({
  1368. NumberSequenceKeypoint.new(0, 1, 0),
  1369. NumberSequenceKeypoint.new(1, 0, 0)
  1370. })
  1371. PartEmmit1.Transparency = NumberSequence.new({
  1372. NumberSequenceKeypoint.new(0, 0, 0),
  1373. NumberSequenceKeypoint.new(1, 1, 0)
  1374. })
  1375. PartEmmit1.Speed = NumberRange.new(0, 0)
  1376. PartEmmit1.VelocitySpread = 30000
  1377. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1378. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1379. local BodPoss = IT("BodyPosition", soul)
  1380. BodPoss.P = 3000
  1381. BodPoss.D = 1000
  1382. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1383. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1384. wait(1.6)
  1385. soul.Touched:connect(function(hit)
  1386. if hit.Parent == char then
  1387. soul:Destroy()
  1388. end
  1389. end)
  1390. wait(1.2)
  1391. while soul do
  1392. swait()
  1393. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1394. BodPoss.Position = tors.Position
  1395. end
  1396. end)
  1397. soulst()
  1398. end
  1399. end
  1400. function FaceMouse()
  1401. local Cam = workspace.CurrentCamera
  1402. return {
  1403. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1404. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1405. }
  1406. end
  1407. --------------------
  1408. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1409. local NEWMESH = Instance.new(MESH)
  1410. if MESH == "SpecialMesh" then
  1411. NEWMESH.MeshType = MESHTYPE
  1412. if MESHID ~= "nil" and MESHID ~= "" then
  1413. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1414. end
  1415. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1416. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1417. end
  1418. end
  1419. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1420. NEWMESH.Scale = SCALE
  1421. NEWMESH.Parent = PARENT
  1422. return NEWMESH
  1423. end
  1424.  
  1425. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1426. local NEWPART = Instance.new("Part")
  1427. NEWPART.formFactor = FORMFACTOR
  1428. NEWPART.Reflectance = REFLECTANCE
  1429. NEWPART.Transparency = TRANSPARENCY
  1430. NEWPART.CanCollide = false
  1431. NEWPART.Locked = true
  1432. NEWPART.Anchored = true
  1433. if ANCHOR == false then
  1434. NEWPART.Anchored = false
  1435. end
  1436. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1437. NEWPART.Name = NAME
  1438. NEWPART.Size = SIZE
  1439. NEWPART.Position = tors.Position
  1440. NEWPART.Material = MATERIAL
  1441. NEWPART:BreakJoints()
  1442. NEWPART.Parent = PARENT
  1443. return NEWPART
  1444. end
  1445.  
  1446. local function weldBetween(a, b)
  1447. local weldd = Instance.new("ManualWeld")
  1448. weldd.Part0 = a
  1449. weldd.Part1 = b
  1450. weldd.C0 = CFrame.new()
  1451. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1452. weldd.Parent = a
  1453. return weldd
  1454. end
  1455.  
  1456. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1457. local acs = Instance.new("Part")
  1458. acs.CanCollide = false
  1459. acs.Anchored = false
  1460. acs.Size = Vector3.new(0,0,0)
  1461. acs.CFrame = attachmentpart.CFrame
  1462. acs.Parent = char
  1463. acs.BrickColor = color
  1464. local meshs = Instance.new("SpecialMesh")
  1465. meshs.MeshId = mesh
  1466. meshs.TextureId = texture
  1467. meshs.Parent = acs
  1468. meshs.Scale = scale
  1469. meshs.Offset = offset
  1470. weldBetween(attachmentpart,acs)
  1471. end
  1472.  
  1473. local accessories = Instance.new("Folder",char)
  1474. accessories.Name = "Add-ons"
  1475.  
  1476. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1477. if TYPE == "Gem" then
  1478. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1479. acs.Anchored = false
  1480. acs.CanCollide = false
  1481. acs.CFrame = PART.CFrame
  1482. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1483. weldBetween(PART,acs)
  1484. elseif TYPE == "Skull" then
  1485. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1486. acs.Anchored = false
  1487. acs.CanCollide = false
  1488. acs.CFrame = PART.CFrame
  1489. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1490. weldBetween(PART,acs)
  1491. elseif TYPE == "Eye" then
  1492. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1493. acs.Anchored = false
  1494. acs.CanCollide = false
  1495. acs.CFrame = PART.CFrame
  1496. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1497. weldBetween(PART,acs)
  1498. end
  1499. end
  1500.  
  1501. createbodypart("Eye","Dark indigo",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1502. createbodypart("Eye","Dark indigo",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1503. -----------------------------------
  1504. --End Effect Function--
  1505. -------------------------------------------------------
  1506. function Cso(ID, PARENT, VOLUME, PITCH)
  1507. local NSound = nil
  1508. coroutine.resume(coroutine.create(function()
  1509. NSound = IT("Sound", PARENT)
  1510. NSound.Volume = VOLUME
  1511. NSound.Pitch = PITCH
  1512. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1513. swait()
  1514. NSound:play()
  1515. game:GetService("Debris"):AddItem(NSound, 10)
  1516. end))
  1517. return NSound
  1518. end
  1519. function CameraEnshaking(Length, Intensity)
  1520. coroutine.resume(coroutine.create(function()
  1521. local intensity = 1 * Intensity
  1522. local rotM = 0.01 * Intensity
  1523. for i = 0, Length, 0.1 do
  1524. swait()
  1525. intensity = intensity - 0.05 * Intensity / Length
  1526. rotM = rotM - 5.0E-4 * Intensity / Length
  1527. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1528. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1529. end
  1530. hum.CameraOffset = Vector3.new(0, 0, 0)
  1531. end))
  1532. end
  1533. --
  1534. function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1535. local type = type
  1536. local rng = Instance.new("Part", char)
  1537. rng.Anchored = true
  1538. rng.BrickColor = color
  1539. rng.CanCollide = false
  1540. rng.FormFactor = 3
  1541. rng.Name = "Ring"
  1542. rng.Material = "Neon"
  1543. rng.Size = Vector3.new(1, 1, 1)
  1544. rng.Transparency = 0
  1545. rng.TopSurface = 0
  1546. rng.BottomSurface = 0
  1547. rng.CFrame = pos
  1548. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1549. local rngm = Instance.new("SpecialMesh", rng)
  1550. rngm.MeshType = "Sphere"
  1551. rngm.Scale = Vector3.new(x1, y1, z1)
  1552. local scaler2 = 1
  1553. local speeder = FastSpeed
  1554. if type == "Add" then
  1555. scaler2 = 1 * value
  1556. elseif type == "Divide" then
  1557. scaler2 = 1 / value
  1558. end
  1559. coroutine.resume(coroutine.create(function()
  1560. for i = 0, 10 / bonuspeed, 0.1 do
  1561. swait()
  1562. if type == "Add" then
  1563. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1564. elseif type == "Divide" then
  1565. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1566. end
  1567. rng.BrickColor = BrickColor.random()
  1568. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1569. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1570. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1571. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1572. end
  1573. rng:Destroy()
  1574. end))
  1575. end
  1576.  
  1577. function FindNearestHead(Position, Distance, SinglePlayer)
  1578. if SinglePlayer then
  1579. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1580. end
  1581. local List = {}
  1582. for i, v in pairs(workspace:GetChildren()) do
  1583. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1584. table.insert(List, v)
  1585. end
  1586. end
  1587. return List
  1588. end
  1589.  
  1590. function dmg(dude)
  1591. if dude.Name ~= char then
  1592. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1593. local bgf = Instance.new("BodyGyro",dude.Head)
  1594. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  1595. local val = Instance.new("BoolValue",dude)
  1596. val.Name = "IsHit"
  1597. coroutine.wrap(function()
  1598. targetted = nil
  1599. swait(30)
  1600. local asd = Instance.new("ParticleEmitter",dude.Head)
  1601. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1602. asd.LightEmission = .1
  1603. asd.Size = NumberSequence.new(0.2)
  1604. asd.Texture = "rbxassetid://771221224"
  1605. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1606. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1607. asd.Transparency = bbb
  1608. asd.Size = aaa
  1609. asd.ZOffset = .9
  1610. asd.Acceleration = Vector3.new(0, -5, 0)
  1611. asd.LockedToPart = false
  1612. asd.EmissionDirection = "Back"
  1613. asd.Lifetime = NumberRange.new(1, 2)
  1614. asd.Rate = 1000
  1615. asd.Rotation = NumberRange.new(-100, 100)
  1616. asd.RotSpeed = NumberRange.new(-100, 100)
  1617. asd.Speed = NumberRange.new(6)
  1618. asd.VelocitySpread = 10000
  1619. asd.Enabled=true
  1620. dude:BreakJoints()
  1621. swait(5)
  1622. for i,v in pairs(dude:GetChildren()) do
  1623. if v:IsA("BasePart") then
  1624. local bodpos = Instance.new("BodyPosition",v)
  1625. bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1626. end
  1627. end
  1628. for i=0,1,.05 do
  1629. for a,v in pairs(dude:GetChildren()) do
  1630. if v:IsA("BasePart") then
  1631. v.Transparency = i
  1632. end
  1633. end
  1634. swait()
  1635. end
  1636. for a,v in pairs(dude:GetChildren()) do
  1637. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1638. v.ParticleEmitter.Enabled = false
  1639. end
  1640. game:service'Debris':AddItem(v,2)
  1641. asd.Enabled = false
  1642. end
  1643. end)()
  1644. end
  1645. end
  1646.  
  1647.  
  1648.  
  1649. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1650. --local buddy
  1651. for _, c in pairs(workspace:GetDescendants()) do
  1652. local hum = c:FindFirstChildOfClass("Humanoid")
  1653. if hum ~= nil then
  1654. local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
  1655. if head ~= nil then
  1656. local targ = head.Position - Part.Position
  1657. local mag = targ.magnitude
  1658. if mag <= Magnitude and c.Name ~= plr.Name and c:FindFirstChild("MagDmgd")==nil then
  1659. if c.Name ~= char then
  1660. if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" or c.Name ~= "Makhail07" then
  1661. local val = Instance.new("BoolValue",c)
  1662. val.Name = "MagDmgd"
  1663. local asd = Instance.new("ParticleEmitter",head)
  1664. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1665. asd.LightEmission = .1
  1666. asd.Size = NumberSequence.new(0.2)
  1667. asd.Texture = "rbxassetid://771221224"
  1668. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1669. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1670. asd.Transparency = bbb
  1671. asd.Size = aaa
  1672. asd.ZOffset = .9
  1673. asd.Acceleration = Vector3.new(0, -5, 0)
  1674. asd.LockedToPart = false
  1675. asd.EmissionDirection = "Back"
  1676. asd.Lifetime = NumberRange.new(1, 2)
  1677. asd.Rate = 1000
  1678. asd.Rotation = NumberRange.new(-100, 100)
  1679. asd.RotSpeed = NumberRange.new(-100, 100)
  1680. asd.Speed = NumberRange.new(6)
  1681. asd.VelocitySpread = 10000
  1682. asd.Enabled=true
  1683. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1684. dmg(c)
  1685. CFuncs["Sound"].Create("rbxassetid://206082273", c.Head, 1.2, .8)
  1686. coroutine.wrap(function()
  1687. swait(.2)
  1688. asd.Enabled = false
  1689. wait(2)
  1690. asd:Remove()
  1691. end)()
  1692. else
  1693.  
  1694. Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1695.  
  1696. end
  1697. end
  1698. end
  1699. end
  1700. end
  1701. end
  1702. end
  1703.  
  1704. targetted = nil
  1705.  
  1706. -------------------------------------------------------
  1707. --End Important Functions--
  1708. -------------------------------------------------------
  1709.  
  1710.  
  1711. local Lite = IT("PointLight",tors)
  1712. Lite.Color = Color3.new(.7,0,1)
  1713. Lite.Range = 8
  1714. Lite.Brightness = 10
  1715. Lite.Shadows = true
  1716. --
  1717. abss = Instance.new("BillboardGui",char)
  1718. abss.Size = UDim2.new(10,0,10,0)
  1719. abss.Enabled = false
  1720. imgl = Instance.new("ImageLabel",abss)
  1721. imgl.Position = UDim2.new(0,0,0,0)
  1722. imgl.Size = UDim2.new(1,0,1,0)
  1723. imgl.Image = "rbxassetid://224019254"
  1724. imgl.BackgroundTransparency = 1
  1725. imgl.ImageColor3 = Color3.new(.5,0,.5)
  1726. img2 = Instance.new("ImageLabel",abss)
  1727. img2.Position = UDim2.new(0,0,0,0)
  1728. img2.Size = UDim2.new(1,0,1,0)
  1729. img2.Image = "rbxassetid://224019254"
  1730. img2.BackgroundTransparency = 1
  1731. img2.ImageColor3 = Color3.new(.5,0,.5)
  1732. -------------------------------------------------------
  1733. --Start Customization--
  1734. -------------------------------------------------------
  1735. local Player_Size = 1
  1736. if Player_Size ~= 1 then
  1737. root.Size = root.Size * Player_Size
  1738. tors.Size = tors.Size * Player_Size
  1739. hed.Size = hed.Size * Player_Size
  1740. ra.Size = ra.Size * Player_Size
  1741. la.Size = la.Size * Player_Size
  1742. rl.Size = rl.Size * Player_Size
  1743. ll.Size = ll.Size * Player_Size
  1744. ----------------------------------------------------------------------------------
  1745. rootj.Parent = root
  1746. neck.Parent = tors
  1747. RW.Parent = tors
  1748. LW.Parent = tors
  1749. RH.Parent = tors
  1750. LH.Parent = tors
  1751. ----------------------------------------------------------------------------------
  1752. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1753. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1754. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1755. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1756. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1757. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1758. ----------------------------------------------------------------------------------
  1759. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1760. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1761. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1762. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1763. --hat.Parent = Character
  1764. end
  1765. ----------------------------------------------------------------------------------
  1766. local SONG = 580367180
  1767. local SONG2 = 0
  1768. local Music = Instance.new("Sound",tors)
  1769. Music.Volume = 2.5
  1770. Music.Looped = true
  1771. Music.Pitch = 1 --Pitcher
  1772. ----------------------------------------------------------------------------------
  1773. local equipped = false
  1774. local idle = 0
  1775. local change = 1
  1776. local val = 0
  1777. local toim = 0
  1778. local idleanim = 0.4
  1779. local sine = 0
  1780. local Sit = 1
  1781. ----------------------------------------------------------------------------------
  1782. hum.WalkSpeed = 8
  1783. hum.JumpPower = 57
  1784. hum.Animator.Parent = nil
  1785. ----------------------------------------------------------------------------------
  1786. local r = 255
  1787. local g = 0
  1788. local b = 0
  1789. coroutine.resume(coroutine.create(function()
  1790. while wait() do
  1791. for i = 0, 50.8 do
  1792. swait()
  1793. g = g + 5
  1794. end
  1795. for i = 0, 50.8 do
  1796. swait()
  1797. r = r - 5
  1798. end
  1799. for i = 0, 50.8 do
  1800. swait()
  1801. b = b + 5
  1802. end
  1803. for i = 0, 50.8 do
  1804. swait()
  1805. g = g - 5
  1806. end
  1807. for i = 0, 50.8 do
  1808. swait()
  1809. r = r + 5
  1810. end
  1811. for i = 0, 50.8 do
  1812. swait()
  1813. b = b - 5
  1814. end
  1815. end
  1816. end))
  1817.  
  1818. ---
  1819.  
  1820.  
  1821.  
  1822. ----------------------------------------------------------------------------------
  1823. local naeeym2 = IT("BillboardGui",char)
  1824. naeeym2.AlwaysOnTop = true
  1825. naeeym2.Size = UDim2.new(5,35,2,15)
  1826. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1827. naeeym2.MaxDistance = 75
  1828. naeeym2.Adornee = hed
  1829. naeeym2.Name = "Name"
  1830. local tecks2 = IT("TextLabel",naeeym2)
  1831. tecks2.BackgroundTransparency = 1
  1832. tecks2.TextScaled = true
  1833. tecks2.BorderSizePixel = 0
  1834. tecks2.Text = ""
  1835. tecks2.Font = "Fantasy"
  1836. tecks2.TextSize = 30
  1837. tecks2.TextStrokeTransparency = 0
  1838. tecks2.TextColor3 = Color3.new(1,1,1)
  1839. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1840. tecks2.Size = UDim2.new(1,0,0.5,0)
  1841. tecks2.Parent = naeeym2
  1842. hed.face.Texture = "rbxassetid://178503660"
  1843. --
  1844. CV="Blue"
  1845. Player = game.Players.LocalPlayer
  1846. Character = Player.Character
  1847. local txt = Instance.new("BillboardGui", Character)
  1848. txt.Adornee = Character .Head
  1849. txt.Name = "_status"
  1850. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1851. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1852. local text = Instance.new("TextLabel", txt)
  1853. text.Size = UDim2.new(10, 0, 7, 0)
  1854. text.FontSize = "Size24"
  1855. text.TextScaled = true
  1856. text.TextTransparency = 0
  1857. text.BackgroundTransparency = 1
  1858. text.TextTransparency = 0
  1859. text.TextStrokeTransparency = 0
  1860. text.Font = "Antique"
  1861. text.TextStrokeColor3 = Color3.new(.5,0,.5)
  1862.  
  1863. v=Instance.new("Part")
  1864. v.Name = "ColorBrick"
  1865. v.Parent=Player.Character
  1866. v.FormFactor="Symmetric"
  1867. v.Anchored=true
  1868. v.CanCollide=false
  1869. v.BottomSurface="Smooth"
  1870. v.TopSurface="Smooth"
  1871. v.Size=Vector3.new(10,5,3)
  1872. v.Transparency=1
  1873. v.CFrame=Character.Torso.CFrame
  1874. v.BrickColor=BrickColor.new(CV)
  1875. v.Transparency=1
  1876. text.TextColor3 = Color3.new(0,0,0)
  1877. v.Shape="Block"
  1878. text.Text = "Stranger"
  1879. coroutine.resume(coroutine.create(function()
  1880. while true do wait()
  1881. text.Text = "Stranger"
  1882. wait(math.random(1,2))
  1883. local textline = math.random(1,4)
  1884. if textline == 1 then
  1885. text.Text = "S!#T$R!%4n$G3r"
  1886. wait()
  1887. text.Text = "H|I:)"
  1888.  
  1889. end
  1890. if textline == 2 then
  1891. text.Text = "=$?_#Wh4t)"
  1892. wait(.05)
  1893.  
  1894. if textline == 3 then
  1895. text.Text = "%E#rro!r#"
  1896. wait(.05)
  1897. text.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  1898.  
  1899. end
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907. end
  1908. end
  1909.  
  1910.  
  1911.  
  1912. end))
  1913. ---
  1914.  
  1915. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1916. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1917. prt.Anchored = true
  1918. prt.CFrame = cframe
  1919. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1920. game:GetService("Debris"):AddItem(prt, 10)
  1921. if Type == 1 or Type == nil then
  1922. table.insert(Effects, {
  1923. prt,
  1924. "Block1",
  1925. delay,
  1926. x3,
  1927. y3,
  1928. z3,
  1929. msh
  1930. })
  1931. elseif Type == 2 then
  1932. table.insert(Effects, {
  1933. prt,
  1934. "Block2",
  1935. delay,
  1936. x3,
  1937. y3,
  1938. z3,
  1939. msh
  1940. })
  1941. elseif Type == 3 then
  1942. table.insert(Effects, {
  1943. prt,
  1944. "Block3",
  1945. delay,
  1946. x3,
  1947. y3,
  1948. z3,
  1949. msh
  1950. })
  1951. end
  1952. end
  1953.  
  1954.  
  1955.  
  1956.  
  1957. ----------------------------------------------------------------------------------
  1958. Reaper = IT("Model")
  1959. Reaper.Parent = char
  1960. Reaper.Name = "Reaper"
  1961. RHe = IT("Part")
  1962. RHe.Parent = Reaper
  1963. RHe.BrickColor = BrickC("Really black")
  1964. RHe.Locked = true
  1965. RHe.CanCollide = false
  1966. RHe.Transparency = 0
  1967. PMesh = IT("SpecialMesh")
  1968. RHe.formFactor = "Symmetric"
  1969. PMesh.MeshType = "FileMesh"
  1970. PMesh.MeshId = "rbxassetid://1374148"
  1971. PMesh.TextureId = "rbxassetid://185703978"
  1972. PMesh.Scale = Vector3.new(1, 1, 1)
  1973. PMesh.Parent = RHe
  1974. local RWeld = IT("Weld")
  1975. RWeld.Parent = RHe
  1976. RWeld.Part0 = RHe
  1977. RWeld.Part1 = hed
  1978. RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
  1979. -------------------------------------------------------
  1980. --End Customization--
  1981. -------------------------------------------------------
  1982.  
  1983. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1984. local NSound = nil
  1985. coroutine.resume(coroutine.create(function()
  1986. NSound = Instance.new("Sound", PARENT)
  1987. NSound.Volume = VOLUME
  1988. NSound.Pitch = PITCH
  1989. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1990. swait()
  1991. NSound:play()
  1992. game:GetService("Debris"):AddItem(NSound, 10)
  1993. end))
  1994. return NSound
  1995. end
  1996.  
  1997.  
  1998. -------------------------------------------------------
  1999. --Start Attacks N Stuff--
  2000. -------------------------------------------------------
  2001. local sine=0
  2002. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2003. local Hitboxpart = Instance.new("Part", EffectModel)
  2004. RemoveOutlines(Hitboxpart)
  2005. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2006. Hitboxpart.CanCollide = false
  2007. Hitboxpart.Transparency = 1
  2008. Hitboxpart.Anchored = true
  2009. Hitboxpart.CFrame = Pose
  2010. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2011. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2012. end
  2013. wait2 = false
  2014. combo = 1
  2015. mouse.Button1Down:connect(function(key)
  2016. if attack == false then
  2017. attack = true
  2018. hum.WalkSpeed = 3.01
  2019. if combo == 1 and wait2 == false then
  2020. wait2 = true
  2021. for i = 0, 1.2, 0.1 do
  2022. swait()
  2023. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  2024. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  2025. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2026. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2027. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  2028. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  2029. end
  2030. CreateSound("138097048", ra, 3, .8)
  2031. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  2032. for i = 0, 1.2, 0.1 do
  2033. swait()
  2034. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  2035. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  2036. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2037. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  2038. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2039. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  2040. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2041. end
  2042.  
  2043. end
  2044. if combo == 3 and wait2 == false then
  2045. for i = 0, 1.2, 0.1 do
  2046. swait()
  2047. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  2048. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  2049. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2050. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2051. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  2052. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  2053. end
  2054. CreateSound("138097048", ra, 3, .8)
  2055. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  2056. for i = 0, 1.2, 0.1 do
  2057. swait()
  2058. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  2059. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2060. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  2061. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2062. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  2063. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2064. end
  2065. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  2066. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  2067. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  2068. for i = 0, 1.2, 0.1 do
  2069. swait()
  2070. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  2071. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2072. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  2073. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2074. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  2075. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2076. end
  2077. combo = 1
  2078. end
  2079. hum.WalkSpeed = 8
  2080. wait2 = false
  2081. attack = false
  2082. end
  2083. end)
  2084.  
  2085.  
  2086.  
  2087.  
  2088. function Ending()
  2089. local target = nil
  2090. local targettorso = nil
  2091. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2092. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2093. targetT = mouse.Target.Parent
  2094. target = mouse.Target.Parent.Humanoid
  2095. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2096. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2097. end
  2098. end
  2099. if target ~= nil then
  2100. targettorso.Anchored = true
  2101. attack = true
  2102. hum.WalkSpeed = 0
  2103. local originalpos = root.CFrame
  2104. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2105. for i = 0,1.8,0.1 do
  2106. swait()
  2107. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  2108. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  2109. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2110. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2111. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  2112. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2113. end
  2114. Eviscerate(targetT)
  2115. CreateSound("331666100", ra, 4, 1)
  2116. CreateSound("180083286", targettorso, 10, 1)
  2117. coroutine.resume(coroutine.create(function()
  2118. for i = 0,1.8,0.1 do
  2119. swait()
  2120. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2121. end
  2122. for i = 0,1.8,0.1 do
  2123. swait()
  2124. hum.CameraOffset = Vector3.new(0,0,0)
  2125. end
  2126. end))
  2127. for i = 0,4.6,0.1 do
  2128. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2129. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2130. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2131. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2132. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2133. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2134. end
  2135. wait(.6)
  2136. root.CFrame = originalpos
  2137. attack = false
  2138. hum.WalkSpeed = 8
  2139. end
  2140. end
  2141.  
  2142. function Painful_Stomp()
  2143. attack = true
  2144. for i = 0,0.1,0.1 do
  2145. swait()
  2146. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2147. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2148. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2149. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2150. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  2151. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  2152. end
  2153. CreateSound("331666100", char, 10, 1)
  2154. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2155. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2156. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2157. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2158. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  2159. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  2160. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2161. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  2162. if v:FindFirstChild("Head") then
  2163. Eviscerate(v)
  2164. end
  2165. end
  2166. coroutine.resume(coroutine.create(function()
  2167. for i = 0,2.8,0.1 do
  2168. swait()
  2169. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2170. end
  2171. for i = 0,1.8,0.1 do
  2172. swait()
  2173. hum.CameraOffset = Vector3.new(0,0,0)
  2174. end
  2175. end))
  2176. for i = 0,3.7,0.1 do
  2177. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2178. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2179. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  2180. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  2181. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2182. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2183. end
  2184. wait(.6)
  2185. attack = false
  2186. end
  2187.  
  2188.  
  2189. function Slam()
  2190. attack = true
  2191. for i = 0,5.2,0.1 do
  2192. swait()
  2193. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2194. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2195. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2196. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2197. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2198. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2199. end
  2200. CreateSound("331666100", tors, 10, 1)
  2201. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  2202. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  2203. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2204. Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  2205. MagniDamage(tors, 100, 400, 600, 10, "Normal")
  2206. coroutine.resume(coroutine.create(function()
  2207. for i = 0,1.8,0.1 do
  2208. swait()
  2209. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2210. end
  2211. for i = 0,1.8,0.1 do
  2212. swait()
  2213. hum.CameraOffset = Vector3.new(0,0,0)
  2214. end
  2215. end))
  2216. for i = 1,4.7,0.1 do
  2217. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2218. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2219. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2220. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2221. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2222. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2223. end
  2224. wait(.6)
  2225. attack = false
  2226. end
  2227.  
  2228. function Call_Upon_The_Eyes()
  2229. attack = true
  2230. hum.WalkSpeed = 0
  2231. for i = 0, 6, 0.1 do
  2232. swait()
  2233. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2234. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2235. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2236. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2237. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  2238. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2239. end
  2240. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2241. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2242. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2243. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2244. CameraEnshaking(4, 25)
  2245. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  2246. if v:FindFirstChild("Head") then
  2247. Eviscerate(v)
  2248. end
  2249. end
  2250. for i = 0, 6, 0.1 do
  2251. swait()
  2252. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2253. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2254. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2255. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2256. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
  2257. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2258. end
  2259. attack = false
  2260. hum.WalkSpeed = 10
  2261. end
  2262.  
  2263.  
  2264.  
  2265.  
  2266. function Painful_Stomp()
  2267. attack = true
  2268. for i = 0,5.2,0.1 do
  2269. swait()
  2270. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2271. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2272. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2273. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2274. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  2275. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  2276. end
  2277. CreateSound("331666100", char, 10, 1)
  2278. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2279. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2280. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2281. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2282. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  2283. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  2284. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2285. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  2286. if v:FindFirstChild("Head") then
  2287. Eviscerate(v)
  2288. end
  2289. end
  2290. coroutine.resume(coroutine.create(function()
  2291. for i = 0,2.8,0.1 do
  2292. swait()
  2293. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2294. end
  2295. for i = 0,1.8,0.1 do
  2296. swait()
  2297. hum.CameraOffset = Vector3.new(0,0,0)
  2298. end
  2299. end))
  2300. for i = 0,3.7,0.1 do
  2301. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2302. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2303. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  2304. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  2305. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2306. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2307. end
  2308. wait(.6)
  2309. attack = false
  2310. end
  2311.  
  2312. function Astigmatism()
  2313. attack = true
  2314. hum.WalkSpeed = 0
  2315. local Ring1 = Instance.new("Part", char)
  2316. Ring1.Anchored = true
  2317. Ring1.BrickColor = maincolor
  2318. Ring1.CanCollide = false
  2319. Ring1.FormFactor = 3
  2320. Ring1.Name = "Ring"
  2321. Ring1.Material = "Neon"
  2322. Ring1.Size = Vector3.new(1, 0.05, 1)
  2323. Ring1.Transparency = 1
  2324. Ring1.TopSurface = 0
  2325. Ring1.BottomSurface = 0
  2326. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  2327. Ring1Mesh.MeshType = "Brick"
  2328. Ring1Mesh.Name = "SizeMesh"
  2329. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  2330. local InnerRing1 = Ring1:Clone()
  2331. InnerRing1.Parent = char
  2332. InnerRing1.Transparency = 0
  2333. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  2334. InnerRing1.Size = Vector3.new(1, 1, 1)
  2335. local InnerRing1Mesh = InnerRing1.SizeMesh
  2336. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  2337. InnerRing1Mesh.MeshType = "Sphere"
  2338. Ring1:Destroy()
  2339. for i = 0, 6, 0.1 do
  2340. swait()
  2341. --orb.CFrame = Pupil.CFrame
  2342. Aura(7, 0.12, "Add", Handle.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
  2343. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2344. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2345. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2346. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2347. RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1)
  2348. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  2349. end
  2350. InnerRing1.Transparency = 1
  2351. InnerRing1.CFrame = Handle.CFrame + root.CFrame.lookVector * 5
  2352. Cso("294188875", char, 2.3, 1)
  2353. local a = IT("Part", char)
  2354. a.Name = "Direction"
  2355. a.Anchored = true
  2356. a.BrickColor = BrickC("Pastel violet")
  2357. a.Material = "SmoothPlastic"
  2358. a.Transparency = 0
  2359. a.Shape = "Cylinder"
  2360. a.CanCollide = false
  2361. local a2 = IT("Part", char)
  2362. a2.Name = "Direction"
  2363. a2.Anchored = true
  2364. a2.BrickColor = maincolor
  2365. a2.Color = maincolor.Color
  2366. a2.Material = "Neon"
  2367. a2.Transparency = 0.7
  2368. a2.Shape = "Cylinder"
  2369. a2.CanCollide = false
  2370. local ba = IT("Part", char)
  2371. ba.Name = "HitDirect"
  2372. ba.Anchored = true
  2373. ba.BrickColor = maincolor
  2374. ba.Material = "Neon"
  2375. ba.Transparency = 1
  2376. ba.CanCollide = false
  2377. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2378. local ignore = char
  2379. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2380. a.BottomSurface = 10
  2381. a.TopSurface = 10
  2382. a2.BottomSurface = 10
  2383. a2.TopSurface = 10
  2384. local distance = (InnerRing1.CFrame.p - position).magnitude
  2385. a.Size = Vector3.new(distance, 1, 1)
  2386. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2387. a2.Size = Vector3.new(distance, 1, 1)
  2388. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2389. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2390. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2391. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2392. game:GetService("Debris"):AddItem(a, 20)
  2393. game:GetService("Debris"):AddItem(a2, 20)
  2394. game:GetService("Debris"):AddItem(ba, 20)
  2395. local msh = Instance.new("SpecialMesh", a)
  2396. msh.MeshType = "Brick"
  2397. msh.Scale = Vector3.new(1, 5, 5)
  2398. local msh2 = Instance.new("SpecialMesh", a2)
  2399. msh2.MeshType = "Brick"
  2400. msh2.Scale = Vector3.new(1, 7, 7)
  2401. for i = 0, 10, 0.1 do
  2402. swait()
  2403. CameraEnshaking(1, 5)
  2404. a2.Color = maincolor.Color
  2405. root.CFrame = FaceMouse()[1]
  2406. InnerRing1.CFrame = Handle.CFrame + root.CFrame.lookVector * 4
  2407. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  2408. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2409. distance = (InnerRing1.CFrame.p - position).magnitude
  2410. a.Size = Vector3.new(distance, 1, 1)
  2411. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2412. a2.Size = Vector3.new(distance, 1, 1)
  2413. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  2414. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  2415. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  2416. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  2417. msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
  2418. msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
  2419. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  2420. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  2421. if v:FindFirstChild("Head") then
  2422. Eviscerate(v)
  2423. end
  2424. end
  2425. end
  2426. a:Destroy()
  2427. a2:Destroy()
  2428. ba:Destroy()
  2429. InnerRing1:Destroy()
  2430. attack = false
  2431. hum.WalkSpeed = 10
  2432. hum.CameraOffset = Vector3.new(0,0,0)
  2433. end
  2434.  
  2435. function IDK()
  2436. attack = true
  2437. hum.WalkSpeed = 0
  2438. local Blobby = IT("Part", char)
  2439. Blobby.Name = "Blob"
  2440. Blobby.CanCollide = false
  2441. Blobby.BrickColor = BrickC("Really black")
  2442. Blobby.Transparency = 0
  2443. Blobby.Material = "Plastic"
  2444. Blobby.Size = Vector3.new(1, 1, 2)
  2445. Blobby.TopSurface = Enum.SurfaceType.Smooth
  2446. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  2447.  
  2448. local Weld = IT("Weld", Blobby)
  2449. Weld.Part0 = hed
  2450. Weld.Part1 = Blobby
  2451. Weld.C1 = CF(0, -17.6, 1.4)
  2452. Weld.C0 = angles(Rad(0),0,0)
  2453.  
  2454. local M2 = IT("SpecialMesh")
  2455. M2.Parent = Blobby
  2456. M2.MeshId = "http://www.roblox.com/asset/?id=0"
  2457. M2.TextureId = "http://www.roblox.com/asset/?id=0"
  2458. M2.Scale = Vector3.new(45.65, 45.65, 45.65)
  2459. for i = 0, 6, 0.1 do
  2460. swait()
  2461. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2462. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2463. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2464. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2465. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  2466. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  2467. end
  2468. Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2469. Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2470. Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2471. for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
  2472. if v:FindFirstChild("Head") then
  2473. Eviscerate(v)
  2474. end
  2475. end
  2476. CameraEnshaking(4, 25)
  2477. for i = 0, 6, 0.1 do
  2478. swait()
  2479. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2480. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2481. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2482. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2483. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  2484. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  2485. end
  2486. Blobby:Destroy()
  2487. attack = false
  2488. hum.WalkSpeed = 10
  2489. end
  2490.  
  2491. function shootyboi()
  2492. attack = true
  2493. hum.WalkSpeed = 0
  2494. for i = 0,65 do
  2495. for i = 0,0.1,0.1 do
  2496. swait()
  2497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2499. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2500. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2501. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.3)
  2502. end
  2503. Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  2504. Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  2505. CreateSound("249050335", char, 1, .5)
  2506. local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2507. --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7)
  2508. ref1.Position = mouse.hit.p
  2509. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  2510. coroutine.wrap(function()
  2511. for i,v in next, workspace:children() do
  2512. local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso"
  2513. if v ~= char and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then
  2514. local hum = v:FindFirstChildOfClass"Humanoid"
  2515. if hum and hum.Health > 0 then
  2516. coroutine.wrap(function() dmg(v) end)()
  2517. end
  2518. end
  2519. end
  2520. end)()
  2521. local dist = (Cylinder1.CFrame.p - ref1.CFrame.p).magnitude
  2522. local ray1 = Create("Part"){Parent=workspace,BrickColor = BrickColor.new"Dark orange",Material = "Neon",Transparency = 0.25,Anchored=true,Locked=true,CanCollide=false,Size = Vector3.new(0.3, 0.3, dist),CFrame = CFrame.new(Cylinder1.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2)}
  2523. delay(0, function()
  2524. ray1.Anchored = true;
  2525. for i = 0.25, 1, .1 do
  2526. ray1.Transparency = i
  2527. wait()
  2528. end
  2529. ray1:destroy()
  2530. end)
  2531. for i = 0,0.1,0.1 do
  2532. swait()
  2533. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2534. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2535. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2536. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2537. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(115), math.rad(0), math.rad(0)), 0.3)
  2538. end
  2539. end
  2540. attack = false
  2541. hum.WalkSpeed = 8
  2542. end
  2543.  
  2544. function smileforme()
  2545. attack = true
  2546. hum.WalkSpeed = 0
  2547. for i = 1,55 do
  2548. for i = 0,0.1,0.1 do
  2549. swait()
  2550. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2551. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2552. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2553. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2554. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  2555.  
  2556. end
  2557. Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  2558. Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  2559. CreateSound("249050335", char, 1, .5)
  2560.  
  2561. for i = 0,0.1,0.1 do
  2562. swait()
  2563. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2564. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2565. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2566. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2567. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  2568. end
  2569. end
  2570. local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2571. wait(.4)
  2572. attack = false
  2573. hum.WalkSpeed = 8
  2574. for i = 1, 65 do
  2575. wait(.1)
  2576. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", char, 1.5, .7)
  2577. ref1.Position = mouse.hit.p
  2578. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  2579. mdmg(ref1, 10)
  2580. Effects.Cylinder.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, .7, 0, .7, 0.05)
  2581. Effects.Sphere.Create(BrickColor.new("Dark orange"), ref1.CFrame, 1, 1, 1, .7, .7, .7, 0.05)
  2582. --Effects.Break.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, 3.7, 3.7, 3.7, 0.07)
  2583. end
  2584. ref1:Remove()
  2585.  
  2586. end
  2587. --
  2588. ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2589. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  2590. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2591. -------------------------------------------------------
  2592. --End Attacks N Stuff--
  2593. -------------------------------------------------------
  2594. MoreTaunts = false
  2595.  
  2596. mouse.KeyDown:connect(function(key)
  2597. if attack == false then
  2598.  
  2599. if key == 'y' then
  2600. Hello()
  2601.  
  2602. end
  2603.  
  2604. if key == 'z' then
  2605. Astigmatism()
  2606.  
  2607. end
  2608. if key == 'c' then
  2609. smileforme()
  2610.  
  2611. end
  2612.  
  2613.  
  2614. if key == 'u' then
  2615. Call_Upon_The_Eyes()
  2616. end
  2617. if key == 'x' then
  2618. shootyboi()()
  2619. end
  2620.  
  2621. if key == 'v' then
  2622. Painful_Stomp()
  2623. end
  2624.  
  2625. if key == 'f' then
  2626. Blast_Of_God()
  2627. end
  2628. if key == 'r' then
  2629. Slam()
  2630. end
  2631.  
  2632.  
  2633. if string.byte(key) == 48 then
  2634. Swing = 2
  2635. hum.WalkSpeed = 38.82
  2636. end
  2637. end
  2638. end)
  2639.  
  2640. mouse.KeyUp:connect(function(key)
  2641. if string.byte(key) == 48 then
  2642. Swing = 1
  2643. hum.WalkSpeed = 8
  2644. end
  2645. end)
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655. -------------------------------------------------------
  2656. --Start Animations--
  2657. -------------------------------------------------------
  2658.  
  2659.  
  2660. while true do
  2661. swait()
  2662. sine = sine + change
  2663. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2664. local velderp = root.Velocity.y
  2665. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2666. if equipped == true or equipped == false then
  2667. if attack == false then
  2668. idle = idle + 1
  2669. else
  2670. idle = 0
  2671. end
  2672.  
  2673. tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
  2674. if 1 < root.Velocity.y and hitfloor == nil then
  2675. Anim = "Jump"
  2676. if attack == false then
  2677. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2678. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2679. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2680. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2681. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2682. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2683. end
  2684. elseif -1 > root.Velocity.y and hitfloor == nil then
  2685. Anim = "Fall"
  2686. if attack == false then
  2687. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2688. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2689. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2690. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2691. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2692. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2693. end
  2694. elseif torvel < 1 and hitfloor ~= nil then
  2695. Anim = "Idle"
  2696. change = .5
  2697. if attack == false then
  2698. if Mrandom(1,15) == 1 then
  2699. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  2700. end
  2701. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2702. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2703. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2704. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2705. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
  2706. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  2707. end
  2708. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2709. Anim = "Walk"
  2710. change = .9
  2711. if attack == false then
  2712. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2713. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2714. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2715. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2716. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
  2717. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
  2718. end
  2719. elseif torvel >= 25 and hitfloor ~= nil then
  2720. Anim = "Sprint"
  2721. change = 1.35
  2722. if attack == false then
  2723. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2724. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2725. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2726. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2727. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2728. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2729. end
  2730. end
  2731. end
  2732. Music.SoundId = "rbxassetid://"..SONG
  2733. Music.Looped = true
  2734. Music.Pitch = 1
  2735. Music.Volume = 5
  2736. Music.Parent = tors
  2737. Music:Resume()
  2738. if 0 < #Effects then
  2739. for e = 1, #Effects do
  2740. if Effects[e] ~= nil then
  2741. local Thing = Effects[e]
  2742. if Thing ~= nil then
  2743. local Part = Thing[1]
  2744. local Mode = Thing[2]
  2745. local Delay = Thing[3]
  2746. local IncX = Thing[4]
  2747. local IncY = Thing[5]
  2748. local IncZ = Thing[6]
  2749. if 1 >= Thing[1].Transparency then
  2750. if Thing[2] == "Block1" then
  2751. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2752. local Mesh = Thing[1].Mesh
  2753. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2754. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2755. elseif Thing[2] == "Block2" then
  2756. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2757. local Mesh = Thing[7]
  2758. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2759. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2760. elseif Thing[2] == "Block3" then
  2761. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2762. local Mesh = Thing[7]
  2763. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2764. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2765. elseif Thing[2] == "Cylinder" then
  2766. local Mesh = Thing[1].Mesh
  2767. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2768. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2769. elseif Thing[2] == "Blood" then
  2770. local Mesh = Thing[7]
  2771. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2772. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2773. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2774. elseif Thing[2] == "Elec" then
  2775. local Mesh = Thing[1].Mesh
  2776. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2777. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2778. elseif Thing[2] == "Disappear" then
  2779. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2780. elseif Thing[2] == "Shatter" then
  2781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2782. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2783. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2784. Thing[6] = Thing[6] + Thing[5]
  2785. end
  2786. else
  2787. Part.Parent = nil
  2788. table.remove(Effects, e)
  2789. end
  2790. end
  2791. end
  2792. end
  2793. end
  2794. end
  2795. -------------------------------------------------------
  2796. --End Animations And Script--
  2797. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement