Advertisement
HenloMyDude

tec9

Nov 27th, 2019
748
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.95 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. --repeat wait() until script:WaitForChild'Owner'.Value
  5.  
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,game,owner = owner,game
  8. local RealPlayer = Player
  9. do
  10. print("FE Compatibility code V2 by Mokiros")
  11. local RealPlayer = RealPlayer
  12. script.Parent = RealPlayer.Character
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local Disconnect_Function = function(this)
  16. this[1].Functions[this[2]] = nil
  17. end
  18. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  19. local FakeEvent_Metatable = {__index={
  20. Connect = function(this,f)
  21. local i = tostring(math.random(0,10000))
  22. while this.Functions[i] do
  23. i = tostring(math.random(0,10000))
  24. end
  25. this.Functions[i] = f
  26. return setmetatable({this,i},Disconnect_Metatable)
  27. end
  28. }}
  29. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  30. local function fakeEvent()
  31. return setmetatable({Functions={}},FakeEvent_Metatable)
  32. end
  33.  
  34. --Creating fake input objects with fake variables
  35. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  36. FakeMouse.keyUp = FakeMouse.KeyUp
  37. FakeMouse.keyDown = FakeMouse.KeyDown
  38. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  39. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  40. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  41. end}
  42. --Merged 2 functions into one by checking amount of arguments
  43. CAS.UnbindAction = CAS.BindAction
  44.  
  45. --This function will trigger the events that have been :Connect()'ed
  46. local function TriggerEvent(self,ev,...)
  47. for _,f in pairs(self[ev].Functions) do
  48. f(...)
  49. end
  50. end
  51. FakeMouse.TriggerEvent = TriggerEvent
  52. UIS.TriggerEvent = TriggerEvent
  53.  
  54. --Client communication
  55. local Event = Instance.new("RemoteEvent")
  56. Event.Name = "UserInput_Event"
  57. Event.OnServerEvent:Connect(function(plr,io)
  58. if plr~=RealPlayer then return end
  59. FakeMouse.Target = io.Target
  60. FakeMouse.Hit = io.Hit
  61. if not io.isMouse then
  62. local b = io.UserInputState == Enum.UserInputState.Begin
  63. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  64. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  65. end
  66. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  67. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  68. end
  69. for _,t in pairs(CAS.Actions) do
  70. for _,k in pairs(t.Keys) do
  71. if k==io.KeyCode then
  72. t.Function(t.Name,io.UserInputState,io)
  73. end
  74. end
  75. end
  76. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  77. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  78. end
  79. end)
  80. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  81. local Mouse = owner:GetMouse()
  82. local UIS = game:GetService("UserInputService")
  83. local input = function(io,RobloxHandled)
  84. if RobloxHandled then return end
  85. --Since InputObject is a client-side instance, we create and pass table instead
  86. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  87. end
  88. UIS.InputBegan:Connect(input)
  89. UIS.InputEnded:Connect(input)
  90.  
  91. local h,t
  92. --Give the server mouse data every second frame, but only if the values changed
  93. --If player is not moving their mouse, client won't fire events
  94. local HB = game:GetService("RunService").Heartbeat
  95. while true do
  96. if h~=Mouse.Hit or t~=Mouse.Target then
  97. h,t=Mouse.Hit,Mouse.Target
  98. Event:FireServer({isMouse=true,Target=t,Hit=h})
  99. end
  100. --Wait 2 frames
  101. for i=1,2 do
  102. HB:Wait()
  103. end
  104. end]==],script)
  105.  
  106. ----Sandboxed game object that allows the usage of client-side methods and services
  107. --Real game object
  108. local RealGame = game
  109.  
  110. --Metatable for fake service
  111. local FakeService_Metatable = {
  112. __index = function(self,k)
  113. local s = rawget(self,"_RealService")
  114. if s then
  115. return typeof(s[k])=="function"
  116. and function(_,...)return s[k](s,...)end or s[k]
  117. end
  118. end,
  119. __newindex = function(self,k,v)
  120. local s = rawget(self,"_RealService")
  121. if s then s[k]=v end
  122. end
  123. }
  124. local function FakeService(t,RealService)
  125. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  126. return setmetatable(t,FakeService_Metatable)
  127. end
  128.  
  129. --Fake game object
  130. local FakeGame = {
  131. GetService = function(self,s)
  132. return rawget(self,s) or RealGame:GetService(s)
  133. end,
  134. Players = FakeService({
  135. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  136. },"Players"),
  137. UserInputService = FakeService(UIS,"UserInputService"),
  138. ContextActionService = FakeService(CAS,"ContextActionService"),
  139. RunService = FakeService({
  140. _btrs = {},
  141. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  142. BindToRenderStep = function(self,name,_,fun)
  143. self._btrs[name] = self.Heartbeat:Connect(fun)
  144. end,
  145. UnbindFromRenderStep = function(self,name)
  146. self._btrs[name]:Disconnect()
  147. end,
  148. },"RunService")
  149. }
  150. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  151. FakeGame.service = FakeGame.GetService
  152. FakeService(FakeGame,game)
  153. --Changing owner to fake player object to support owner:GetMouse()
  154. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  155. end
  156.  
  157. wait(0.2)
  158. Player = owner
  159. PlayerGui = Player.PlayerGui
  160. Cam = workspace.CurrentCamera
  161. Backpack = Player.Backpack
  162. Character = Player.Character
  163. Humanoid = Character.Humanoid
  164. Mouse = Player:GetMouse()
  165. RootPart = Character.HumanoidRootPart
  166. Torso = Character.Torso
  167. Head = Character.Head
  168. RightArm = Character["Right Arm"]
  169. LeftArm = Character["Left Arm"]
  170. RightLeg = Character["Right Leg"]
  171. LeftLeg = Character["Left Leg"]
  172. RootJoint = RootPart.RootJoint
  173. Neck = Torso.Neck
  174. RightShoulder = Torso["Right Shoulder"]
  175. LeftShoulder = Torso["Left Shoulder"]
  176. RightHip = Torso["Right Hip"]
  177. LeftHip = Torso["Left Hip"]
  178. local MOUSEPOS = RootPart.Position
  179. local TIME = 0
  180. local sick = Instance.new("Sound",Torso)
  181.  
  182. IT = Instance.new
  183. CF = CFrame.new
  184. VT = Vector3.new
  185. RAD = math.rad
  186. C3 = Color3.new
  187. UD2 = UDim2.new
  188. BRICKC = BrickColor.new
  189. ANGLES = CFrame.Angles
  190. EULER = CFrame.fromEulerAnglesXYZ
  191. COS = math.cos
  192. ACOS = math.acos
  193. SIN = math.sin
  194. ASIN = math.asin
  195. ABS = math.abs
  196. MRANDOM = math.random
  197. FLOOR = math.floor
  198.  
  199.  
  200. --Converted with ttyyuu12345's model to script plugin v4
  201. function sandbox(var,func)
  202. local env = getfenv(func)
  203. local newenv = setmetatable({},{
  204. __index = function(self,k)
  205. if k=="script" then
  206. return var
  207. else
  208. return env[k]
  209. end
  210. end,
  211. })
  212. setfenv(func,newenv)
  213. return func
  214. end
  215. cors = {}
  216. mas = Instance.new("Model",game:GetService("Lighting"))
  217. ParticleEmitter0 = Instance.new("ParticleEmitter")
  218. LocalScript1 = Instance.new("LocalScript")
  219. BoolValue2 = Instance.new("BoolValue")
  220. NumberValue3 = Instance.new("NumberValue")
  221. NumberValue4 = Instance.new("NumberValue")
  222. ParticleEmitter0.Name = "Blood"
  223. ParticleEmitter0.Parent = mas
  224. ParticleEmitter0.Speed = NumberRange.new(10, 35)
  225. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  226. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.490196, 0.0156863, 0.0156863))
  227. ParticleEmitter0.Enabled = false
  228. ParticleEmitter0.LightEmission = 0.5
  229. ParticleEmitter0.Texture = "rbxassetid://296981321"
  230. ParticleEmitter0.Transparency = NumberSequence.new(0.4375,0.74725270271301,0.86263734102249,0.94505494832993,1)
  231. ParticleEmitter0.Size = NumberSequence.new(0,1.1874997615814,1.3124996423721,1.4375001192093,2.2499995231628,3.125,4.625)
  232. ParticleEmitter0.Acceleration = Vector3.new(0, -35, 0)
  233. ParticleEmitter0.Drag = 5
  234. ParticleEmitter0.EmissionDirection = Enum.NormalId.Front
  235. ParticleEmitter0.Lifetime = NumberRange.new(1, 2)
  236. ParticleEmitter0.Rate = 999
  237. ParticleEmitter0.RotSpeed = NumberRange.new(-5, 5)
  238. ParticleEmitter0.SpreadAngle = Vector2.new(35, 35)
  239. ParticleEmitter0.VelocitySpread = 35
  240. LocalScript1.Name = "CamShake"
  241. LocalScript1.Parent = mas
  242. table.insert(cors,sandbox(LocalScript1,function()
  243. -- Synapse Decompiler
  244. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  245.  
  246. VT = Vector3.new
  247. MRANDOM = math.random
  248. COS = math.cos
  249. local A, B, C
  250. local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
  251. for _, c in pairs(script:GetChildren()) do
  252. if c.Name == "Timer" then
  253. A = c.Value
  254. elseif c.Name == "Shake" then
  255. B = c.Value * 2
  256. elseif c.Name == "DoesFade" then
  257. C = c.Value
  258. end
  259. end
  260. local TIMER = A or 35
  261. local SHAKE = B or 5
  262. local FADE = C or true
  263. if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
  264. local FADER = SHAKE / TIMER
  265. for i = 1, TIMER do
  266. wait()
  267. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 44, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 45, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  268. end
  269. HUMANOID.CameraOffset = VT(0, 0, 0)
  270. end
  271. script:remove()
  272.  
  273. end))
  274. LocalScript1.Disabled = true
  275. BoolValue2.Name = "DoesFade"
  276. BoolValue2.Parent = LocalScript1
  277. NumberValue3.Name = "Shake"
  278. NumberValue3.Parent = LocalScript1
  279. NumberValue3.Value = 5
  280. NumberValue4.Name = "Timer"
  281. NumberValue4.Parent = LocalScript1
  282. NumberValue4.Value = 35
  283. for i,v in pairs(mas:GetChildren()) do
  284. v.Parent = script
  285. pcall(function() v:MakeJoints() end)
  286. end
  287. mas:Destroy()
  288. for i,v in pairs(cors) do
  289. spawn(function()
  290. pcall(v)
  291. end)
  292. end
  293.  
  294.  
  295.  
  296. --Converted with ttyyuu12345's model to script plugin v4
  297. function sandbox(var,func)
  298. local env = getfenv(func)
  299. local newenv = setmetatable({},{
  300. __index = function(self,k)
  301. if k=="script" then
  302. return var
  303. else
  304. return env[k]
  305. end
  306. end,
  307. })
  308. setfenv(func,newenv)
  309. return func
  310. end
  311. cors = {}
  312. mas = Instance.new("Model",game:GetService("Lighting"))
  313. Model0 = Instance.new("Model")
  314. MeshPart1 = Instance.new("Part")
  315. SpecialMesh2 = Instance.new("SpecialMesh")
  316. MeshPart3 = Instance.new("Part")
  317. Weld4 = Instance.new("Weld")
  318. SpecialMesh5 = Instance.new("SpecialMesh")
  319. MeshPart6 = Instance.new("Part")
  320. SpecialMesh7 = Instance.new("SpecialMesh")
  321. MeshPart8 = Instance.new("Part")
  322. Weld9 = Instance.new("Weld")
  323. Weld10 = Instance.new("Weld")
  324. Weld11 = Instance.new("Weld")
  325. Weld12 = Instance.new("Weld")
  326. SpecialMesh13 = Instance.new("SpecialMesh")
  327. Part14 = Instance.new("Part")
  328. Model15 = Instance.new("Model")
  329. MeshPart16 = Instance.new("Part")
  330. Weld17 = Instance.new("Weld")
  331. Weld18 = Instance.new("Weld")
  332. Weld19 = Instance.new("Weld")
  333. Weld20 = Instance.new("Weld")
  334. Part21 = Instance.new("Part")
  335. CylinderMesh22 = Instance.new("CylinderMesh")
  336. Weld23 = Instance.new("Weld")
  337. Weld24 = Instance.new("Weld")
  338. Weld25 = Instance.new("Weld")
  339. Weld26 = Instance.new("Weld")
  340. Weld27 = Instance.new("Weld")
  341. Weld28 = Instance.new("Weld")
  342. Weld29 = Instance.new("Weld")
  343. Weld30 = Instance.new("Weld")
  344. Weld31 = Instance.new("Weld")
  345. Weld32 = Instance.new("Weld")
  346. Weld33 = Instance.new("Weld")
  347. Weld34 = Instance.new("Weld")
  348. Part35 = Instance.new("Part")
  349. SpecialMesh36 = Instance.new("SpecialMesh")
  350. Part37 = Instance.new("Part")
  351. SpotLight38 = Instance.new("SpotLight")
  352. Model0.Name = "Tec9"
  353. Model0.Parent = mas
  354. MeshPart1.Name = "Handle"
  355. MeshPart1.Parent = Model0
  356. MeshPart1.CFrame = CFrame.new(105.167694, 28.7675209, 313.471863, 7.10402037e-06, -1.45340982e-05, 1, 6.94349546e-06, 1, 1.45340491e-05, -1, 6.94339224e-06, 7.10412132e-06)
  357. MeshPart1.Orientation = Vector3.new(0, 90, 0)
  358. MeshPart1.Position = Vector3.new(105.167694, 28.7675209, 313.471863)
  359. MeshPart1.Rotation = Vector3.new(0, 90, 0)
  360. MeshPart1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  361. MeshPart1.Size = Vector3.new(0.378344566, 1.28011739, 1.9058584)
  362. MeshPart1.BrickColor = BrickColor.new("Black")
  363. MeshPart1.CanCollide = false
  364. MeshPart1.Material = Enum.Material.Metal
  365. MeshPart1.brickColor = BrickColor.new("Black")
  366. SpecialMesh2.Parent = MeshPart1
  367. SpecialMesh2.MeshId = "rbxassetid://436583841"
  368. SpecialMesh2.Scale = Vector3.new(0.00249999994, 0.00249999994, 0.00249999994)
  369. SpecialMesh2.TextureId = "rbxassetid://436581045"
  370. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  371. MeshPart3.Name = "Part"
  372. MeshPart3.Parent = Model0
  373. MeshPart3.CFrame = CFrame.new(105.628639, 29.3009167, 313.450745, 7.10402037e-06, -1.45340982e-05, 1, 6.94349546e-06, 1, 1.45340491e-05, -1, 6.94339224e-06, 7.10412132e-06)
  374. MeshPart3.Orientation = Vector3.new(0, 90, 0)
  375. MeshPart3.Position = Vector3.new(105.628639, 29.3009167, 313.450745)
  376. MeshPart3.Rotation = Vector3.new(0, 90, 0)
  377. MeshPart3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  378. MeshPart3.Size = Vector3.new(0.404682159, 0.420678705, 2.63996696)
  379. MeshPart3.BrickColor = BrickColor.new("Black")
  380. MeshPart3.CanCollide = false
  381. MeshPart3.Material = Enum.Material.Metal
  382. MeshPart3.brickColor = BrickColor.new("Black")
  383. Weld4.Parent = MeshPart3
  384. Weld4.C0 = CFrame.new(-0.0300598145, -0.0347003937, 1.29637146, 7.10402037e-06, 6.94349546e-06, -1, -1.45340982e-05, 1, 6.94339224e-06, 1, 1.45340491e-05, 7.10412132e-06)
  385. Weld4.Part0 = MeshPart3
  386. Weld4.Part1 = Part14
  387. Weld4.part1 = Part14
  388. SpecialMesh5.Parent = MeshPart3
  389. SpecialMesh5.MeshId = "rbxassetid://436584609"
  390. SpecialMesh5.Scale = Vector3.new(0.00249999994, 0.00249999994, 0.00249999994)
  391. SpecialMesh5.TextureId = "rbxassetid://436581045"
  392. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  393. MeshPart6.Name = "Mag"
  394. MeshPart6.Parent = Model0
  395. MeshPart6.CFrame = CFrame.new(105.666573, 28.3499584, 313.468597, 7.10402037e-06, -1.45340982e-05, 1, 6.94349546e-06, 1, 1.45340491e-05, -1, 6.94339224e-06, 7.10412132e-06)
  396. MeshPart6.Orientation = Vector3.new(0, 90, 0)
  397. MeshPart6.Position = Vector3.new(105.666573, 28.3499584, 313.468597)
  398. MeshPart6.Rotation = Vector3.new(0, 90, 0)
  399. MeshPart6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  400. MeshPart6.Size = Vector3.new(0.228788674, 1.54552305, 0.347111225)
  401. MeshPart6.BrickColor = BrickColor.new("Black")
  402. MeshPart6.CanCollide = false
  403. MeshPart6.Material = Enum.Material.Metal
  404. MeshPart6.brickColor = BrickColor.new("Black")
  405. SpecialMesh7.Parent = MeshPart6
  406. SpecialMesh7.Scale = Vector3.new(0.00249999994, 0.00249999994, 0.00249999994)
  407. SpecialMesh7.TextureId = "rbxassetid://436581045"
  408. SpecialMesh7.MeshType = Enum.MeshType.FileMesh
  409. MeshPart8.Name = "Bolt"
  410. MeshPart8.Parent = Model0
  411. MeshPart8.CFrame = CFrame.new(105.204964, 29.3853207, 313.28064, 7.10402037e-06, -1.45340982e-05, 1, 6.94349546e-06, 1, 1.45340491e-05, -1, 6.94339224e-06, 7.10412132e-06)
  412. MeshPart8.Orientation = Vector3.new(0, 90, 0)
  413. MeshPart8.Position = Vector3.new(105.204964, 29.3853207, 313.28064)
  414. MeshPart8.Rotation = Vector3.new(0, 90, 0)
  415. MeshPart8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  416. MeshPart8.Size = Vector3.new(0.200074404, 0.200000003, 0.797306776)
  417. MeshPart8.BrickColor = BrickColor.new("Black")
  418. MeshPart8.CanCollide = false
  419. MeshPart8.Material = Enum.Material.Metal
  420. MeshPart8.brickColor = BrickColor.new("Black")
  421. Weld9.Parent = MeshPart8
  422. Weld9.C0 = CFrame.new(-0.191223145, -0.617797852, -0.0372772217, 1, 0, 0, 0, 1, 2.13988549e-13, 0, 2.13988549e-13, 1)
  423. Weld9.Part0 = MeshPart8
  424. Weld9.Part1 = MeshPart1
  425. Weld9.part1 = MeshPart1
  426. Weld10.Parent = MeshPart8
  427. Weld10.C0 = CFrame.new(-0.187957764, -1.03536797, 0.461593628, 1, 0, 0, 0, 1, 2.13988549e-13, 0, 2.13988549e-13, 1)
  428. Weld10.Part0 = MeshPart8
  429. Weld10.Part1 = MeshPart6
  430. Weld10.part1 = MeshPart6
  431. Weld11.Parent = MeshPart8
  432. Weld11.C0 = CFrame.new(-0.17010498, -0.0844097137, 0.423675537, 1, 0, 0, 0, 1, 2.13988549e-13, 0, 2.13988549e-13, 1)
  433. Weld11.Part0 = MeshPart8
  434. Weld11.Part1 = MeshPart3
  435. Weld11.part1 = MeshPart3
  436. Weld12.Parent = MeshPart8
  437. Weld12.C0 = CFrame.new(-0.200164795, -0.119110107, 1.720047, 7.10402037e-06, 6.94349546e-06, -1, -1.45340982e-05, 1, 6.94339224e-06, 1, 1.45340491e-05, 7.10412132e-06)
  438. Weld12.Part0 = MeshPart8
  439. Weld12.Part1 = Part14
  440. Weld12.part1 = Part14
  441. SpecialMesh13.Parent = MeshPart8
  442. SpecialMesh13.MeshId = "rbxassetid://436584656"
  443. SpecialMesh13.Scale = Vector3.new(0.00249999994, 0.00249999994, 0.00249999994)
  444. SpecialMesh13.TextureId = "rbxassetid://436581045"
  445. SpecialMesh13.MeshType = Enum.MeshType.FileMesh
  446. Part14.Name = "Hole"
  447. Part14.Parent = Model0
  448. Part14.CFrame = CFrame.new(106.925011, 29.2662354, 313.480804, 1, 0, 0, 0, 1, 2.4001634e-14, 0, 2.4001634e-14, 1)
  449. Part14.Position = Vector3.new(106.925011, 29.2662354, 313.480804)
  450. Part14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  451. Part14.Transparency = 1
  452. Part14.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  453. Part14.BottomSurface = Enum.SurfaceType.Smooth
  454. Part14.BrickColor = BrickColor.new("Institutional white")
  455. Part14.CanCollide = false
  456. Part14.TopSurface = Enum.SurfaceType.Smooth
  457. Part14.brickColor = BrickColor.new("Institutional white")
  458. Model15.Name = "Torso"
  459. Model15.Parent = mas
  460. MeshPart16.Name = "Torso"
  461. MeshPart16.Parent = Model15
  462. MeshPart16.CFrame = CFrame.new(-103.331314, 28.6503563, 176.105606, 1, 9.93390277e-05, -2.62751018e-05, -9.93432404e-05, 1, -0.000160408978, 2.62591675e-05, 0.000160411582, 1)
  463. MeshPart16.Orientation = Vector3.new(0.00999999978, 0, -0.00999999978)
  464. MeshPart16.Position = Vector3.new(-103.331314, 28.6503563, 176.105606)
  465. MeshPart16.Rotation = Vector3.new(0.00999999978, 0, -0.00999999978)
  466. MeshPart16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  467. MeshPart16.Transparency = 1
  468. MeshPart16.Size = Vector3.new(2.0930109, 2.04148293, 1.07226932)
  469. MeshPart16.BrickColor = BrickColor.new("Institutional white")
  470. MeshPart16.Material = Enum.Material.SmoothPlastic
  471. MeshPart16.brickColor = BrickColor.new("Institutional white")
  472. Weld17.Parent = MeshPart16
  473. Weld17.C0 = CFrame.new(0.0212526321, -0.648162842, -0.121294975, -9.93449212e-05, 0.132431015, 0.991192639, 1, 0.00017214971, 7.72271742e-05, -0.000160406169, 0.991192698, -0.13243103)
  474. Weld17.Part0 = MeshPart16
  475. Weld17.Part1 = Part21
  476. Weld17.part1 = Part21
  477. Weld18.Parent = MeshPart16
  478. Weld18.C0 = CFrame.new(0.0378069878, -0.648141861, 0.00266647339, -9.93449212e-05, 0.132431015, 0.991192639, 1, 0.00017214971, 7.72271742e-05, -0.000160406169, 0.991192758, -0.13243103)
  479. Weld18.Part0 = MeshPart16
  480. Weld18.Part1 = Part35
  481. Weld18.part1 = Part35
  482. Weld19.Parent = MeshPart16
  483. Weld19.C0 = CFrame.new(0.0150980949, 12.5963116, 0.0286302567, 0.998964012, -0.0448643193, 0.00781024573, 9.17000434e-05, 0.173487812, 0.984835804, -0.0455389544, -0.983815193, 0.173312277)
  484. Weld19.Part0 = MeshPart16
  485. Weld19.Part1 = Part37
  486. Weld19.part1 = Part37
  487. Weld20.Parent = MeshPart16
  488. Weld20.C0 = CFrame.new(0.00595474243, 9.10935593, 0.751009464, 1, -9.93367576e-05, 2.62330905e-05, 9.93329304e-05, 0.99999994, 0.000160411582, -2.6249023e-05, -0.000160408686, 1)
  489. Weld20.Part0 = MeshPart16
  490. Part21.Name = "Base"
  491. Part21.Parent = Model15
  492. Part21.CFrame = CFrame.new(-103.31012, 28.0022106, 175.984207, -1.67883707e-09, 0.132404983, 0.991196096, 1, -2.61934474e-09, 2.0081643e-09, 2.80851964e-09, 0.991196156, -0.132404983)
  493. Part21.Orientation = Vector3.new(0, 97.6100006, 90)
  494. Part21.Position = Vector3.new(-103.31012, 28.0022106, 175.984207)
  495. Part21.Rotation = Vector3.new(-180, 82.3899994, -90)
  496. Part21.Color = Color3.new(0.388235, 0.372549, 0.384314)
  497. Part21.Transparency = 1
  498. Part21.Size = Vector3.new(0.400000006, 0.100000001, 0.400000006)
  499. Part21.BottomSurface = Enum.SurfaceType.Smooth
  500. Part21.BrickColor = BrickColor.new("Dark stone grey")
  501. Part21.CanCollide = false
  502. Part21.TopSurface = Enum.SurfaceType.Smooth
  503. Part21.brickColor = BrickColor.new("Dark stone grey")
  504. Part21.FormFactor = Enum.FormFactor.Custom
  505. Part21.formFactor = Enum.FormFactor.Custom
  506. CylinderMesh22.Parent = Part21
  507. Weld23.Parent = Part21
  508. Weld23.C0 = CFrame.new(0, 0.125061035, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  509. Weld23.Part0 = Part21
  510. Weld23.Part1 = Part35
  511. Weld23.part1 = Part35
  512. Weld24.Parent = Part21
  513. Weld24.C0 = CFrame.new(0.648145676, 0.117523193, -0.0370788574, -9.93449212e-05, 1, -0.000160406169, 0.132431015, 0.00017214971, 0.991192281, 0.991192281, 7.72271669e-05, -0.13243103)
  514. Weld24.Part0 = Part21
  515. Weld24.Part1 = MeshPart16
  516. Weld24.part1 = MeshPart16
  517. Weld25.Parent = Part21
  518. Weld25.C0 = CFrame.new(0, 0.125061035, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  519. Weld25.Part0 = Part21
  520. Weld25.Part1 = Part35
  521. Weld25.part1 = Part35
  522. Weld26.Parent = Part21
  523. Weld26.C0 = CFrame.new(0.648145676, 0.117523193, -0.0370788574, -9.93449212e-05, 1, -0.000160406169, 0.132431015, 0.00017214971, 0.9911924, 0.9911924, 7.72271742e-05, -0.13243103)
  524. Weld26.Part0 = Part21
  525. Weld26.Part1 = MeshPart16
  526. Weld26.part1 = MeshPart16
  527. Weld27.Parent = Part21
  528. Weld27.C0 = CFrame.new(0, 0.150054932, 0.0250320435, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  529. Weld27.Part0 = Part21
  530. Weld28.Parent = Part21
  531. Weld28.C0 = CFrame.new(0, 0.150054932, 0.0250320435, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  532. Weld28.Part0 = Part21
  533. Weld29.Parent = Part21
  534. Weld29.C0 = CFrame.new(0, 0.125061035, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  535. Weld29.Part0 = Part21
  536. Weld29.Part1 = Part35
  537. Weld29.part1 = Part35
  538. Weld30.Parent = Part21
  539. Weld30.C0 = CFrame.new(0, 0.150054932, 0.0250320435, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  540. Weld30.Part0 = Part21
  541. Weld31.Parent = Part21
  542. Weld31.C0 = CFrame.new(0.648145676, 0.117523193, -0.0370788574, -9.93449212e-05, 1, -0.000160406169, 0.132431015, 0.00017214971, 0.99119252, 0.99119252, 7.72271742e-05, -0.13243103)
  543. Weld31.Part0 = Part21
  544. Weld31.Part1 = MeshPart16
  545. Weld31.part1 = MeshPart16
  546. Weld32.Parent = Part21
  547. Weld32.C0 = CFrame.new(0, 0.125061035, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  548. Weld32.Part0 = Part21
  549. Weld32.Part1 = Part35
  550. Weld32.part1 = Part35
  551. Weld33.Parent = Part21
  552. Weld33.C0 = CFrame.new(13.2444515, 0.15007019, -0.0249328613, -2.37195707e-07, 0.173650086, 0.984807193, 0.0871558711, -0.981060982, 0.172989547, 0.996195734, 0.0858317763, -0.0151343923)
  553. Weld33.Part0 = Part21
  554. Weld33.Part1 = Part37
  555. Weld33.part1 = Part37
  556. Weld34.Parent = Part21
  557. Weld34.C0 = CFrame.new(0.648145676, 0.117523193, -0.0370788574, -9.93449212e-05, 1, -0.000160406169, 0.132431015, 0.00017214971, 0.991192639, 0.991192639, 7.72271742e-05, -0.13243103)
  558. Weld34.Part0 = Part21
  559. Weld34.Part1 = MeshPart16
  560. Weld34.part1 = MeshPart16
  561. Part35.Name = "Bulb"
  562. Part35.Parent = Model15
  563. Part35.CFrame = CFrame.new(-103.293571, 28.0022106, 176.10817, -1.67883707e-09, 0.132404983, 0.991196096, 1, -2.63389666e-09, 2.0081643e-09, 2.80851964e-09, 0.991196275, -0.132404983)
  564. Part35.Orientation = Vector3.new(0, 97.6100006, 90)
  565. Part35.Position = Vector3.new(-103.293571, 28.0022106, 176.10817)
  566. Part35.Rotation = Vector3.new(-180, 82.3899994, -90)
  567. Part35.Color = Color3.new(1, 0, 0)
  568. Part35.Transparency = 1
  569. Part35.Size = Vector3.new(0.300000012, 0.350000024, 0.300000012)
  570. Part35.BottomSurface = Enum.SurfaceType.Smooth
  571. Part35.BrickColor = BrickColor.new("Really red")
  572. Part35.CanCollide = false
  573. Part35.Reflectance = 0.20000000298023
  574. Part35.TopSurface = Enum.SurfaceType.Smooth
  575. Part35.brickColor = BrickColor.new("Really red")
  576. Part35.FormFactor = Enum.FormFactor.Custom
  577. Part35.formFactor = Enum.FormFactor.Custom
  578. SpecialMesh36.Parent = Part35
  579. Part37.Name = "Part1"
  580. Part37.Parent = Model15
  581. Part37.CFrame = CFrame.new(-103.314964, 41.2466621, 176.136261, 0.998965204, -0.0448212363, 0.00790352374, -2.35421339e-07, 0.173650086, 0.984807253, -0.045512706, -0.98378855, 0.173470467)
  582. Part37.Orientation = Vector3.new(-80, 2.6099999, 0)
  583. Part37.Position = Vector3.new(-103.314964, 41.2466621, 176.136261)
  584. Part37.Rotation = Vector3.new(-80.0100021, 0.449999988, 2.56999993)
  585. Part37.Color = Color3.new(1, 0, 0)
  586. Part37.Transparency = 1
  587. Part37.Size = Vector3.new(0.200000003, 0.200000003, 0.0500000007)
  588. Part37.BottomSurface = Enum.SurfaceType.Smooth
  589. Part37.BrickColor = BrickColor.new("Really red")
  590. Part37.CanCollide = false
  591. Part37.Reflectance = 0.40000000596046
  592. Part37.TopSurface = Enum.SurfaceType.Smooth
  593. Part37.brickColor = BrickColor.new("Really red")
  594. Part37.FormFactor = Enum.FormFactor.Custom
  595. Part37.formFactor = Enum.FormFactor.Custom
  596. SpotLight38.Parent = Part37
  597. SpotLight38.Color = Color3.new(1, 0, 0.0156863)
  598. SpotLight38.Range = 30
  599. SpotLight38.Brightness = 4
  600. for i,v in pairs(mas:GetChildren()) do
  601. v.Parent = script
  602. pcall(function() v:MakeJoints() end)
  603. end
  604. mas:Destroy()
  605. for i,v in pairs(cors) do
  606. spawn(function()
  607. pcall(v)
  608. end)
  609. end
  610.  
  611.  
  612. --//=================================\\
  613. --|| USEFUL VALUES
  614. --\\=================================//
  615.  
  616. Animation_Speed = 3
  617. Frame_Speed = 0.016666666666666666
  618. local FORCERESET = false
  619. Frame_Speed = 1 / 80 -- (1 / 60) OR (1 / 80)
  620. local Speed = 25
  621. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  622. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  623. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  624. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  625. local DAMAGEMULTIPLIER = 1
  626. local ANIM = "Idle"
  627. local ATTACK = false
  628. local BMUSIC = IT("Sound", RootPart)
  629. local VOLUME = 2
  630. local PITCH = 1
  631. local SONGID = 1305709235 --1347700465
  632. local EQUIPPED = false
  633. local HOLD = false
  634. local COMBO = 1
  635. local Type = "Ban"
  636. local reason = "Ur damn skids fatty"
  637. local Rooted = false
  638. local SINE = 0
  639. local SIZE = 1
  640. local KEYHOLD = false
  641. local CHANGE = 2 / Animation_Speed
  642. local WALKINGANIM = false
  643. local VALUE1 = false
  644. local VALUE2 = false
  645. local ROBLOXIDLEANIMATION = IT("Animation")
  646. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  647. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  648. --ROBLOXIDLEANIMATION.Parent = Humanoid
  649. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  650. WEAPONGUI.Name = "BanishV3Gui"
  651. local Characterb = IT("Model")
  652. Characterb.Name = "shackisgaylol"
  653. local CharacterA = IT("Model")
  654. CharacterA.Name = "shackismegagaylol"
  655. local Effects = IT("Folder", CharacterA)
  656. Effects.Name = "Effects"
  657. local Effects2 = IT("Folder", Characterb)
  658. Effects.Name = "Effects"
  659. local ANIMATOR = Humanoid.Animator
  660. local ANIMATE = Character:FindFirstChild("Animate")
  661. local UNANCHOR = true
  662. local TOBANISH = {}
  663. script.Parent = PlayerGui
  664.  
  665. --//=================================\\
  666. --\\=================================//
  667.  
  668.  
  669. --//=================================\\
  670. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  671. --\\=================================//
  672.  
  673. ArtificialHB = Instance.new("BindableEvent", script)
  674. ArtificialHB.Name = "ArtificialHB"
  675.  
  676. script:WaitForChild("ArtificialHB")
  677.  
  678. frame = Frame_Speed
  679. tf = 0
  680. allowframeloss = false
  681. tossremainder = false
  682. lastframe = tick()
  683. script.ArtificialHB:Fire()
  684.  
  685. game:GetService("RunService").Heartbeat:connect(function(s, p)
  686. tf = tf + s
  687. if tf >= frame then
  688. if allowframeloss then
  689. script.ArtificialHB:Fire()
  690. lastframe = tick()
  691. else
  692. for i = 1, math.floor(tf / frame) do
  693. script.ArtificialHB:Fire()
  694. end
  695. lastframe = tick()
  696. end
  697. if tossremainder then
  698. tf = 0
  699. else
  700. tf = tf - frame * math.floor(tf / frame)
  701. end
  702. end
  703. end)
  704.  
  705. --//=================================\\
  706. --\\=================================//
  707.  
  708. --//=================================\\
  709. --|| SOME FUNCTIONS
  710. --\\=================================//
  711.  
  712. local BODY = {}
  713. for _, c in pairs(Character:GetDescendants()) do
  714. if c:IsA("BasePart") and c.Name ~= "Handle" then
  715. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  716. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  717. end
  718. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  719. elseif c:IsA("JointInstance") then
  720. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  721. end
  722. end
  723. for e = 1, #BODY do
  724. if BODY[e] ~= nil then
  725. local STUFF = BODY[e]
  726. local PART = STUFF[1]
  727. local PARENT = STUFF[2]
  728. local MATERIAL = STUFF[3]
  729. local COLOR = STUFF[4]
  730. local TRANSPARENCY = STUFF[5]
  731. if PART.ClassName == "Part" and PART ~= RootPart then
  732. PART.Material = MATERIAL
  733. PART.Color = COLOR
  734. PART.Transparency = TRANSPARENCY
  735. end
  736. PART.AncestryChanged:Connect(function()
  737. PART.Parent = PARENT
  738. end)
  739. end
  740. end
  741.  
  742. function refit()
  743. Character.Parent = workspace
  744. for e = 1, #BODY do
  745. if BODY[e] ~= nil then
  746. local STUFF = BODY[e]
  747. local PART = STUFF[1]
  748. local PARENT = STUFF[2]
  749. local MATERIAL = STUFF[3]
  750. local COLOR = STUFF[4]
  751. local TRANSPARENCY = STUFF[5]
  752. if PART:IsA("BasePart") and PART ~= RootPart then
  753. PART.Material = MATERIAL
  754. PART.Color = COLOR
  755. PART.Transparency = TRANSPARENCY+EXTRATRANS
  756. end
  757. if PART.Parent ~= PARENT then
  758. Humanoid:remove()
  759. PART.Parent = PARENT
  760. Humanoid = IT("Humanoid",Character)
  761. end
  762. end
  763. end
  764. end
  765.  
  766. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  767. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  768. end
  769.  
  770. function PositiveAngle(NUMBER)
  771. if NUMBER >= 0 then
  772. NUMBER = 0
  773. end
  774. return NUMBER
  775. end
  776.  
  777. function NegativeAngle(NUMBER)
  778. if NUMBER <= 0 then
  779. NUMBER = 0
  780. end
  781. return NUMBER
  782. end
  783.  
  784. function Swait(NUMBER)
  785. if NUMBER == 0 or NUMBER == nil then
  786. ArtificialHB.Event:wait()
  787. else
  788. for i = 1, NUMBER do
  789. ArtificialHB.Event:wait()
  790. end
  791. end
  792. end
  793.  
  794. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  795. local NEWMESH = IT(MESH)
  796. if MESH == "SpecialMesh" then
  797. NEWMESH.MeshType = MESHTYPE
  798. if MESHID ~= "nil" and MESHID ~= "" then
  799. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  800. end
  801. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  802. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  803. end
  804. end
  805. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  806. NEWMESH.Scale = SCALE
  807. NEWMESH.Parent = PARENT
  808. return NEWMESH
  809. end
  810.  
  811. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  812. local NEWPART = IT("Part")
  813. NEWPART.formFactor = FORMFACTOR
  814. NEWPART.Reflectance = REFLECTANCE
  815. NEWPART.Transparency = TRANSPARENCY
  816. NEWPART.CanCollide = false
  817. NEWPART.Locked = true
  818. NEWPART.Anchored = true
  819. if ANCHOR == false then
  820. NEWPART.Anchored = false
  821. end
  822. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  823. NEWPART.Name = NAME
  824. NEWPART.Size = SIZE
  825. NEWPART.Position = Torso.Position
  826. NEWPART.Material = MATERIAL
  827. NEWPART:BreakJoints()
  828. NEWPART.Parent = PARENT
  829. return NEWPART
  830. end
  831.  
  832. local function weldBetween(a, b)
  833. local weldd = Instance.new("ManualWeld")
  834. weldd.Part0 = a
  835. weldd.Part1 = b
  836. weldd.C0 = CFrame.new()
  837. weldd.C1 = b.CFrame:inverse() * a.CFrame
  838. weldd.Parent = a
  839. return weldd
  840. end
  841.  
  842.  
  843. function QuaternionFromCFrame(cf)
  844. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  845. local trace = m00 + m11 + m22
  846. if trace > 0 then
  847. local s = math.sqrt(1 + trace)
  848. local recip = 0.5 / s
  849. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  850. else
  851. local i = 0
  852. if m11 > m00 then
  853. i = 1
  854. end
  855. if m22 > (i == 0 and m00 or m11) then
  856. i = 2
  857. end
  858. if i == 0 then
  859. local s = math.sqrt(m00 - m11 - m22 + 1)
  860. local recip = 0.5 / s
  861. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  862. elseif i == 1 then
  863. local s = math.sqrt(m11 - m22 - m00 + 1)
  864. local recip = 0.5 / s
  865. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  866. elseif i == 2 then
  867. local s = math.sqrt(m22 - m00 - m11 + 1)
  868. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  869. end
  870. end
  871. end
  872.  
  873. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  874. local xs, ys, zs = x + x, y + y, z + z
  875. local wx, wy, wz = w * xs, w * ys, w * zs
  876. local xx = x * xs
  877. local xy = x * ys
  878. local xz = x * zs
  879. local yy = y * ys
  880. local yz = y * zs
  881. local zz = z * zs
  882. 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))
  883. end
  884.  
  885. function QuaternionSlerp(a, b, t)
  886. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  887. local startInterp, finishInterp;
  888. if cosTheta >= 0.0001 then
  889. if (1 - cosTheta) > 0.0001 then
  890. local theta = ACOS(cosTheta)
  891. local invSinTheta = 1 / SIN(theta)
  892. startInterp = SIN((1 - t) * theta) * invSinTheta
  893. finishInterp = SIN(t * theta) * invSinTheta
  894. else
  895. startInterp = 1 - t
  896. finishInterp = t
  897. end
  898. else
  899. if (1 + cosTheta) > 0.0001 then
  900. local theta = ACOS(-cosTheta)
  901. local invSinTheta = 1 / SIN(theta)
  902. startInterp = SIN((t - 1) * theta) * invSinTheta
  903. finishInterp = SIN(t * theta) * invSinTheta
  904. else
  905. startInterp = t - 1
  906. finishInterp = t
  907. end
  908. end
  909. 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
  910. end
  911.  
  912. function Clerp(a, b, t)
  913. local qa = {QuaternionFromCFrame(a)}
  914. local qb = {QuaternionFromCFrame(b)}
  915. local ax, ay, az = a.x, a.y, a.z
  916. local bx, by, bz = b.x, b.y, b.z
  917. local _t = 1 - t
  918. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  919. end
  920.  
  921. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  922. local frame = IT("Frame")
  923. frame.BackgroundTransparency = TRANSPARENCY
  924. frame.BorderSizePixel = BORDERSIZEPIXEL
  925. frame.Position = POSITION
  926. frame.Size = SIZE
  927. frame.BackgroundColor3 = COLOR
  928. frame.BorderColor3 = BORDERCOLOR
  929. frame.Name = NAME
  930. frame.Parent = PARENT
  931. return frame
  932. end
  933.  
  934. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  935. local label = IT("TextLabel")
  936. label.BackgroundTransparency = 1
  937. label.Size = UD2(1, 0, 1, 0)
  938. label.Position = UD2(0, 0, 0, 0)
  939. label.TextColor3 = TEXTCOLOR
  940. label.TextStrokeTransparency = STROKETRANSPARENCY
  941. label.TextTransparency = TRANSPARENCY
  942. label.FontSize = TEXTFONTSIZE
  943. label.Font = TEXTFONT
  944. label.BorderSizePixel = BORDERSIZEPIXEL
  945. label.TextScaled = false
  946. label.Text = TEXT
  947. label.Name = NAME
  948. label.Parent = PARENT
  949. return label
  950. end
  951.  
  952.  
  953. function NoOutlines(PART)
  954. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  955. end
  956.  
  957. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  958. local weld = Instance.new("Weld")
  959. weld.Parent = parent
  960. weld.Part0 = part0
  961. weld.Part1 = part1
  962. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  963. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  964. return weld
  965. end
  966.  
  967. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  968. function NewSound(TABLE)
  969. local ID = "rbxassetid://"..(TABLE.ID or 0)
  970. local PARENT = (TABLE.PARENT or RootPart)
  971. local VOLUME = (TABLE.VOLUME or 0.5)
  972. local PITCH = (TABLE.PITCH or 1)
  973. local LOOP = (TABLE.LOOP or false)
  974. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  975. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  976. local PLAYING = (TABLE.PLAYING or true)
  977. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  978. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  979. if ID ~= "rbxassetid://0" then
  980. local SOUND = IT("Sound",PARENT)
  981. SOUND.SoundId = ID
  982. SOUND.Volume = VOLUME
  983. SOUND.Pitch = PITCH
  984. SOUND.Looped = LOOP
  985. SOUND.MaxDistance = MAXDISTANCE
  986. SOUND.EmitterSize = EMITTERSIZE
  987. SOUND.PlayOnRemove = PLAYONREMOVE
  988. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  989. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  990. end
  991. if PLAYING == true then
  992. SOUND:Play()
  993. end
  994. return SOUND
  995. end
  996. end
  997.  
  998. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  999. local NEWWELD = IT(TYPE)
  1000. NEWWELD.Part0 = PART0
  1001. NEWWELD.Part1 = PART1
  1002. NEWWELD.C0 = C0
  1003. NEWWELD.C1 = C1
  1004. NEWWELD.Parent = PARENT
  1005. return NEWWELD
  1006. end
  1007.  
  1008. local S = IT("Sound")
  1009. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1010. local NEWSOUND = nil
  1011. coroutine.resume(coroutine.create(function()
  1012. NEWSOUND = S:Clone()
  1013. NEWSOUND.Parent = PARENT
  1014. NEWSOUND.Volume = VOLUME
  1015. NEWSOUND.Pitch = PITCH
  1016. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1017. NEWSOUND:play()
  1018. if DOESLOOP == true then
  1019. NEWSOUND.Looped = true
  1020. else
  1021. game.Debris:AddItem(NEWSOUND,10)
  1022. end
  1023. end))
  1024. return NEWSOUND
  1025. end
  1026.  
  1027. function CFrameFromTopBack(at, top, back)
  1028. local right = top:Cross(back)
  1029. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1030. end
  1031.  
  1032. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1033. function WACKYEFFECT(Table)
  1034. local TYPE = (Table.EffectType or "Sphere")
  1035. local SIZE = (Table.Size or VT(1,1,1))
  1036. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1037. local TRANSPARENCY = (Table.Transparency or 0)
  1038. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1039. local CFRAME = (Table.CFrame or Torso.CFrame)
  1040. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1041. local ROTATION1 = (Table.RotationX or 0)
  1042. local ROTATION2 = (Table.RotationY or 0)
  1043. local ROTATION3 = (Table.RotationZ or 0)
  1044. local MATERIAL = (Table.Material or "Neon")
  1045. local COLOR = (Table.Color or C3(1,1,1))
  1046. local TIME = (Table.Time or 45)
  1047. local SOUNDID = (Table.SoundID or nil)
  1048. local SOUNDPITCH = (Table.SoundPitch or nil)
  1049. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1050. coroutine.resume(coroutine.create(function()
  1051. local PLAYSSOUND = false
  1052. local SOUND = nil
  1053. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1054. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1055. PLAYSSOUND = true
  1056. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1057. end
  1058. EFFECT.Color = COLOR
  1059. local MSH = nil
  1060. if TYPE == "Sphere" then
  1061. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1062. elseif TYPE == "Block" then
  1063. MSH = IT("BlockMesh",EFFECT)
  1064. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1065. elseif TYPE == "Wave" then
  1066. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1067. elseif TYPE == "Ring" then
  1068. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1069. elseif TYPE == "Slash" then
  1070. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1071. elseif TYPE == "Round Slash" then
  1072. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1073. elseif TYPE == "Swirl" then
  1074. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1075. elseif TYPE == "Skull" then
  1076. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1077. elseif TYPE == "Crystal" then
  1078. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1079. end
  1080. if MSH ~= nil then
  1081. local MOVESPEED = nil
  1082. if MOVEDIRECTION ~= nil then
  1083. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1084. end
  1085. local GROWTH = SIZE - ENDSIZE
  1086. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1087. if TYPE == "Block" then
  1088. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1089. else
  1090. EFFECT.CFrame = CFRAME
  1091. end
  1092. for LOOP = 1, TIME+1 do
  1093. Swait()
  1094. MSH.Scale = MSH.Scale - GROWTH/TIME
  1095. if TYPE == "Wave" then
  1096. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1097. end
  1098. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1099. if TYPE == "Block" then
  1100. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1101. else
  1102. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1103. end
  1104. if MOVEDIRECTION ~= nil then
  1105. local ORI = EFFECT.Orientation
  1106. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1107. EFFECT.Orientation = ORI
  1108. end
  1109. end
  1110. if PLAYSSOUND == false then
  1111. EFFECT:remove()
  1112. else
  1113. SOUND.Stopped:Connect(function()
  1114. EFFECT:remove()
  1115. end)
  1116. end
  1117. else
  1118. if PLAYSSOUND == false then
  1119. EFFECT:remove()
  1120. else
  1121. repeat Swait() until SOUND.Playing == false
  1122. EFFECT:remove()
  1123. end
  1124. end
  1125. end))
  1126. end
  1127.  
  1128. function MakeForm(PART,TYPE)
  1129. if TYPE == "Cyl" then
  1130. local MSH = IT("CylinderMesh",PART)
  1131. elseif TYPE == "Ball" then
  1132. local MSH = IT("SpecialMesh",PART)
  1133. MSH.MeshType = "Sphere"
  1134. elseif TYPE == "Wedge" then
  1135. local MSH = IT("SpecialMesh",PART)
  1136. MSH.MeshType = "Wedge"
  1137. end
  1138. end
  1139.  
  1140. function SpawnTrail(FROM,TO,BIG)
  1141. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
  1142. MakeForm(TRAIL,"Cyl")
  1143. local DIST = (FROM - TO).Magnitude
  1144. if BIG == true then
  1145. TRAIL.Size = VT(0.5,DIST,0.5)
  1146. else
  1147. TRAIL.Size = VT(0.25,DIST,0.25)
  1148. end
  1149. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1150. coroutine.resume(coroutine.create(function()
  1151. for i = 1, 5 do
  1152. Swait()
  1153. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1154. end
  1155. TRAIL:remove()
  1156. end))
  1157. end
  1158.  
  1159. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1160. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1161. local mesh = IT("SpecialMesh",wave)
  1162. mesh.MeshType = "Sphere"
  1163. mesh.Scale = SIZE
  1164. mesh.Offset = VT(0,0,0)
  1165. wave.CFrame = CFRAME
  1166. coroutine.resume(coroutine.create(function(PART)
  1167. for i = 1, WAIT do
  1168. Swait()
  1169. mesh.Scale = mesh.Scale + GROW
  1170. wave.Transparency = wave.Transparency + (1/WAIT)
  1171. if wave.Transparency > 0.99 then
  1172. wave:remove()
  1173. end
  1174. end
  1175. end))
  1176. end
  1177.  
  1178. function MagicSphereCo(SIZE,WAIT,CFRAME,COLOR,GROW)
  1179. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1180. local mesh = IT("SpecialMesh",wave)
  1181. mesh.MeshType = "Sphere"
  1182. mesh.Scale = SIZE
  1183. mesh.Offset = VT(0,0,0)
  1184. wave.CFrame = CFRAME
  1185. coroutine.resume(coroutine.create(function(PART)
  1186. for i = 1, WAIT do
  1187. Swait()
  1188. mesh.Scale = mesh.Scale + GROW
  1189. wave.Transparency = wave.Transparency + (1/WAIT)
  1190. if wave.Transparency > 0.99 then
  1191. wave:remove()
  1192. end
  1193. end
  1194. end))
  1195. end
  1196.  
  1197. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  1198. local wave = CreatePart(3, Effects, "ForceField", 0, 0.5, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  1199. local mesh = IT("BlockMesh",wave)
  1200. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  1201. coroutine.resume(coroutine.create(function(PART)
  1202. for i = 1, WAIT do
  1203. Swait()
  1204. mesh.Scale = mesh.Scale + GROW
  1205. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  1206. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1207. if wave.Transparency > 0.99 then
  1208. wave:remove()
  1209. end
  1210. end
  1211. end))
  1212. end
  1213.  
  1214. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1215. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1216. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1217. wave.CFrame = CFRAME
  1218. coroutine.resume(coroutine.create(function(PART)
  1219. for i = 1, WAIT do
  1220. Swait()
  1221. mesh.Scale = mesh.Scale + GROW
  1222. if DOESROT == true then
  1223. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1224. end
  1225. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1226. if wave.Transparency > 0.99 then
  1227. wave:remove()
  1228. end
  1229. end
  1230. end))
  1231. end
  1232.  
  1233. local DECAL = IT("Decal")
  1234. function MagicRing()
  1235. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  1236. local MESH = IT("BlockMesh",RING)
  1237. local BOTTOMTEXTURE = DECAL:Clone()
  1238. BOTTOMTEXTURE.Parent = RING
  1239. BOTTOMTEXTURE.Face = "Bottom"
  1240. BOTTOMTEXTURE.Name = "BottomTexture"
  1241. local TOPTEXTURE = DECAL:Clone()
  1242. TOPTEXTURE.Parent = RING
  1243. TOPTEXTURE.Face = "Top"
  1244. TOPTEXTURE.Name = "TopTexture"
  1245. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  1246. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  1247. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  1248. TOPTEXTURE.Color3 = C3(1,1,1)
  1249. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  1250. end
  1251.  
  1252. Debris = game:GetService("Debris")
  1253.  
  1254. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1255. local DIRECTION = CF(StartPos,EndPos).lookVector
  1256. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1257. end
  1258.  
  1259. function turnto(position)
  1260. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1261. end
  1262.  
  1263. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1264. local CHILDREN = workspace:GetDescendants()
  1265. for index, CHILD in pairs(CHILDREN) do
  1266. if CHILD.ClassName == "Model" then
  1267. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1268. if HUM then
  1269. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1270. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1271. --local CAMSHAKER = script.CamShake:Clone()
  1272. --CAMSHAKER.Shake.Value = INTENSITY
  1273. --CAMSHAKER.Timer.Value = TIME
  1274. --CAMSHAKER.Parent = CHILD
  1275. --CAMSHAKER.Disabled = false
  1276. end
  1277. end
  1278. end
  1279. end
  1280. end
  1281.  
  1282. --//=================================\\
  1283. --|| WEAPON CREATION
  1284. --\\=================================//
  1285.  
  1286. --usedmostly on shackluster edits and shit
  1287. ---------------------------------Weapon/armor creation------------------------
  1288.  
  1289. function WWeld(a, b, acf)
  1290. local we = Instance.new("Weld", a)
  1291. we.Part0 = a
  1292. we.Part1 = b
  1293. if acf ~= nil then
  1294. we.C0 = acf
  1295. end
  1296. end
  1297.  
  1298. for i = 1,10 do
  1299. wait()
  1300. end
  1301.  
  1302. TORSO = script.Torso
  1303.  
  1304. TORSO.Parent = Character
  1305.  
  1306. WWeld(TORSO.Torso,Torso, CF(0, 0, 0)*ANGLES(RAD(176),RAD(359),RAD(180)), CF(0, 0, 0))
  1307.  
  1308. Head.Transparency = 0
  1309. Torso.Transparency = 0
  1310. RightArm.Transparency = 0
  1311. LeftArm.Transparency = 0
  1312. LeftLeg.Transparency = 0
  1313. RightLeg.Transparency = 0
  1314. -------------------------------------------------------------------------------------------
  1315.  
  1316. armor = Instance.new("Part")
  1317. armormesh = Instance.new("SpecialMesh")
  1318. armor.Anchored = false
  1319. armor.CanCollide = false
  1320. armor.Size = Vector3.new(1.4, 0.7, 1.3)
  1321. armor.BrickColor = BrickColor.new("Maroon")
  1322. armor.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1323. armor.Material = Enum.Material.SmoothPlastic
  1324. armor.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1325. armor.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1326. armor.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1327. armor.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1328. armor.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1329. armor.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1330. armor.Parent = Character
  1331. armor.CFrame = CFrame.new(-87.19, 0.42, -26.37) * CFrame.Angles(0, 0, 0)
  1332. armormesh.MeshId = "rbxassetid://840131767"
  1333. armormesh.MeshType = Enum.MeshType.FileMesh
  1334. armormesh.Parent = armor
  1335. local wlf4 = Instance.new("Weld",armor)
  1336. wlf4.Part0 = armor
  1337. wlf4.Part1 = Torso
  1338. wlf4.C0 = wlf4.C0 * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  1339. wlf4.C1 = CFrame.new(0,0,0)
  1340.  
  1341.  
  1342. local Tec9 = script.Tec9:Clone()
  1343. Tec9.Parent = RightArm
  1344. CreateWeld(Tec9.Handle,RightArm,Tec9.Handle,-0.3,-0.2,-0.9,math.rad(90),math.rad(0),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1345. local Hole = Tec9.Hole
  1346. local nuzzlee = Instance.new("Attachment",Hole)
  1347. nuzzlee.Name = "Nuzzle"
  1348.  
  1349. local Particle = IT("ParticleEmitter",nil)
  1350. Particle.Enabled = false
  1351. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1352. Particle.LightEmission = 0.5
  1353. Particle.Rate = 150
  1354. Particle.ZOffset = 0.2
  1355. Particle.Rotation = NumberRange.new(-180, 180)
  1356. Particle.RotSpeed = NumberRange.new(-180, 180)
  1357. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1358. Particle.Color = ColorSequence.new(C3(1,1,1),C3(0,0,0))
  1359.  
  1360. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1361. function ParticleEmitter(Table)
  1362. local PRTCL = Particle:Clone()
  1363. local Speed = Table.Speed or 5
  1364. local Drag = Table.Drag or 0
  1365. local Size1 = Table.Size1 or 1
  1366. local Size2 = Table.Size2 or 5
  1367. local Lifetime1 = Table.Lifetime1 or 1
  1368. local Lifetime2 = Table.Lifetime2 or 1.5
  1369. local Parent = Table.Parent or Torso
  1370. local Emit = Table.Emit or 100
  1371. local Offset = Table.Offset or 360
  1372. local Acel = Table.Acel or VT(0,0,0)
  1373. local Enabled = Table.Enabled or false
  1374. PRTCL.Parent = Parent
  1375. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1376. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1377. PRTCL.Speed = NumberRange.new(Speed)
  1378. PRTCL.VelocitySpread = Offset
  1379. PRTCL.Drag = Drag
  1380. PRTCL.Acceleration = Acel
  1381. if Enabled == false then
  1382. PRTCL:Emit(Emit)
  1383. Debris:AddItem(PRTCL,Lifetime2)
  1384. else
  1385. PRTCL.Enabled = true
  1386. end
  1387. return PRTCL
  1388. end
  1389.  
  1390. ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1391.  
  1392. for _, c in pairs(CharacterA:GetChildren()) do
  1393. if c.ClassName == "Part" then
  1394. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1395. end
  1396. end
  1397.  
  1398. CharacterA.Parent = Character
  1399.  
  1400. Characterb.Parent = Character
  1401.  
  1402.  
  1403. local SKILLTEXTCOLOR = C3(1,1,1)
  1404. local SKILLFONT = ""
  1405. local SKILLTEXTSIZE = 7
  1406.  
  1407. local BODY = {}
  1408. for _, c in pairs(Character:GetDescendants()) do
  1409. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1410. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1411. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1412. end
  1413. table.insert(BODY, {
  1414. c,
  1415. c.Parent,
  1416. c.Material,
  1417. c.Color,
  1418. c.Transparency,
  1419. c.Size,
  1420. c.Name
  1421. })
  1422. elseif c:IsA("JointInstance") or c:IsA("Shirt") or c:IsA("Pants") then
  1423. table.insert(BODY, {
  1424. c,
  1425. c.Parent,
  1426. nil,
  1427. nil,
  1428. nil,
  1429. nil,
  1430. nil
  1431. })
  1432. end
  1433. end
  1434. function refit()
  1435. Character.Parent = workspace
  1436. Effects.Parent = Character
  1437. for e = 1, #BODY do
  1438. if BODY[e] ~= nil then
  1439. local STUFF = BODY[e]
  1440. local PART = STUFF[1]
  1441. local PARENT = STUFF[2]
  1442. local MATERIAL = STUFF[3]
  1443. local COLOR = STUFF[4]
  1444. local TRANSPARENCY = STUFF[5]
  1445. local NAME = STUFF[7]
  1446. if PART.ClassName == "Part" and PART ~= RootPart then
  1447. PART.Material = MATERIAL
  1448. PART.Transparency = TRANSPARENCY
  1449. PART.Name = NAME
  1450. end
  1451. if PART.Parent ~= PARENT then
  1452. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  1453. Humanoid:remove()
  1454. end
  1455. PART.Parent = PARENT
  1456. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  1457. Humanoid = IT("Humanoid", Character)
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. Humanoid.Died:connect(function()
  1464. refit()
  1465. end)
  1466.  
  1467. --[[local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1468. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1469. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1470. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1471. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1472. ]]
  1473. --[[local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1474. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1475. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1476. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1477. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1478. ]]
  1479.  
  1480. function chatfunc(text)
  1481. local chat = coroutine.wrap(function()
  1482. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1483. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1484. end
  1485. local Bill = Instance.new("BillboardGui",Character)
  1486. Bill.Size = UDim2.new(0,100,0,40)
  1487. Bill.StudsOffset = Vector3.new(0,3,0)
  1488. Bill.Adornee = Character.Head
  1489. Bill.Name = "TalkingBillBoard"
  1490. local Hehe = Instance.new("TextBox",Bill)
  1491. Hehe.BackgroundTransparency = 1
  1492. Hehe.BorderSizePixel = 0
  1493. Hehe.Text = ""
  1494. Hehe.Font = "SourceSansItalic"
  1495. Hehe.TextSize = 40
  1496. Hehe.TextStrokeTransparency = 0
  1497. Hehe.Size = UDim2.new(1,0,0.5,0)
  1498. coroutine.resume(coroutine.create(function()
  1499. while Hehe ~= nil do
  1500. Swait()
  1501. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1502. Hehe.Rotation = math.random(-5,5)
  1503. Hehe.TextColor3 = Color3.new(0,0,0)
  1504. Hehe.TextStrokeColor3 = Color3.new(1,1,1)
  1505. end
  1506. end))
  1507. for i = 1,string.len(text),1 do
  1508. Swait()
  1509. Hehe.Text = string.sub(text,1,i)
  1510. end
  1511. Swait(90)--Re[math.random(1, 93)]
  1512. for i = 0, 1, .025 do
  1513. Swait()
  1514. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1515. Hehe.TextStrokeTransparency = i
  1516. Hehe.TextTransparency = i
  1517. end
  1518. Bill:Destroy()
  1519. end)
  1520. chat()
  1521. end
  1522.  
  1523. function onChatted(msg)
  1524. chatfunc(msg)
  1525. end
  1526.  
  1527. Player.Chatted:connect(onChatted)
  1528.  
  1529. function printbye(Name)
  1530. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1531. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1532. end
  1533.  
  1534. workspace.ChildAdded:connect(function(instance)
  1535. for BANISH = 1, #TOBANISH do
  1536. if TOBANISH[BANISH] ~= nil then
  1537. if instance.Name == TOBANISH[BANISH] then
  1538. coroutine.resume(coroutine.create(function()
  1539. printbye(instance.Name)
  1540. instance:ClearAllChildren()
  1541. Debris:AddItem(instance,0.0005)
  1542. end))
  1543. end
  1544. end
  1545. end
  1546. end)
  1547.  
  1548. --//=================================\\
  1549. --|| DAMAGING
  1550. --\\=================================//
  1551.  
  1552. function Banish(Foe)
  1553. if Foe then
  1554. coroutine.resume(coroutine.create(function()
  1555. --if game.Players:FindFirstChild(Foe.Name) then
  1556. table.insert(TOBANISH,Foe.Name)
  1557. printbye(Foe.Name)
  1558. --end
  1559. Foe.Archivable = true
  1560. local CLONE = Foe:Clone()
  1561. Foe:Destroy()
  1562. CLONE.Parent = Effects
  1563. CLONE:BreakJoints()
  1564. local MATERIALS = {"Glass","Neon"}
  1565. for _, c in pairs(CLONE:GetDescendants()) do
  1566. if c:IsA("BasePart") then
  1567. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1568. CreateSound(340722848, c, 10, 1, false)
  1569. end
  1570. c.Anchored = true
  1571. c.Transparency = c.Transparency + 0.2
  1572. c.Material = MATERIALS[MRANDOM(1,2)]
  1573. c.Color = C3(1,1,1)
  1574. if c.ClassName == "MeshPart" then
  1575. c.TextureID = ""
  1576. end
  1577. if c:FindFirstChildOfClass("SpecialMesh") then
  1578. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1579. end
  1580. if c:FindFirstChildOfClass("Decal") then
  1581. c:FindFirstChildOfClass("Decal"):remove()
  1582. end
  1583. c.Name = "Banished"
  1584. c.CanCollide = false
  1585. else
  1586. c:remove()
  1587. end
  1588. end
  1589. local A = false
  1590. for i = 1, 35 do
  1591. if A == false then
  1592. A = true
  1593. elseif A == true then
  1594. A = false
  1595. end
  1596. for _, c in pairs(CLONE:GetDescendants()) do
  1597. if c:IsA("BasePart") then
  1598. c.Anchored = true
  1599. c.Material = MATERIALS[MRANDOM(1,2)]
  1600. c.Transparency = c.Transparency + 0.8/35
  1601. if A == false then
  1602. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1603. elseif A == true then
  1604. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1605. end
  1606. end
  1607. end
  1608. Swait()
  1609. end
  1610. CLONE:remove()
  1611. end))
  1612. end
  1613. end
  1614.  
  1615. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1616. local CHILDREN = workspace:GetDescendants()
  1617. for index, CHILD in pairs(CHILDREN) do
  1618. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1619. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1620. if HUM then
  1621. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1622. if TORSO then
  1623. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1624. if ISBANISH == true then
  1625. Banish(CHILD)
  1626. else
  1627. if ISBANISH == "Gravity" then
  1628. HUM.PlatformStand = true
  1629. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1630. local grav = Instance.new("BodyPosition",TORSO)
  1631. grav.D = 15
  1632. grav.P = 20000
  1633. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1634. grav.position = TORSO.Position
  1635. grav.Name = "V3BanishForce"..Player.Name
  1636. else
  1637. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1638. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1639. end
  1640. else
  1641. HUM.PlatformStand = false
  1642. end
  1643. end
  1644. elseif ISBANISH == "Gravity" then
  1645. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1646. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1647. HUM.PlatformStand = false
  1648. end
  1649. end
  1650. end
  1651. end
  1652. end
  1653. end
  1654. end
  1655.  
  1656.  
  1657. function ManualDamage(Humanoid,Damage,TorsoPart)
  1658. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1659. defence.Name = ("HitBy"..Player.Name)
  1660. game:GetService("Debris"):AddItem(defence, 0.001)
  1661. Damage = Damage * DAMAGEMULTIPLIER
  1662. if Humanoid.Health ~= 0 then
  1663. local CritChance = MRANDOM(1,100)
  1664. if Damage > Humanoid.Health then
  1665. Damage = math.ceil(Humanoid.Health)
  1666. if Damage == 0 then
  1667. Damage = 0.1
  1668. end
  1669. end
  1670. Humanoid.Health = Humanoid.Health - Damage
  1671. end
  1672. end
  1673.  
  1674. local asd = Instance.new("ParticleEmitter")
  1675. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1676. asd.LightEmission = .1
  1677. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1678. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1679. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1680. asd.Transparency = bbb
  1681. asd.Size = aaa
  1682. asd.ZOffset = .9
  1683. asd.Acceleration = Vector3.new(0, -15, 0)
  1684. asd.LockedToPart = false
  1685. asd.EmissionDirection = "Back"
  1686. asd.Lifetime = NumberRange.new(1, 2)
  1687. asd.Rotation = NumberRange.new(-100, 100)
  1688. asd.RotSpeed = NumberRange.new(-100, 100)
  1689. asd.Speed = NumberRange.new(10)
  1690. asd.Enabled = false
  1691. asd.VelocitySpread = 999
  1692.  
  1693. function getbloody(victim,amount)
  1694. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1695. PART.CFrame = victim.CFrame
  1696. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1697. Debris:AddItem(PART,5)
  1698. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1699. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1700. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1701. local prtcl = asd:Clone()
  1702. prtcl.Parent = PART
  1703. prtcl:Emit(amount*10)
  1704. end
  1705.  
  1706. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1707. local CHILDREN = workspace:GetDescendants()
  1708. for index, CHILD in pairs(CHILDREN) do
  1709. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1710. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1711. if HUM then
  1712. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1713. if TORSO then
  1714. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1715. if INSTAKILL == true then
  1716. CHILD:BreakJoints()
  1717. else
  1718. local DMG = MRANDOM(MINDMG,MAXDMG)
  1719. ManualDamage(HUM,DMG,TORSO)
  1720. end
  1721. if FLING > 0 then
  1722. for _, c in pairs(CHILD:GetChildren()) do
  1723. if c:IsA("BasePart") then
  1724. local bv = Instance.new("BodyVelocity")
  1725. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1726. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1727. bv.Parent = c
  1728. Debris:AddItem(bv,0.05)
  1729. end
  1730. end
  1731. end
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738.  
  1739. function Dismember(MAN,DOWHAT)
  1740. for index, CHILD in pairs(MAN:GetDescendants()) do
  1741. if CHILD:IsA("Script") or CHILD:IsA("LocalScript") then
  1742. CHILD:Destroy()
  1743. end
  1744. end
  1745. if DOWHAT == "Ragdoll" then
  1746. local HUM = MAN:FindFirstChildOfClass("Humanoid")
  1747. if HUM then
  1748. HUM.Health = 0
  1749. end
  1750. if MAN:FindFirstChild("UpperTorso") then
  1751. local SCRIPT = script.R15Ragdoll:Clone()
  1752. SCRIPT.Parent = MAN
  1753. SCRIPT.Disabled = false
  1754. else
  1755. local SCRIPT = script.R6Ragdoll:Clone()
  1756. SCRIPT.Parent = MAN
  1757. SCRIPT.Disabled = false
  1758. end
  1759. MAN:BreakJoints()
  1760. else
  1761. local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  1762. local HED = MAN:FindFirstChild("Head")
  1763. if TORSO and HED then
  1764. if DOWHAT == "Head" then
  1765. if TORSO:FindFirstChild("TorsoA4") then
  1766. TORSO:FindFirstChild("TorsoA4"):Remove()
  1767. elseif MAN:FindFirstChild("RagdollConstraintHead") then
  1768. MAN:FindFirstChild("RagdollConstraintHead"):Remove()
  1769. end
  1770. HED:BreakJoints()
  1771. elseif DOWHAT == "RightArm" then
  1772. if TORSO:FindFirstChild("TorsoA3") then
  1773. TORSO:FindFirstChild("TorsoA3"):Remove()
  1774. elseif MAN:FindFirstChild("RagdollConstraintRightUpperArm") then
  1775. MAN:FindFirstChild("RagdollConstraintRightUpperArm"):Remove()
  1776. end
  1777. elseif DOWHAT == "LeftArm" then
  1778. if TORSO:FindFirstChild("TorsoA2") then
  1779. TORSO:FindFirstChild("TorsoA2")
  1780. elseif MAN:FindFirstChild("RagdollConstraintLeftUpperArm") then
  1781. MAN:FindFirstChild("RagdollConstraintLeftUpperArm"):Remove()
  1782. end
  1783. elseif DOWHAT == "Legs" then
  1784. if TORSO.Name == "Torso" then
  1785. if TORSO:FindFirstChild("TorsoA") then
  1786. TORSO:FindFirstChild("TorsoA"):Remove()
  1787. end
  1788. if TORSO:FindFirstChild("TorsoA1") then
  1789. TORSO:FindFirstChild("TorsoA1"):Remove()
  1790. end
  1791. elseif MAN:FindFirstChild("RagdollConstraintUpperTorso") then
  1792. MAN:FindFirstChild("RagdollConstraintUpperTorso"):Remove()
  1793. end
  1794. end
  1795. end
  1796. end
  1797. end
  1798.  
  1799. function AttachmentCFrame(A)
  1800. return A.Parent.CFrame*CF(A.Position)
  1801. end
  1802.  
  1803. function R15Ragdoll(character,KeepArms)
  1804. character:BreakJoints()
  1805. coroutine.resume(coroutine.create(function()
  1806. recurse(character, function(_,v)
  1807. if v:IsA("Attachment") then
  1808. v.Axis = Vector3.new(0, 1, 0)
  1809. v.SecondaryAxis = Vector3.new(0, 0, 1)
  1810. v.Rotation = Vector3.new(0, 0, 0)
  1811. end
  1812. end)
  1813. for _,child in next,character:GetChildren() do
  1814. if child:IsA("Accoutrement") then
  1815. for _,part in next,child:GetChildren() do
  1816. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1817. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1818. local attachment0 = getAttachment0(character,attachment1.Name)
  1819. if attachment0 and attachment1 then
  1820. local constraint = Instance.new("HingeConstraint")
  1821. constraint.Attachment0 = attachment0
  1822. constraint.Attachment1 = attachment1
  1823. constraint.LimitsEnabled = true
  1824. constraint.UpperAngle = 0
  1825. constraint.LowerAngle = 0
  1826. constraint.Parent = character
  1827. end
  1828. ArtificialHitbox(part)
  1829. elseif part.Name == "HumanoidRootPart" then
  1830. part:remove()
  1831. end
  1832. end
  1833. end
  1834. end
  1835.  
  1836. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1837. {"LimitsEnabled",true};
  1838. {"UpperAngle",5};
  1839. })
  1840. if character:FindFirstChild("Head") then
  1841. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1842. {"LimitsEnabled",true};
  1843. {"UpperAngle",15};
  1844. })
  1845. end
  1846.  
  1847. local handProperties = {
  1848. {"LimitsEnabled", true};
  1849. {"UpperAngle",0};
  1850. {"LowerAngle",0};
  1851. }
  1852. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1853. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1854.  
  1855. local shinProperties = {
  1856. {"LimitsEnabled", true};
  1857. {"UpperAngle", 0};
  1858. {"LowerAngle", -75};
  1859. }
  1860. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1861. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1862.  
  1863. local footProperties = {
  1864. {"LimitsEnabled", true};
  1865. {"UpperAngle", 15};
  1866. {"LowerAngle", -45};
  1867. }
  1868. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1869. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1870. if KeepArms == true then
  1871. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1872. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1873. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1874. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1875. end
  1876. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1877. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1878. Debris:AddItem(character,5)
  1879. end))
  1880. end
  1881.  
  1882. function Ragdoll(Character2,CharTorso,KeepArms)
  1883. coroutine.resume(coroutine.create(function()
  1884. Character2:BreakJoints()
  1885. local hum = Character2:findFirstChild("Humanoid")
  1886. hum:remove()
  1887. local function Scan(ch)
  1888. local e
  1889. for e = 1,#ch do
  1890. Scan(ch[e]:GetChildren())
  1891. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1892. ch[e]:remove()
  1893. end
  1894. end
  1895. end
  1896. local NEWHUM = IT("Humanoid")
  1897. NEWHUM.Name = "Corpse"
  1898. NEWHUM.Health = 0
  1899. NEWHUM.MaxHealth = 0
  1900. NEWHUM.PlatformStand = true
  1901. NEWHUM.Parent = Character2
  1902. NEWHUM.DisplayDistanceType = "None"
  1903.  
  1904. local ch = Character2:GetChildren()
  1905. local i
  1906. for i = 1,#ch do
  1907. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1908. ch[i]:remove()
  1909. end
  1910. end
  1911.  
  1912. local Torso2 = Character2.Torso
  1913. local movevector = Vector3.new()
  1914.  
  1915. if Torso2 then
  1916. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1917. local Head = Character2:FindFirstChild("Head")
  1918. if Head then
  1919. local Neck = Instance.new("Weld")
  1920. Neck.Name = "Neck"
  1921. Neck.Part0 = Torso2
  1922. Neck.Part1 = Head
  1923. Neck.C0 = CFrame.new(0, 1.5, 0)
  1924. Neck.C1 = CFrame.new()
  1925. Neck.Parent = Torso2
  1926.  
  1927. end
  1928. local Limb = Character2:FindFirstChild("Right Arm")
  1929. if Limb and KeepArms == true then
  1930.  
  1931. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1932. local Joint = Instance.new("Glue")
  1933. Joint.Name = "RightShoulder"
  1934. Joint.Part0 = Torso2
  1935. Joint.Part1 = Limb
  1936. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1937. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1938. Joint.Parent = Torso2
  1939.  
  1940. local B = Instance.new("Part")
  1941. B.TopSurface = 0
  1942. B.BottomSurface = 0
  1943. B.formFactor = "Symmetric"
  1944. B.Size = Vector3.new(1, 1, 1)
  1945. B.Transparency = 1
  1946. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1947. B.Parent = Character2
  1948. local W = Instance.new("Weld")
  1949. W.Part0 = Limb
  1950. W.Part1 = B
  1951. W.C0 = CFrame.new(0, -0.5, 0)
  1952. W.Parent = Limb
  1953.  
  1954. end
  1955. local Limb = Character2:FindFirstChild("Left Arm")
  1956. if Limb and KeepArms == true then
  1957.  
  1958. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1959. local Joint = Instance.new("Glue")
  1960. Joint.Name = "LeftShoulder"
  1961. Joint.Part0 = Torso2
  1962. Joint.Part1 = Limb
  1963. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1964. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1965. Joint.Parent = Torso2
  1966.  
  1967. local B = Instance.new("Part")
  1968. B.TopSurface = 0
  1969. B.BottomSurface = 0
  1970. B.formFactor = "Symmetric"
  1971. B.Size = Vector3.new(1, 1, 1)
  1972. B.Transparency = 1
  1973. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1974. B.Parent = Character2
  1975. local W = Instance.new("Weld")
  1976. W.Part0 = Limb
  1977. W.Part1 = B
  1978. W.C0 = CFrame.new(0, -0.5, 0)
  1979. W.Parent = Limb
  1980.  
  1981. end
  1982. local Limb = Character2:FindFirstChild("Right Leg")
  1983. if Limb then
  1984.  
  1985. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1986. local Joint = Instance.new("Glue")
  1987. Joint.Name = "RightHip"
  1988. Joint.Part0 = Torso2
  1989. Joint.Part1 = Limb
  1990. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1991. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1992. Joint.Parent = Torso2
  1993.  
  1994. local B = Instance.new("Part")
  1995. B.TopSurface = 0
  1996. B.BottomSurface = 0
  1997. B.formFactor = "Symmetric"
  1998. B.Size = Vector3.new(1, 1, 1)
  1999. B.Transparency = 1
  2000. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2001. B.Parent = Character2
  2002. local W = Instance.new("Weld")
  2003. W.Part0 = Limb
  2004. W.Part1 = B
  2005. W.C0 = CFrame.new(0, -0.5, 0)
  2006. W.Parent = Limb
  2007.  
  2008. end
  2009. local Limb = Character2:FindFirstChild("Left Leg")
  2010. if Limb then
  2011.  
  2012. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2013. local Joint = Instance.new("Glue")
  2014. Joint.Name = "LeftHip"
  2015. Joint.Part0 = Torso2
  2016. Joint.Part1 = Limb
  2017. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2018. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2019. Joint.Parent = Torso2
  2020.  
  2021. local B = Instance.new("Part")
  2022. B.TopSurface = 0
  2023. B.BottomSurface = 0
  2024. B.formFactor = "Symmetric"
  2025. B.Size = Vector3.new(1, 1, 1)
  2026. B.Transparency = 1
  2027. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2028. B.Parent = Character2
  2029. local W = Instance.new("Weld")
  2030. W.Part0 = Limb
  2031. W.Part1 = B
  2032. W.C0 = CFrame.new(0, -0.5, 0)
  2033. W.Parent = Limb
  2034.  
  2035. end
  2036. --[
  2037. local Bar = Instance.new("Part")
  2038. Bar.TopSurface = 0
  2039. Bar.BottomSurface = 0
  2040. Bar.formFactor = "Symmetric"
  2041. Bar.Size = Vector3.new(1, 1, 1)
  2042. Bar.Transparency = 1
  2043. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2044. Bar.Parent = Character2
  2045. local Weld = Instance.new("Weld")
  2046. Weld.Part0 = Torso2
  2047. Weld.Part1 = Bar
  2048. Weld.C0 = CFrame.new(0, 0.5, 0)
  2049. Weld.Parent = Torso2
  2050. --]]
  2051. end
  2052. Character2.Parent = workspace
  2053. Debris:AddItem(Character2,5)
  2054.  
  2055. return Character2,Torso2
  2056. end))
  2057. end
  2058.  
  2059. function KickThatNigga(CHARACTER)
  2060. g = game.Players:GetPlayers()
  2061. local kickfolder = IT("Folder",Effects)
  2062. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2063. naeeym2.AlwaysOnTop = false
  2064. naeeym2.Size = UDim2.new(5,35,2,35)
  2065. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2066. naeeym2.Name = "Mark"
  2067. local tecks2 = Instance.new("TextLabel",naeeym2)
  2068. tecks2.BackgroundTransparency = 1
  2069. tecks2.TextScaled = true
  2070. tecks2.BorderSizePixel = 0
  2071. tecks2.Text = ""
  2072. tecks2.Font = "SciFi"
  2073. tecks2.TextSize = 30
  2074. tecks2.TextStrokeTransparency = 1
  2075. tecks2.TextColor3 = Color3.new(1,0,0)
  2076. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2077. tecks2.Size = UDim2.new(1,0,0.5,0)
  2078. tecks2.Parent = naeeym2
  2079. CreateSound("527749592", CHARACTER, 600, 1, false)
  2080. for i,v in ipairs(CHARACTER:GetChildren()) do
  2081. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2082. if v.Name ~= "HumanoidRootPart" then
  2083. local BOD = v:Clone()
  2084. BOD.CanCollide = false
  2085. BOD.Anchored = true
  2086. BOD.CFrame = v.CFrame
  2087. BOD.Parent = kickfolder
  2088. BOD.Material = "Granite"
  2089. BOD.Color = C3(.3,0,0)
  2090. if BOD:FindFirstChildOfClass("Decal") then
  2091. BOD:FindFirstChildOfClass("Decal"):remove()
  2092. end
  2093. if BOD.Name == "Head" then
  2094. naeeym2.Adornee = BOD
  2095. end
  2096. if BOD.ClassName == "MeshPart" then
  2097. BOD.TextureID = ""
  2098. end
  2099. end
  2100. end
  2101. end
  2102. for i,v in pairs(g) do
  2103. v:remove()
  2104. end
  2105. if CHARACTER ~= Character then
  2106. CHARACTER:remove()
  2107. end
  2108. if CHARACTER.Name == "Helkern" then
  2109. Character:BreakJoints()
  2110. end
  2111. coroutine.resume(coroutine.create(function()
  2112. for i = 1, 50 do
  2113. Swait()
  2114. for i,v in ipairs(kickfolder:GetChildren()) do
  2115. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2116. v.Transparency = 1
  2117. end
  2118. naeeym2.Enabled = false
  2119. end
  2120. Swait()
  2121. for i,v in ipairs(kickfolder:GetChildren()) do
  2122. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2123. v.Transparency = 0
  2124. end
  2125. naeeym2.Enabled = true
  2126. end
  2127. end
  2128. kickfolder:remove()
  2129. end))
  2130. end
  2131.  
  2132. function ApplyAoE(POSITION,RANGE,ISKICKED)
  2133. local CHILDREN = workspace:GetDescendants()
  2134. for index, CHILD in pairs(CHILDREN) do
  2135. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2136. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2137. if HUM then
  2138. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2139. if TORSO then
  2140. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2141. if ISKICKED == true then
  2142. KickThatNigga(CHILD)
  2143. else
  2144. if ISKICKED == "Gravity" then
  2145. HUM.PlatformStand = true
  2146. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2147. local grav = Instance.new("BodyPosition",TORSO)
  2148. grav.D = 15
  2149. grav.P = 20000
  2150. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2151. grav.position = TORSO.Position
  2152. grav.Name = "V3BanishForce"..Player.Name
  2153. else
  2154. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2155. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2156. end
  2157. else
  2158. HUM.PlatformStand = false
  2159. end
  2160. end
  2161. elseif ISKICKED == "Gravity" then
  2162. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2163. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2164. HUM.PlatformStand = false
  2165. end
  2166. end
  2167. end
  2168. end
  2169. end
  2170. end
  2171. end
  2172.  
  2173. local BEANED = {}
  2174.  
  2175. function Ban(bitch)
  2176. if bitch then
  2177. g = game.Players:GetPlayers()
  2178. local kickfolder = IT("Folder",Effects)
  2179. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2180. naeeym2.AlwaysOnTop = false
  2181. naeeym2.Size = UDim2.new(5,35,2,35)
  2182. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2183. naeeym2.Name = "Mark"
  2184. local tecks2 = Instance.new("TextLabel",naeeym2)
  2185. tecks2.BackgroundTransparency = 1
  2186. tecks2.TextScaled = true
  2187. tecks2.BorderSizePixel = 0
  2188. tecks2.Text = ""
  2189. tecks2.Font = "SciFi"
  2190. tecks2.TextSize = 30
  2191. tecks2.TextStrokeTransparency = 0
  2192. tecks2.TextColor3 = Color3.new(1,0,0)
  2193. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2194. tecks2.Size = UDim2.new(1,0,0.5,0)
  2195. tecks2.Parent = naeeym2
  2196. -- CreateSound("2570187601", bitch, 600, 1, false)
  2197. local Players = game:GetService("Players")
  2198. local fag = Players:FindFirstChild(bitch.Name)
  2199. --faggut:Kick()
  2200. if Players:FindFirstChild(bitch.Name) then
  2201. fag:Kick(reason)
  2202. end
  2203. if Players:FindFirstChild(bitch.Name) then
  2204. fag:Kick(reason)
  2205. end
  2206. if Players:FindFirstChild(bitch.Name) then
  2207. fag:Kick(reason)
  2208. end
  2209. if Players:FindFirstChild(bitch.Name) then
  2210. fag:Kick(reason)
  2211. end
  2212. if Players:FindFirstChild(bitch.Name) then
  2213. fag:Kick(reason)
  2214. end
  2215. if Players:FindFirstChild(bitch.Name) then
  2216. fag:Kick(reason)
  2217. end
  2218. if Players:FindFirstChild("Drago_TH") then
  2219. end
  2220. table.insert(BEANED,bitch.name)
  2221. --]]
  2222. --CreateSound("527749592", game.Workspace, 700, 1, false)
  2223. --CHARACTER:Remove()
  2224. --[[
  2225. for i,v in pairs(g) do
  2226. --v:remove()
  2227. end ]]--
  2228. --[[
  2229. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  2230. for i,v in pairs(g) do
  2231. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  2232. v:remove()
  2233. end
  2234. end
  2235. end]]--
  2236. --[[
  2237. for _, p in pairs(game.Players:GetChildren()) do
  2238. if p:FindFirstChild("CHARACTER") then
  2239.  
  2240. end
  2241. end]]--
  2242. coroutine.resume(coroutine.create(function()
  2243. for i = 1, 50 do
  2244. Swait()
  2245. for i,v in ipairs(kickfolder:GetChildren()) do
  2246. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2247. v.Transparency = 1
  2248. end
  2249. naeeym2.Enabled = false
  2250. end
  2251. Swait()
  2252. for i,v in ipairs(kickfolder:GetChildren()) do
  2253. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2254. v.Transparency = 0
  2255. end
  2256. naeeym2.Enabled = true
  2257. end
  2258. end
  2259. kickfolder:remove()
  2260. end))
  2261. --wait(6)
  2262. --bitch:Remove()
  2263. end
  2264. end
  2265.  
  2266. local function CheckForBan(player)
  2267. for i = 1, #BEANED do
  2268. if player.Name == BEANED[i] then
  2269. player:Kick("Ur mom gay skids") --Ban Reason Change between the '' to change the reason!
  2270. end
  2271. end
  2272. end
  2273.  
  2274.  
  2275. game.Players.PlayerAdded:connect(function()
  2276. for i,v in pairs(game.Players:GetPlayers())do
  2277. CheckForBan(v)
  2278. end
  2279. end)
  2280.  
  2281.  
  2282. function Kick(bitch)
  2283. g = game.Players:GetPlayers()
  2284. local kickfolder = IT("Folder",Effects)
  2285. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2286. naeeym2.AlwaysOnTop = false
  2287. naeeym2.Size = UDim2.new(5,35,2,35)
  2288. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2289. naeeym2.Name = "Mark"
  2290. local tecks2 = Instance.new("TextLabel",naeeym2)
  2291. tecks2.BackgroundTransparency = 1
  2292. tecks2.TextScaled = true
  2293. tecks2.BorderSizePixel = 0
  2294. tecks2.Text = ""
  2295. tecks2.Font = "SciFi"
  2296. tecks2.TextSize = 30
  2297. tecks2.TextStrokeTransparency = 0
  2298. tecks2.TextColor3 = Color3.new(1,0,0)
  2299. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2300. tecks2.Size = UDim2.new(1,0,0.5,0)
  2301. tecks2.Parent = naeeym2
  2302. -- CreateSound("2570187601", bitch, 600, 1, false)
  2303. local Players = game:GetService("Players")
  2304. local fag = Players:FindFirstChild(bitch.Name)
  2305. --faggut:Kick()
  2306. if Players:FindFirstChild(bitch.Name) then
  2307. fag:Kick(reason)
  2308. end
  2309. if Players:FindFirstChild(bitch.Name) then
  2310. fag:Kick(reason)
  2311. end
  2312. if Players:FindFirstChild(bitch.Name) then
  2313. fag:Kick(reason)
  2314. end
  2315. if Players:FindFirstChild(bitch.Name) then
  2316. fag:Kick(reason)
  2317. end
  2318. if Players:FindFirstChild(bitch.Name) then
  2319. fag:Kick(reason)
  2320. end
  2321. if Players:FindFirstChild(bitch.Name) then
  2322. fag:Kick(reason)
  2323. end
  2324. --[[
  2325. for i,v in pairs(fag.Name) do
  2326. if (v:lower() == newPlayer.Name:lower()) then
  2327. newPlayer:Remove()
  2328. end
  2329. end]]--
  2330. --CreateSound("527749592", game.Workspace, 700, 1, false)
  2331. --CHARACTER:Remove()
  2332. --[[
  2333. for i,v in pairs(g) do
  2334. --v:remove()
  2335. end ]]--
  2336. --[[
  2337. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  2338. for i,v in pairs(g) do
  2339. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  2340. v:remove()
  2341. end
  2342. end
  2343. end]]--
  2344. --[[
  2345. for _, p in pairs(game.Players:GetChildren()) do
  2346. if p:FindFirstChild("CHARACTER") then
  2347.  
  2348. end
  2349. end]]--
  2350. coroutine.resume(coroutine.create(function()
  2351. for i = 1, 50 do
  2352. Swait()
  2353. for i,v in ipairs(kickfolder:GetChildren()) do
  2354. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2355. v.Transparency = 1
  2356. end
  2357. naeeym2.Enabled = false
  2358. end
  2359. Swait()
  2360. for i,v in ipairs(kickfolder:GetChildren()) do
  2361. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2362. v.Transparency = 0
  2363. end
  2364. naeeym2.Enabled = true
  2365. end
  2366. end
  2367. kickfolder:remove()
  2368. end))
  2369. --wait(6)
  2370. --bitch:Remove()
  2371. end
  2372.  
  2373.  
  2374. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2375. local CHILDREN = workspace:GetDescendants()
  2376. for index, CHILD in pairs(CHILDREN) do
  2377. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2378. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2379. if HUM then
  2380. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2381. if TORSO then
  2382. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2383. if ISBANISH == true then
  2384. Banish(CHILD)
  2385. else
  2386. if ISBANISH == "Gravity" then
  2387. HUM.PlatformStand = true
  2388. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2389. local grav = Instance.new("BodyPosition",TORSO)
  2390. grav.D = 15
  2391. grav.P = 20000
  2392. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2393. grav.position = TORSO.Position
  2394. grav.Name = "V3BanishForce"..Player.Name
  2395. else
  2396. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2397. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2398. end
  2399. else
  2400. HUM.PlatformStand = false
  2401. end
  2402. end
  2403. elseif ISBANISH == "Gravity" then
  2404. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2405. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2406. HUM.PlatformStand = false
  2407. end
  2408. end
  2409. end
  2410. end
  2411. end
  2412. end
  2413. end
  2414.  
  2415. function KickAoE(POSITION,RANGE,BRUTAL)
  2416. local CHILDREN = workspace:GetDescendants()
  2417. for index, CHILD in pairs(CHILDREN) do
  2418. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2419. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2420. if HUM then
  2421. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2422. if TORSO then
  2423. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2424. if BRUTAL == true then
  2425. if Type == "Banish" then
  2426. KickThatNigger(CHILD)
  2427. elseif Type == "Ban" then
  2428. Ban(CHILD)
  2429. elseif Type == "Kick" then
  2430. Kick(CHILD)
  2431. --elseif Type == "Tangle" then
  2432. --Entangle(CHILD)
  2433. end
  2434. else
  2435. CHILD:BreakJoints()
  2436. end
  2437. end
  2438. end
  2439. end
  2440. end
  2441. end
  2442. end
  2443.  
  2444. local PE=Instance.new("ParticleEmitter",art)
  2445. PE.LightEmission=.8
  2446. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  2447. PE.Lifetime=NumberRange.new(0.35,1.5)
  2448. PE.Rotation=NumberRange.new(0,360)
  2449. PE.Rate=999
  2450. PE.VelocitySpread = 10000
  2451. PE.Acceleration = Vector3.new(0,0,0)
  2452. PE.Drag = 5
  2453. PE.Speed = NumberRange.new(0,0,0)
  2454. PE.Texture="http://www.roblox.com/asset/?id=833874434"
  2455. PE.ZOffset = -1.5
  2456. PE.Name = "PE"
  2457. PE.Enabled = false
  2458.  
  2459. function particles(art)
  2460. local PARTICLES = PE:Clone()
  2461. PARTICLES.Parent = art
  2462. end
  2463.  
  2464. function KillChildren(v)
  2465. v:BreakJoints()
  2466. for _, c in pairs(v:GetChildren()) do
  2467. if c.ClassName == "Part" or c.ClassName == "MesPart" then
  2468. if c.Transparency < 1 then
  2469. if c:FindFirstChildOfClass("Decal") then
  2470. c:FindFirstChildOfClass("Decal"):remove()
  2471. end
  2472. particles(c)
  2473. c.PE.Enabled = true
  2474. c.Parent = Effects
  2475. c.CanCollide = false
  2476. c.Material = "Neon"
  2477. c.Color = C3(1,0,0)
  2478. c.Transparency = 0.5
  2479. local grav = Instance.new("BodyPosition",c)
  2480. grav.P = 20000
  2481. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2482. grav.position = c.Position + VT(MRANDOM(-0.1,0.1),MRANDOM(-0.1,0.1),MRANDOM(-0.1,0.1))
  2483. grav.Name = "GravityForce"
  2484. coroutine.resume(coroutine.create(function()
  2485. for i = 1, 50 do
  2486. Swait()
  2487. c.Transparency = c.Transparency + 0.01
  2488. end
  2489. c.PE.Enabled = false
  2490. Debris:AddItem(c,2)
  2491. end))
  2492. end
  2493. end
  2494. end
  2495. end
  2496.  
  2497. function killnearest(position,range)
  2498. for i,v in ipairs(workspace:GetChildren()) do
  2499. local body = v:GetChildren()
  2500. for part = 1, #body do
  2501. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2502. if(body[part].Position - position).Magnitude < range then
  2503. if v.ClassName == "Model" then
  2504. KillChildren(v)
  2505. end
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end
  2511.  
  2512. function Dismember(MAN,DOWHAT)
  2513. for index, CHILD in pairs(MAN:GetDescendants()) do
  2514. if CHILD:IsA("Script") or CHILD:IsA("LocalScript") then
  2515. CHILD:Destroy()
  2516. end
  2517. end
  2518. if DOWHAT == "Ragdoll" then
  2519. local HUM = MAN:FindFirstChildOfClass("Humanoid")
  2520. if HUM then
  2521. HUM.Health = 0
  2522. end
  2523. if MAN:FindFirstChild("UpperTorso") then
  2524. local SCRIPT = script.R15Ragdoll:Clone()
  2525. SCRIPT.Parent = MAN
  2526. SCRIPT.Disabled = false
  2527. else
  2528. local SCRIPT = script.R6Ragdoll:Clone()
  2529. SCRIPT.Parent = MAN
  2530. SCRIPT.Disabled = false
  2531. end
  2532. MAN:BreakJoints()
  2533. else
  2534. local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  2535. local HED = MAN:FindFirstChild("Head")
  2536. if TORSO and HED then
  2537. if DOWHAT == "Head" then
  2538. if TORSO:FindFirstChild("TorsoA4") then
  2539. TORSO:FindFirstChild("TorsoA4"):Remove()
  2540. elseif MAN:FindFirstChild("RagdollConstraintHead") then
  2541. MAN:FindFirstChild("RagdollConstraintHead"):Remove()
  2542. end
  2543. HED:BreakJoints()
  2544. elseif DOWHAT == "RightArm" then
  2545. if TORSO:FindFirstChild("TorsoA3") then
  2546. TORSO:FindFirstChild("TorsoA3"):Remove()
  2547. elseif MAN:FindFirstChild("RagdollConstraintRightUpperArm") then
  2548. MAN:FindFirstChild("RagdollConstraintRightUpperArm"):Remove()
  2549. end
  2550. elseif DOWHAT == "LeftArm" then
  2551. if TORSO:FindFirstChild("TorsoA2") then
  2552. TORSO:FindFirstChild("TorsoA2")
  2553. elseif MAN:FindFirstChild("RagdollConstraintLeftUpperArm") then
  2554. MAN:FindFirstChild("RagdollConstraintLeftUpperArm"):Remove()
  2555. end
  2556. elseif DOWHAT == "Legs" then
  2557. if TORSO.Name == "Torso" then
  2558. if TORSO:FindFirstChild("TorsoA") then
  2559. TORSO:FindFirstChild("TorsoA"):Remove()
  2560. end
  2561. if TORSO:FindFirstChild("TorsoA1") then
  2562. TORSO:FindFirstChild("TorsoA1"):Remove()
  2563. end
  2564. elseif MAN:FindFirstChild("RagdollConstraintUpperTorso") then
  2565. MAN:FindFirstChild("RagdollConstraintUpperTorso"):Remove()
  2566. end
  2567. end
  2568. end
  2569. end
  2570. end
  2571.  
  2572. function ManSlaughter(MAN)
  2573. if MAN then
  2574. local ROOT = MAN:FindFirstChild("HumanoidRootPart")
  2575. if ROOT then
  2576. ROOT:Remove()
  2577. end
  2578. local MANHUM = MAN:FindFirstChildOfClass("Humanoid")
  2579. if MANHUM then
  2580. MANHUM.BreakJointsOnDeath = false
  2581. MANHUM.Health = 0
  2582. end
  2583. if MAN:FindFirstChild("R6Ragdoll") == nil and MAN:FindFirstChild("R15Ragdoll") == nil then
  2584. if MAN:FindFirstChild("UpperTorso") then
  2585. local SCRIPT = script.R15Ragdoll:Clone()
  2586. SCRIPT.Parent = MAN
  2587. SCRIPT.Disabled = false
  2588. else
  2589. local SCRIPT = script.R6Ragdoll:Clone()
  2590. SCRIPT.Parent = MAN
  2591. SCRIPT.Disabled = false
  2592. end
  2593. local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  2594. if TORSO then
  2595. NewSound({ID = 146594648,PARENT = TORSO,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  2596. end
  2597. end
  2598. MAN:BreakJoints()
  2599. if MAN:FindFirstChild("Slaughtered") == nil then
  2600. local MARK = IT("Folder",MAN)
  2601. MARK.Name = "Slaughtered"
  2602. else
  2603. if MAN:FindFirstChild("Slaughtered") then
  2604. local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  2605. if TORSO then
  2606. TORSO.RotVelocity = VT(0,MRANDOM(-25,25),0)
  2607. end
  2608. end
  2609. end
  2610. end
  2611. end
  2612.  
  2613. function ApplyDamage2(Humanoid,Damage,OneShot)
  2614. Damage = Damage * DAMAGEMULTIPLIER
  2615. local DEAD = false
  2616. if Humanoid.Health < 2000 and OneShot == false then
  2617. if Humanoid.Health - Damage > 0 then
  2618. Humanoid.Health = Humanoid.Health - Damage
  2619. else
  2620. Humanoid.Parent:BreakJoints()
  2621. DEAD = true
  2622. end
  2623. else
  2624. DEAD = true
  2625. Humanoid.Parent:BreakJoints()
  2626. end
  2627. if DEAD == true then
  2628. local PARTS = {}
  2629. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  2630. if CHILD:IsA("BasePart") then
  2631. table.insert(PARTS,CHILD)
  2632. end
  2633. end
  2634. coroutine.resume(coroutine.create(function()
  2635. repeat
  2636. Swait()
  2637. local PIECE = nil
  2638. if MRANDOM(1,5) == 1 then
  2639. for E = 1, #PARTS do
  2640. if MRANDOM(1,5) == 1 then
  2641. PIECE = PARTS[E]
  2642. table.remove(PARTS,E)
  2643. break
  2644. end
  2645. end
  2646. end
  2647. if PIECE ~= nil then
  2648. if PIECE.Name == "Head" then
  2649. getbloody(PIECE,1)
  2650. --[[
  2651. getbloody(PIECE,3)
  2652. WACKYEFFECT({Time = 65, EffectType = "Ring", Size = VT(0.3,0.3,0.3), Size2 = VT(0.4,0.4,0.4), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/10, RotationY = MRANDOM(-25,25)/10, RotationZ = MRANDOM(-25,25)/10, Material = "Glass", Color = C3(1,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  2653. else
  2654. getbloody(PIECE,1)
  2655. WACKYEFFECT({Time = 65, EffectType = "Ring", Size = VT(0.3,0.3,0.3), Size2 = VT(0.4,0.4,0.4), Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/10, RotationY = MRANDOM(-25,25)/10, RotationZ = MRANDOM(-25,25)/10, Material = "Glass", Color = C3(1,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  2656. ]]--
  2657. end
  2658. PIECE:remove()
  2659. end
  2660. until #PARTS == 0
  2661. end))
  2662. end
  2663. end
  2664.  
  2665. function BulletDetection(FROM,TO,BRUTAL)
  2666. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  2667. coroutine.resume(coroutine.create(function()
  2668. if AIMHIT ~= nil then
  2669. if AIMHIT.Parent ~= Character then
  2670. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2671. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  2672. if BRUTAL == true then
  2673. ApplyDamage2(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),999,true)
  2674. else
  2675. getbloody(AIMHIT,3)
  2676. AIMHIT.Parent:BreakJoints()
  2677. if AIMHIT.Name == "Head" then
  2678. AIMHIT.Name = "HEADSHOT"
  2679. AIMHIT:remove()
  2680. end
  2681. end
  2682. else
  2683. if BRUTAL == true then
  2684. ApplyDamage2(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),999,true)
  2685. else
  2686. AIMHIT.Parent.Parent:BreakJoints()
  2687. end
  2688. end
  2689. end
  2690. end
  2691. end
  2692. end))
  2693. SpawnTrail(FROM,AIMPOS)
  2694. return AIMHIT,AIMPOS,NORMAL
  2695. end
  2696.  
  2697. --//=================================\\
  2698. --|| ATTACK FUNCTIONS AND STUFF
  2699. --\\=================================//
  2700.  
  2701. function Bomb()
  2702. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  2703. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2704. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2705. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2706. if TORSO and HUM.Health > 0 then
  2707. ATTACK = true
  2708. Rooted = false
  2709. local GYRO = IT("BodyGyro",RootPart)
  2710. GYRO.D = 275
  2711. GYRO.P = 20000
  2712. GYRO.MaxTorque = VT(0,40000,0)
  2713. local grav = Instance.new("BodyPosition",TORSO)
  2714. grav.D = 1500
  2715. grav.P = 20000
  2716. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2717. grav.position = TORSO.Position+VT(0,0,0)
  2718. CreateSound(429459101, TORSO, 0.5, 1, false)
  2719. for i=0, 4, 0.1 / Animation_Speed do
  2720. Swait()
  2721. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2722. WACKYEFFECT({Time = 12, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 2, SoundVolume = 0.8})
  2723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 15)) * ANGLES(RAD(0), RAD(0), RAD(-65)), 0.5 / Animation_Speed)
  2724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(MRANDOM(-10,10)), RAD(65)), 1 / Animation_Speed)
  2725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(MRANDOM(-15,15)), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-68), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2729. end
  2730. SHAKECAM(HITPOS, 15, 2, 130)
  2731. CreateSound(884348443, TORSO, 5, 0.8, false)
  2732. killnearest(TORSO.Position, 5, 5)
  2733. for i=0, 1, 0.1 / Animation_Speed do
  2734. Swait()
  2735. WACKYEFFECT({Time = 12, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 2, SoundVolume = 0.8})
  2736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 15)) * ANGLES(RAD(0), RAD(0), RAD(-65)), 0.5 / Animation_Speed)
  2737. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(MRANDOM(-10,10)), RAD(65)), 1 / Animation_Speed)
  2738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, 0) * ANGLES(RAD(160), RAD(MRANDOM(-15,15)), RAD(-70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2740. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-68), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2742. end
  2743. GYRO:Remove()
  2744. ATTACK = false
  2745. Rooted = false
  2746. end
  2747. end
  2748. end
  2749.  
  2750. function Bomb2()
  2751. local TARGET = Mouse.Target
  2752. if TARGET ~= nil then
  2753. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2754. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2755. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2756. if ROOT and HUM.Health > 0 then
  2757. local FOE = Mouse.Target.Parent
  2758. RootPart.CFrame = ROOT.CFrame*CF(0,0,4.2)
  2759. ROOT.Anchored = true
  2760. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  2761. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2762. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2763. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2764. if TORSO and HUM.Health > 0 then
  2765. ATTACK = true
  2766. Rooted = true
  2767. Rooted = true
  2768. for i=0, 3, 0.1 / Animation_Speed do
  2769. Swait()
  2770. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 15)) * ANGLES(RAD(0), RAD(0), RAD(65)), 0.5 / Animation_Speed)
  2771. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(0), RAD(65)), 1 / Animation_Speed)
  2772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2773. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2774. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(68), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2775. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2776. end
  2777. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  2778. local CHILDREN = workspace:GetDescendants()
  2779. for index, CHILD in pairs(CHILDREN) do
  2780. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2781. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2782. if HUM then
  2783. local TORSO = CHILD:FindFirstChild("Head")
  2784. if TORSO then
  2785. if (TORSO.Position - RootPart.Position).Magnitude <= 7 then
  2786. getbloody(TORSO,5)
  2787. SHAKECAM(HITPOS, 15, 2, 130)
  2788. TORSO:remove()
  2789. if CHILD:FindFirstChild("Torso") then
  2790. Ragdoll(CHILD,Torso,true)
  2791. elseif CHILD:FindFirstChild("UpperTorso") then
  2792. R15Ragdoll(CHILD,true)
  2793. end
  2794. end
  2795. end
  2796. end
  2797. end
  2798. end
  2799. CreateSound(887549720, TORSO, 5, 1, false)
  2800. for i=0, 1, 0.1 / Animation_Speed do
  2801. Swait()
  2802. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 15)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1 / Animation_Speed)
  2803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(0), RAD(120)), 1 / Animation_Speed)
  2804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2806. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2808. end
  2809. ATTACK = false
  2810. Rooted = false
  2811. end
  2812. end
  2813. end
  2814. end
  2815. end
  2816. end
  2817.  
  2818. function Taunt()
  2819. ATTACK = true
  2820. Rooted = true
  2821. CreateSound(967069404, Head, 10, 0.9, false)
  2822. for i=0, 4, 0.1 / Animation_Speed do
  2823. Swait()
  2824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 2)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(COS(10 * SINE / 2)), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(COS(-10 * SINE / 2)), RAD(COS(-10 * SINE / 2)), RAD(-8)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 2), -0.01) * ANGLES(RAD(10), RAD(75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 2), -0.01) * ANGLES(RAD(10), RAD(-75), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2830. end
  2831. ATTACK = false
  2832. Rooted = false
  2833. end
  2834.  
  2835.  
  2836. function Zone()
  2837. ATTACK = true
  2838. Rooted = true
  2839. local GYRO = IT("BodyGyro",RootPart)
  2840. GYRO.D = 175
  2841. GYRO.P = 20000
  2842. GYRO.MaxTorque = VT(0,40000,0)
  2843. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2844. for i=0, 0.7, 0.1 / Animation_Speed do
  2845. Swait()
  2846. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2847. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.3, -0.5) * ANGLES(RAD(50), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2851. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2852. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(-82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2853. end
  2854. for i=0, 0.7, 0.1 / Animation_Speed do
  2855. Swait()
  2856. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.3, -0.5) * ANGLES(RAD(50), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(25), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2861. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(-82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2863. end
  2864. CreateSound(317130715, Hole, 7, 1.3, false)
  2865. for i=0, 0.7, 0.1 / Animation_Speed do
  2866. Swait()
  2867. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.3, -0.5) * ANGLES(RAD(50), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(25), RAD(50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2872. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2873. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-9), RAD(-82), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2874. end
  2875. repeat
  2876. for i=0, 0.1, 0.1 / Animation_Speed do
  2877. Swait()
  2878. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 0.15 / Animation_Speed)
  2880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(MRANDOM(-10,10)), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2883. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2885. end
  2886. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  2887. BulletDetection(Hole.Position,Mouse.Hit.p,true)
  2888. local HIT,POS = CastProperRay(AttachmentCFrame(Hole.Nuzzle).p,MOUSEPOS,1000,Character)
  2889. local DISTANCE = (POS - AttachmentCFrame(Hole.Nuzzle).p).Magnitude
  2890. WACKYEFFECT({Time = 12, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.8,0.8,0.8), Transparency = 0, Transparency2 = 1, CFrame = CF(AttachmentCFrame(Hole.Nuzzle).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 745308042, SoundPitch = 2, SoundVolume = 0.8})
  2891. WACKYEFFECT({Time = 8, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(AttachmentCFrame(Hole.Nuzzle).p,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2892. SHAKECAM(HITPOS, 3, 3, 3)
  2893. for i=0, 0.08, 0.1 / Animation_Speed do
  2894. Swait()
  2895. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 0.15 / Animation_Speed)
  2897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(100), RAD(MRANDOM(-10,10)), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2900. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2901. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2902. end
  2903. until KEYHOLD == false
  2904. for i=0, 1, 0.1 / Animation_Speed do
  2905. Swait()
  2906. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 0.15 / Animation_Speed)
  2907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  2908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2910. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2911. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2912. end
  2913. GYRO:Remove()
  2914. ATTACK = false
  2915. Rooted = false
  2916. end
  2917.  
  2918.  
  2919.  
  2920. --//=================================\\
  2921. --|| ASSIGN THINGS TO KEYS
  2922. --\\=================================//
  2923.  
  2924. -------------------------------------
  2925.  
  2926. Humanoid.Animator.Parent = nil
  2927.  
  2928. -------------------------------------
  2929.  
  2930.  
  2931. function MouseDown(Mouse)
  2932. if ATTACK == false then
  2933. end
  2934. end
  2935.  
  2936.  
  2937. function MouseUp(Mouse)
  2938. HOLD = false
  2939. end
  2940.  
  2941. function KeyDown(Key)
  2942. KEYHOLD = true
  2943. if Key == "z" and ATTACK == false then
  2944. Zone()
  2945. end
  2946.  
  2947. if Key == "t" and ATTACK == false then
  2948. Taunt()
  2949. end
  2950.  
  2951. if Key == "r" and ATTACK == false then
  2952. Bomb2()
  2953. end
  2954.  
  2955. if Key == "e" and ATTACK == false then
  2956. Bomb()
  2957. end
  2958. end
  2959.  
  2960. function KeyUp(Key)
  2961. KEYHOLD = false
  2962. end
  2963.  
  2964. Mouse.Button1Down:connect(function(NEWKEY)
  2965. MouseDown(NEWKEY)
  2966. end)
  2967. Mouse.Button1Up:connect(function(NEWKEY)
  2968. MouseUp(NEWKEY)
  2969. end)
  2970. Mouse.KeyDown:connect(function(NEWKEY)
  2971. KeyDown(NEWKEY)
  2972. end)
  2973. Mouse.KeyUp:connect(function(NEWKEY)
  2974. KeyUp(NEWKEY)
  2975. end)
  2976.  
  2977. --//=================================\\
  2978. --\\=================================//
  2979.  
  2980.  
  2981. function unanchor()
  2982. if UNANCHOR == true then
  2983. g = CharacterA:GetChildren()
  2984. for i = 1, #g do
  2985. if g[i].ClassName == "Part" then
  2986. g[i].Anchored = false
  2987. end
  2988. end
  2989. end
  2990. end
  2991.  
  2992.  
  2993. --//=================================\\
  2994. --|| WRAP THE WHOLE SCRIPT UP
  2995. --\\=================================//
  2996.  
  2997. Humanoid.Changed:connect(function(Jump)
  2998. if Jump == "Jump" and (Disable_Jump == true) then
  2999. Humanoid.Jump = false
  3000. end
  3001. end)
  3002.  
  3003. local GLITCH = 0
  3004.  
  3005. local CONNECT = nil
  3006.  
  3007. while true do
  3008. Swait()
  3009. ANIMATE.Parent = nil
  3010. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3011. Humanoid = IT("Humanoid",Character)
  3012. end
  3013. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3014. v:Stop();
  3015. end
  3016. local ADD = Humanoid.WalkSpeed*2
  3017. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3018. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3019. local NameClan = 0
  3020. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  3021. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3022. SINE = SINE + CHANGE
  3023. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3024. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(-TORSOVERTICALVELOCITY), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3025. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 25), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3026. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.555 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.7 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(-TORSOVERTICALVELOCITY)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(85 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3027. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.555 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.7 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(-TORSOVERTICALVELOCITY)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(85 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3028. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3029. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3030. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3031. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3032. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3033. end
  3034. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3035. ANIM = "Jump"
  3036. if ATTACK == false then
  3037. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3038. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3039. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3040. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3041. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  3042. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3043. end
  3044. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3045. ANIM = "Fall"
  3046. if ATTACK == false then
  3047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-8), RAD(0), RAD(8 * SIN(SINE / 8))), 0.5 / Animation_Speed)
  3048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(8 * SIN(SINE / 8))), 0.5 / Animation_Speed)
  3049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3051. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  3052. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3053. end
  3054. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3055. ANIM = "Idle"
  3056. if ATTACK == false then
  3057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.1 * SIN(SINE / 25)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  3058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(8 * SIN(SINE / 26)), RAD(-25 - 8.5 * SIN(SINE / 25))), 0.15 / Animation_Speed)
  3059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(8 * SIN(SINE / 26)), RAD(-10), RAD(6 + 8.5 * SIN(SINE / 25))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.8, 0.4, -0.7) * ANGLES(RAD(90), RAD(0), RAD(86)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.1 * SIN(SINE / 25), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.1 * SIN(SINE / 25), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3063. end
  3064. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3065. ANIM = "Walk"
  3066. if ATTACK == false then
  3067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.3, 0) * ANGLES(RAD(16), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  3068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-16 - 8.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  3069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-10), RAD(6)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-(8+(ADD*1.25))* COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-22 * COS(SINE / (WALKSPEEDVALUE)))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3071. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(86-35*COS(SINE / WALKSPEEDVALUE)), RAD(0)) * ANGLES(RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE)), RAD(0)), 0.15 / Animation_Speed)
  3072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-86-35*COS(SINE / WALKSPEEDVALUE)), RAD(0)) * ANGLES(RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE)), RAD(0)), 0.15 / Animation_Speed)
  3073. end
  3074. end
  3075. unanchor()
  3076. Humanoid.MaxHealth = "inf"
  3077. Humanoid.Health = "inf"
  3078. if Rooted == false then
  3079. Disable_Jump = false
  3080. Humanoid.WalkSpeed = Speed
  3081. elseif Rooted == true then
  3082. Disable_Jump = true
  3083. Humanoid.WalkSpeed = 0
  3084. end
  3085. BMUSIC.SoundId = "rbxassetid://" .. SONGID
  3086. BMUSIC.Looped = true
  3087. BMUSIC.Pitch = PITCH
  3088. BMUSIC.Volume = VOLUME
  3089. BMUSIC.Playing = true
  3090. BMUSIC.EmitterSize = 35
  3091. if BMUSIC.Parent ~= RootPart then
  3092. print("Fixing music")
  3093. BMUSIC = IT("Sound", RootPart)
  3094. BMUSIC.SoundId = "rbxassetid://" .. SONGID
  3095. BMUSIC.Looped = true
  3096. BMUSIC.Pitch = PITCH
  3097. BMUSIC.Volume = VOLUME
  3098. BMUSIC.Playing = true
  3099. BMUSIC.EmitterSize = 25
  3100. BMUSIC.TimePosition = TIMESTAMP
  3101. FIXING = true
  3102. elseif FIXING == false then
  3103. TIMESTAMP = BMUSIC.TimePosition
  3104. else
  3105. FIXING = false
  3106. end
  3107. end
  3108.  
  3109. --//=================================\\
  3110. --\\=================================//
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116. --//====================================================\\--
  3117. --|| END OF SCRIPT
  3118. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement