Advertisement
1x1x1x1IAMbck

Chara

May 16th, 2018
976
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 74.73 KB | None | 0 0
  1. --// Created by 1x1x1x1IAMbck \\--
  2. --// Remake from chara \\--
  3.  
  4. --// Whitelist \\--
  5.  
  6.  
  7. -- friend list
  8. print([[
  9. ___________________________________
  10.  
  11. your CHARActer by 1x1x1x1IAMbck
  12. Build 0001
  13. Working whitelist
  14.  __________________________________
  15.  
  16. Since i give it to VengefulProgram,then it will be leaked.
  17. Why?
  18. Someone log it and he start trading it and stealing.
  19. But i have another ver that looks like real character.
  20. Help by Sugarie Saffron. Sad for him :(
  21. ]])
  22.  
  23.  
  24. --// Main \\--
  25.  
  26. local p = game:service'Players'.LocalPlayer
  27. local char = p.Character
  28. local plr = game.Players.LocalPlayer
  29. local character = plr.Character
  30. player = game:GetService("Players").LocalPlayer
  31. chara = player.Character
  32. local humanoid = character.Humanoid
  33. chara.Humanoid.MaxHealth = math.huge
  34. chara.Humanoid.Health = math.huge
  35.  
  36. humanoid.Changed:connect(function()
  37. if chara.Humanoid.Health > math.huge then
  38. chara.Humanoid.Health = math.huge
  39.  end
  40. end)
  41. mouse = game.Players.LocalPlayer:GetMouse()
  42. player = game.Players.LocalPlayer
  43. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  44. local Player = game.Players.LocalPlayer
  45. local Character = Player.Character
  46. local torso = Character.Torso
  47. local hed = Character.Head
  48. local p = game.Players.LocalPlayer
  49. local char = p.Character
  50. RArm = Character["Right Arm"]
  51. LArm = Character["Left Arm"]
  52. RLeg = Character["Right Leg"]
  53. LLeg = Character["Left Leg"]
  54. local p = game:GetService("Players").LocalPlayer
  55. local char = p.Character
  56. local mouse = p:GetMouse()
  57. local larm = char:WaitForChild("Left Arm")
  58. local rarm = char:WaitForChild("Right Arm")
  59. local lleg = char:WaitForChild("Left Leg")
  60. local rleg = char:WaitForChild("Right Leg")
  61. local hed = char:WaitForChild("Head")
  62. local torso = char:WaitForChild("Torso")
  63. local root = char:WaitForChild("HumanoidRootPart")
  64. local hum = char:FindFirstChildOfClass("Humanoid")
  65. local debris = game:GetService("Debris")
  66. local input = game:GetService("UserInputService")
  67. local run = game:GetService("RunService")
  68. local rs = run.RenderStepped
  69. local wingpose = "Idle"
  70. local DebrisModel = Instance.new("Model",char)
  71. DebrisModel.Name = "Debris"
  72. repeat rs:wait() until p.CharacterAppearanceLoaded
  73. local slashsound1 = Instance.new("Sound", hed)
  74. slashsound1.SoundId = "rbxassetid://935501955"
  75. slashsound1.Volume = 1.2
  76. slashsound1.Pitch = 1
  77. slashsound1.Looped = true
  78. local slashsound2 = Instance.new("Sound", hed)
  79. slashsound2.SoundId = "rbxassetid://323578832"
  80. slashsound2.Volume = 5
  81. local slashsound3 = Instance.new("Sound", hed)
  82. slashsound3.SoundId = "rbxassetid://587998408"
  83. slashsound3.Volume = 50
  84. local slashsoundglobal = Instance.new("Sound", hed)
  85. slashsoundglobal.SoundId = "rbxassetid://323578832" --323578832
  86. slashsoundglobal.Volume = 500
  87. slashsoundglobal.MaxDistance = 10000
  88. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  89. local Plrs = S.Players
  90. local Plr = Plrs.LocalPlayer
  91. local Char = Plr.Character
  92. local Hum = Char:FindFirstChildOfClass'Humanoid'
  93. local RArm = Char["Right Arm"]
  94. local LArm = Char["Left Arm"]
  95. local RLeg = Char["Right Leg"]
  96. local LLeg = Char["Left Leg"]  
  97. local Root = Char:FindFirstChild'HumanoidRootPart'
  98. local Torso = Char.Torso
  99. local Head = Char.Head
  100. local NeutralAnims = true
  101. local Attack = false
  102. local BloodPuddles = {}
  103. local Effects = {}
  104. local Debounces = {Debounces={}}
  105. local Mouse = Plr:GetMouse()
  106. local Hit = {}
  107. local Sine = 0
  108. local Change = 1
  109. local Souls = 0
  110. mouse = game.Players.LocalPlayer:GetMouse()
  111. player = game.Players.LocalPlayer
  112. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  113. local Player = game.Players.LocalPlayer
  114. local Character = Player.Character
  115. local torso = Character.Torso
  116. local hed = Character.Head
  117. local p = game.Players.LocalPlayer
  118. local char = p.Character
  119. RArm = Character["Right Arm"]
  120. LArm = Character["Left Arm"]
  121. RLeg = Character["Right Leg"]
  122. LLeg = Character["Left Leg"]
  123.  
  124. noidle = false
  125. shift = false
  126. control = false
  127. no_nosound_able = false
  128. kills = -20
  129.  
  130. --// Shortcut Variables \\--
  131.  
  132. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  133. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  134. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  135. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  136. local R3 = {N=Region3.new}
  137. local De = S.Debris
  138. local WS = workspace
  139. local Lght = S.Lighting
  140. local RepS = S.ReplicatedStorage
  141. local IN = Instance.new
  142. local CSK = ColorSequenceKeypoint.new
  143. local CS = ColorSequence.new
  144. IT = Instance.new
  145. CF = CFrame.new
  146. VT = Vector3.new
  147. RAD = math.rad
  148. UD2 = UDim2.new
  149. BRICKC = BrickColor.new
  150. ANGLES = CFrame.Angles
  151. EULER = CFrame.fromEulerAnglesXYZ
  152. COS = math.cos
  153. ACOS = math.acos
  154. SIN = math.sin
  155. ASIN = math.asin
  156. ABS = math.abs
  157. MRANDOM = math.random
  158. FLOOR = math.floor
  159.  
  160. --// Controls \\--
  161.  
  162. if 1 then
  163.     local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  164.     local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  165.     Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  166.     local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  167.     idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  168.     idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  169.     idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  170.     local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  171.     normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  172.     normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  173.     normal.Text=[[THX For using it my friend
  174. ----------------------------------
  175. *Q    : WIP
  176. *E    : Switch weapons
  177. *F    : Teleport
  178. *T    : Scary tount
  179. *L/K  : mute / unmute music
  180. Shift : Sprint
  181.  
  182. Created By 1x1x1x1IAMbck
  183. Inspirated by CKbackups Chara
  184. ]]
  185.     spawn(function()
  186.     while game:service'RunService'.RenderStepped:wait()do
  187.         Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  188.     end end)
  189. end
  190. --------------------------------------------------------
  191.  
  192. --// Debounce System \\--
  193.  
  194.  
  195. function Debounces:New(name,cooldown)
  196.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  197.     setmetatable(aaaaa,{__index = Debounces})
  198.     Debounces.Debounces[name] = aaaaa
  199.     return aaaaa
  200. end
  201.  
  202. function Debounces:Use(overrideUsable)
  203.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  204.     if(self.Usable or overrideUsable)then
  205.         self.Usable = false
  206.         self.CoolingDown = true
  207.         local LastUse = time()
  208.         self.LastUse = LastUse
  209.         delay(self.Cooldown or 2,function()
  210.             if(self.LastUse == LastUse)then
  211.                 self.CoolingDown = false
  212.                 self.Usable = true
  213.             end
  214.         end)
  215.     end
  216. end
  217.  
  218. function Debounces:Get(name)
  219.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  220.     for i,v in next, Debounces.Debounces do
  221.         if(i == name)then
  222.             return v;
  223.         end
  224.     end
  225. end
  226.  
  227. function Debounces:GetProgressPercentage()
  228.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  229.     if(self.CoolingDown and not self.Usable)then
  230.         return math.max(
  231.             math.floor(
  232.                 (
  233.                     (time()-self.LastUse)/self.Cooldown or 2
  234.                 )*100
  235.             )
  236.         )
  237.     else
  238.         return 100
  239.     end
  240. end
  241.  
  242. --// Create instance roblox \\--
  243.  
  244. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  245.     local Sound = IN("Sound")
  246.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  247.     Sound.Pitch = pitch or 1
  248.     Sound.Volume = volume or 1
  249.     Sound.Looped = looped or false
  250.     if(autoPlay)then
  251.         coroutine.wrap(function()
  252.             repeat wait() until Sound.IsLoaded
  253.             Sound.Playing = autoPlay or false
  254.         end)()
  255.     end
  256.     if(not looped and effect)then
  257.         Sound.Stopped:connect(function()
  258.             Sound.Volume = 0
  259.             Sound:destroy()
  260.         end)
  261.     elseif(effect)then
  262.         warn("Sound can't be looped and a sound effect!")
  263.     end
  264.     Sound.Parent =parent or Torso
  265.     return Sound
  266. end
  267.  
  268. function Part(parent,color,material,size,cframe,anchored,cancollide)
  269.     local part = IN("Part")
  270.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  271.     part.Material = (material or Enum.Material.SmoothPlastic)
  272.     part.TopSurface,part.BottomSurface=10,10
  273.     part.Size = (size or V3.N(1,1,1))
  274.     part.CFrame = (cframe or CF.N(0,0,0))
  275.     part.Anchored = (anchored or false)
  276.     part.CanCollide = (cancollide or false)
  277.     part.Parent = (parent or Char)
  278.     return part
  279. end
  280. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  281.     local part = IN("SpecialMesh")
  282.     part.MeshId = meshid or ""
  283.     part.TextureId = textid or ""
  284.     part.Scale = scale or V3.N(1,1,1)
  285.     part.Offset = offset or V3.N(0,0,0)
  286.     part.MeshType = meshtype or Enum.MeshType.Sphere
  287.     part.Parent = parent
  288.     return part
  289. end
  290.  
  291. NewInstance = function(instance,parent,properties)
  292.     local inst = Instance.new(instance,parent)
  293.     if(properties)then
  294.         for i,v in next, properties do
  295.             pcall(function() inst[i] = v end)
  296.         end
  297.     end
  298.     return inst;
  299. end
  300.  
  301. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  302.     local NEWMESH = IT(MESH)
  303.     if MESH == "SpecialMesh" then
  304.         NEWMESH.MeshType = MESHTYPE
  305.         if MESHID ~= "nil" and MESHID ~= "" then
  306.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  307.         end
  308.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  309.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  310.         end
  311.     end
  312.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  313.     NEWMESH.Scale = SCALE
  314.     NEWMESH.Parent = PARENT
  315.     return NEWMESH
  316. end
  317.  
  318. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  319.     local NEWPART = IT("Part")
  320.     NEWPART.formFactor = FORMFACTOR
  321.     NEWPART.Reflectance = REFLECTANCE
  322.     NEWPART.Transparency = TRANSPARENCY
  323.     NEWPART.CanCollide = false
  324.     NEWPART.Locked = true
  325.     NEWPART.Anchored = true
  326.     if ANCHOR == false then
  327.         NEWPART.Anchored = false
  328.     end
  329.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  330.     NEWPART.Name = NAME
  331.     NEWPART.Size = SIZE
  332.     NEWPART.Position = Torso.Position
  333.     NEWPART.Material = MATERIAL
  334.     NEWPART:BreakJoints()
  335.     NEWPART.Parent = PARENT
  336.     return NEWPART
  337. end
  338.  
  339. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  340.     local NEWWELD = IT(TYPE)
  341.     NEWWELD.Part0 = PART0
  342.     NEWWELD.Part1 = PART1
  343.     NEWWELD.C0 = C0
  344.     NEWWELD.C1 = C1
  345.     NEWWELD.Parent = PARENT
  346.     return NEWWELD
  347. end
  348.  
  349. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  350.  
  351.  
  352.  
  353.  
  354. --// RSwait \\--
  355.  
  356. function rswait(value)
  357.   if value ~= nil and value ~= 0 then
  358.     for i=1,value do
  359.      rs:wait()
  360.     end
  361.   else
  362.     rs:wait()
  363.   end
  364. end
  365.  
  366. --// Timestop \\--
  367.  
  368. local timeposition = 0
  369.  
  370. function music(id)
  371. if not torso:FindFirstChild("MusicRuin") then
  372. soundz = Instance.new("Sound",torso)
  373. end
  374. soundz.Volume = 10
  375. soundz.Name = "MusicRuin"
  376. soundz.Looped = true
  377. soundz.PlaybackSpeed = 1
  378. soundz.SoundId = "rbxassetid://"..id
  379. soundz:Stop()
  380. soundz:Play()
  381. if no_nosound_able == true then
  382. soundz.TimePosition = timeposition
  383. end
  384. end
  385.  
  386. --// Lerp \\--
  387.  
  388. function lerp(a, b, t)
  389.   return a + (b - a)*t
  390. end
  391.  
  392. function Lerp(c1,c2,al)
  393.   local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  394.   local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  395.   for i,v in pairs(com1) do
  396.     com1[i] = v+(com2[i]-v)*al
  397.   end
  398.   return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  399. end
  400.  
  401. --// SLerp \\--
  402.  
  403. function slerp(a, b, t)
  404.   dot = a:Dot(b)
  405.   if dot > 0.99999 or dot < -0.99999 then
  406.     return t <= 0.5 and a or b
  407.   else
  408.     r = math.acos(dot)
  409.     return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  410.   end
  411. end
  412.  
  413. --// CLerp \\--
  414.  
  415. function clerp(c1,c2,al)
  416.  
  417.   local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  418.  
  419.   local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  420.  
  421.   for i,v in pairs(com1) do
  422.  
  423.     com1[i] = lerp(v,com2[i],al)
  424.  
  425.   end
  426.  
  427.   return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  428.  
  429. end
  430.  
  431. --// Find torso \\--
  432.  
  433. function findAllNearestTorso(pos,dist)
  434.     local list = workspace:children()
  435.     local torso = {}
  436.     local temp = nil
  437.     local human = nil
  438.     local temp2 = nil
  439.     for x = 1, #list do
  440.         temp2 = list[x]
  441.         if (temp2.className == "Model") and (temp2 ~= char) then
  442.             temp = temp2:findFirstChild("Torso")
  443.             human = temp2:findFirstChildOfClass("Humanoid")
  444.             if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  445.                 if (temp.Position - pos).magnitude < dist then
  446.                     table.insert(torso,temp)
  447.                     dist = (temp.Position - pos).magnitude
  448.                 end
  449.             end
  450.         end
  451.     end
  452.     return torso
  453. end
  454.  
  455. --// Player Check \\--
  456.  
  457. function checkIfNotPlayer(model)
  458. if model.CanCollide == true and model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel and model ~= wings and model.Parent ~= wings and model.Parent.Parent ~= wings then
  459. return true
  460. else
  461. return false
  462. end
  463. end
  464.  
  465. --// Weld \\--
  466.  
  467. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  468.  
  469.   local wld = Instance.new("Weld", wp1)
  470.  
  471.   wld.Part0 = wp0
  472.  
  473.   wld.Part1 = wp1
  474.  
  475.   wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  476.  
  477.   return wld
  478.  
  479. end
  480.  
  481. function weld(model)
  482.   local parts,last = {}
  483.   local function scan(parent)
  484.     for _,v in pairs(parent:GetChildren()) do
  485.       if (v:IsA("BasePart")) then
  486.         if (last) then
  487.           local w = Instance.new("Weld")
  488.           w.Name = ("%s_Weld"):format(v.Name)
  489.           w.Part0,w.Part1 = last,v
  490.           w.C0 = last.CFrame:inverse()
  491.           w.C1 = v.CFrame:inverse()
  492.           w.Parent = last
  493.         end
  494.         last = v
  495.         table.insert(parts,v)
  496.       end
  497.       scan(v)
  498.     end
  499.   end
  500.   scan(model)
  501.   for _,v in pairs(parts) do
  502.         v.Anchored = false
  503.         v.Locked = true
  504.         v.Anchored = false
  505.         v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  506.         v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  507.         v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  508.         v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  509.         v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  510.         v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  511.         v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  512.   end
  513. end
  514.  
  515. --// Weapon Creation \\--
  516.  
  517. function calculate(part,asd)
  518. local Head = hed
  519. local RightShoulder = asd
  520. local RightArm = part
  521. local MousePosition = mouse.Hit.p
  522. local ToMouse = (MousePosition - Head.Position).unit
  523. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  524. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  525. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  526. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  527. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  528. if tostring(LateralAngle) == "-1.#IND" then
  529. LateralAngle = 0
  530. end
  531. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  532. if LateralAngle > (math.pi / 2) then
  533. LateralAngle = (math.pi / 2)
  534. local Torso = root
  535. local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p)
  536. if Point.Z > 0 then
  537. if Point.X > -0 and RightArm == rarm then
  538. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0)
  539. elseif Point.X < 0 and RightArm == rarm then
  540. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0)
  541. end
  542. end
  543. end
  544. if Cross.Y < 0 then
  545. LateralAngle = -LateralAngle
  546. end
  547. return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  548. end
  549.  
  550. --// Sound \\--
  551.  
  552. function sound(id,position,vol,pitch,start,finish)
  553.   coroutine.resume(coroutine.create(function()
  554.  
  555.   local part = Instance.new("Part",workspace)
  556.   part.Position = position
  557.   part.Size = Vector3.new(0,0,0)
  558.   part.CanCollide = false
  559.   part.Transparency = 1
  560.  
  561.   local sound = Instance.new("Sound",part)
  562.  
  563.   sound.SoundId = "rbxassetid://"..id
  564.  
  565.   repeat rs:wait() until sound.IsLoaded
  566.  
  567.   if vol ~= nil then
  568.     sound.Volume = vol
  569.   end
  570.  
  571.   if pitch ~= nil then
  572.     sound.PlaybackSpeed = pitch
  573.   end
  574.  
  575.   if start ~= nil then
  576.     sound.TimePosition = start
  577.   end
  578.  
  579.   if finish ~= nil then
  580.     debris:AddItem(part,finish-start)
  581.   else
  582.     debris:AddItem(part,sound.TimeLength)
  583.   end
  584.  
  585.   sound:Play()  
  586.  
  587.   return sound
  588.  
  589.   end))
  590. end
  591.  
  592. --// Computedirection \\--
  593.  
  594. function computeDirection(vec)
  595. local lenSquared = vec.magnitude * vec.magnitude
  596. local invSqrt = 1 / math.sqrt(lenSquared)
  597. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  598. end
  599.  
  600. --// Shake \\--
  601.  
  602. local shaking = 0
  603. function shake(num) if num > shaking then shaking = num end end
  604. game:GetService("RunService").RenderStepped:connect(function()
  605. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)
  606. if shaking > 0 then shaking = shaking - 1 else shaking = 0 end
  607. end)
  608.  
  609. plr = game:GetService("Players").LocalPlayer
  610. DebrisModel = Instance.new("Model",plr.Character)
  611. DebrisModel.Name = "DebrisModel"
  612.  
  613. function Effect(mesh,size,transparency,material,color,position,rotation,sizechange,rotationchange,transparencychange,acceleration)
  614.  
  615.  local part = Instance.new("Part",DebrisModel)
  616.   part.Anchored = true
  617.   part.CanCollide = false
  618.   part.Size = Vector3.new(1,1,1)
  619.   part.Transparency = transparency
  620.   part.Material = material
  621.   part.Color = color
  622.   part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z))
  623.  
  624.  local partmesh = Instance.new("SpecialMesh",part)
  625.   if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end
  626.   partmesh.Scale = size
  627.  
  628.  local pvalue = Instance.new("Vector3Value",part)
  629.   pvalue.Name = "Position"
  630.   pvalue.Value = part.Position
  631.  
  632.  local svalue = Instance.new("Vector3Value",part)
  633.   svalue.Name = "Size"
  634.   svalue.Value = sizechange
  635.  
  636.  local rvalue = Instance.new("Vector3Value",part)
  637.   rvalue.Name = "Rotation"
  638.   rvalue.Value = rotationchange
  639.  
  640.  local tvalue = Instance.new("NumberValue",part)
  641.   tvalue.Name = "Transparency"
  642.   tvalue.Value = transparencychange
  643.  
  644.  local avalue = Instance.new("NumberValue",part)
  645.   avalue.Name = "Acceleration"
  646.   avalue.Value = acceleration
  647.  
  648.  part.Name = "EFFECT"
  649.  
  650.  return part
  651.  
  652. end
  653.  
  654. game:GetService("RunService").RenderStepped:connect(function()
  655.  
  656.  
  657.  if not plr.Character:FindFirstChild("DebrisModel") then
  658.   DebrisModel = Instance.new("Model",plr.Character)
  659.   DebrisModel.Name = "DebrisModel"
  660.  end
  661.  
  662.  for i,v in pairs(DebrisModel:GetChildren()) do
  663.   if v:IsA("BasePart") and v.Name == "EFFECT" then
  664.    local pvalue = v:FindFirstChild("Position").Value
  665.    local svalue = v:FindFirstChild("Size").Value
  666.    local rvalue = v:FindFirstChild("Rotation").Value
  667.    local tvalue = v:FindFirstChild("Transparency").Value
  668.    local avalue = v:FindFirstChild("Acceleration").Value
  669.    local mesh = v:FindFirstChild("Mesh")
  670.    mesh.Scale = mesh.Scale + svalue
  671.    v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue)
  672.    v.Transparency = v.Transparency + tvalue
  673.    v.CFrame = v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z))
  674.    if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then
  675.      v:Destroy()
  676.    end
  677.   end
  678.  end
  679.  
  680.  
  681. end)
  682.  
  683. --// Main 2# \\--
  684.  
  685. player = game.Players.LocalPlayer
  686. chara = player.Character
  687. plr = game.Players.LocalPlayer
  688. char = plr.Character
  689. mouse = plr:GetMouse()
  690. whitecolor = Color3.new(1,1,1)
  691. mouse = game.Players.LocalPlayer:GetMouse()
  692. player = game.Players.LocalPlayer
  693. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  694. local Player = game.Players.LocalPlayer
  695. local Character = Player.Character
  696. local torso = Character.Torso
  697. local hed = Character.Head
  698. local p = game.Players.LocalPlayer
  699. local char = p.Character
  700. for i,v in pairs(char:GetChildren()) do
  701.    if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  702.       v:Destroy()
  703.      end
  704. end
  705. for i,v in pairs(char:GetChildren()) do
  706.     if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  707.         v:Destroy()
  708.     end
  709. end
  710. for _,v in next, char:children() do
  711.         if(v:IsA'Accessory')then
  712.             v:destroy()
  713.     end
  714. end
  715.  
  716.  
  717. --// Short keys \\--
  718.  
  719. RArm = Character["Right Arm"]
  720. LArm = Character["Left Arm"]
  721. RLeg = Character["Right Leg"]
  722. LLeg = Character["Left Leg"]
  723.  
  724. --// Clothes \\--
  725.  
  726. shirt = Instance.new("Shirt", char)
  727. shirt.Name = "Shirt"
  728. pants = Instance.new("Pants", char)
  729. pants.Name = "Pants"
  730. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=344089667"
  731. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=344084364"
  732. hed.face.Texture = "http://www.roblox.com/asset/?id=679717479"
  733.  
  734. RArm.BrickColor = BrickColor.new'Nougat'
  735.     LArm.BrickColor = BrickColor.new'Nougat'
  736.     RLeg.BrickColor = BrickColor.new'Nougat'
  737.     LLeg.BrickColor = BrickColor.new'Nougat'
  738.     torso.BrickColor = BrickColor.new'Nougat'
  739.     hed.BrickColor = BrickColor.new'Nougat'
  740.     char['Body Colors'].HeadColor = BrickColor.new'Nougat'
  741.     char['Body Colors'].TorsoColor = BrickColor.new'Nougat'
  742.     char['Body Colors'].RightArmColor = BrickColor.new'Nougat'
  743.     char['Body Colors'].LeftArmColor = BrickColor.new'Nougat'
  744.     char['Body Colors'].RightLegColor = BrickColor.new'Nougat'
  745.     char['Body Colors'].LeftLegColor = BrickColor.new'Nougat'
  746.  
  747.  
  748. local Hair = char:FindFirstChild("Hair_F") or Instance.new("Hat")
  749. Hair.AttachmentPos = Vector3.new(0, 0.33, 0)
  750. Hair.Name = "Hair_F"
  751. local HairHandle = Hair:FindFirstChild("Handle") or Instance.new("Part", Hair)
  752. if HairHandle.Name ~= "Handle" then
  753.   HairHandle.Size = Vector3.new(1,1,1)
  754. end
  755. HairHandle.BottomSurface = 0
  756. HairHandle.Name = "Handle"
  757. HairHandle.TopSurface = 0
  758. HairHandle.Locked = 1
  759. local Mesh = Hair:FindFirstChild("Mesh") or Instance.new("SpecialMesh", HairHandle)
  760. Mesh.TextureId = ""
  761. Mesh.MeshId = "http://www.roblox.com/asset/?id=212966179"
  762. Mesh.Scale = Vector3.new(1.1,1.1,1.1)
  763. Mesh.Offset = Vector3.new(0,0.125,0)
  764. Hair.Parent = Character
  765. HairHandle.BrickColor = BrickColor.new("Really black")
  766. HairHandle.Material = Enum.Material.Granite
  767. local tail = Instance.new("Part",chara)
  768. tail.Name = "Tail"
  769. tail.Size = Vector3.new(0,0,0)
  770. tail.Position = chara.Torso.Position
  771. tail.BrickColor = BrickColor.new("Nougat")
  772. local tailmesh = Instance.new("SpecialMesh",tail)
  773. tailmesh.MeshType = "FileMesh"
  774. tailmesh.MeshId = "http://www.roblox.com/asset/?id=188635159"
  775. tailmesh.Scale = Vector3.new(1,1,2)
  776. local tailweld = Instance.new("Weld",tail)
  777. tailweld.Part0 = chara.Torso
  778. tailweld.Part1 = tail
  779. tailweld.C0 = CFrame.new(-1.1,-1.5,.7)
  780. tailweld.C0 = tailweld.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180))
  781. local p = Instance.new("Part",chara)
  782. p.Name = "Ears"
  783. p.BrickColor = BrickColor.new("Nougat")
  784. p.Size = Vector3.new(0,0,0)
  785. p.BottomSurface = 0
  786. p.TopSurface = 0
  787. p.Position = chara.Head.Position
  788. local pweld = Instance.new("Weld",p)
  789. pweld.Part0 = chara.Head
  790. pweld.Part1 = p
  791. pweld.C0 = CFrame.new(0,.7,0)
  792. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(180))
  793. local earmesh = Instance.new("SpecialMesh",p)
  794. earmesh.MeshType = "FileMesh"
  795. earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  796. earmesh.Scale = Vector3.new(1.1,1.5,3)
  797. local heart1 = CreatePart(0.7, hed, "SmoothPlastic", 0, 0, "Really red", "Heart1", VT(1,1,1), false)
  798. local msh1 = CreateMesh("SpecialMesh", heart1, "FileMesh", "431221914", "", VT(0.15, 0.15, 0.15), VT(0,0,0))
  799. CreateWeldOrSnapOrMotor("Weld", hed, heart1, hed,CF(0, 1, 1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  800.  
  801.  
  802.  
  803. --// Chat \\--
  804.  
  805. local talksound = Instance.new("Sound",char.Torso)
  806. talksound.SoundId = "rbxassetid://455601633"talksound.Volume = 1
  807. function swait(num)
  808. if num==0 or num==nil then
  809. game:service'RunService'.Stepped:wait(0)
  810. else
  811. for i=0,num do
  812. game:service'RunService'.Stepped:wait(0)
  813. end
  814. end
  815. end
  816.  
  817. function chatfunc(text)
  818. local chat = coroutine.wrap(function()
  819. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  820. char:FindFirstChild("TalkingBillBoard"):Destroy()
  821. end
  822. local naeeym2 = Instance.new("BillboardGui",char)
  823. naeeym2.Size = UDim2.new(0,100,0,40)
  824. naeeym2.StudsOffset = Vector3.new(0,3,0)
  825. naeeym2.Adornee = char.Head
  826. naeeym2.Name = "TalkingBillBoard"
  827. local tecks2 = Instance.new("TextLabel",naeeym2)
  828. tecks2.BackgroundTransparency = 1
  829. tecks2.BorderSizePixel = 0
  830. tecks2.Text = ""
  831. tecks2.Font = "Fantasy"
  832. tecks2.TextSize = 30
  833. tecks2.TextStrokeTransparency = 0
  834. tecks2.TextColor3 = Color3.new(200,0,0)
  835. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  836. tecks2.Size = UDim2.new(1,0,0.5,0)
  837. local tecks3 = Instance.new("TextLabel",naeeym2)
  838. tecks3.BackgroundTransparency = 1
  839. tecks3.BorderSizePixel = 0
  840. tecks3.Text = ""
  841. tecks3.Font = "Fantasy"
  842. tecks3.TextSize = 30
  843. tecks3.TextStrokeTransparency = 0
  844. tecks3.TextColor3 = Color3.new(200,0,0)
  845. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  846. tecks3.Size = UDim2.new(1,0,0.5,0)
  847. for i = 1,string.len(text),1 do
  848. tecks2.Text = string.sub(text,1,i)
  849. tecks3.Text = string.sub(text,1,i)
  850. talksound:Play()
  851. wait(0.01)
  852. end
  853. wait(2)
  854. for i = 1, 50 do
  855. swait()
  856. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  857. tecks2.Rotation = tecks2.Rotation - .8
  858. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  859. tecks2.TextTransparency = tecks2.TextTransparency + .04
  860. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  861. tecks3.Rotation = tecks2.Rotation + .8
  862. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  863. tecks3.TextTransparency = tecks2.TextTransparency + .04
  864. end
  865. naeeym2:Destroy()
  866. end)
  867. chat()
  868. end
  869. function onChatted(msg)
  870. chatfunc(msg)
  871. end
  872. wait(0.5)
  873. chatfunc("This souls I´ve extracted. . .")
  874. wait(2)
  875. chatfunc(". . .it´s from Frisk. . .")
  876. wait(2)
  877. chatfunc(". .But even with many of them. .")
  878. wait(2)
  879. chatfunc(". .I still feel. . empty.")
  880. wait(3)
  881. chatfunc("So why don´t you. .")
  882. wait(2)
  883. chatfunc(". .Lend your. . . ?")
  884. wait(4)
  885. chatfunc("I promise. . .")
  886. wait(2)
  887. chatfunc(". .the process. . .")
  888. wait(4)
  889. chatfunc("WOULDN´T HURT.")
  890. LeyeColor = BrickColor.new("Really red")
  891. local eyemodel = Instance.new("Model",char)
  892. eyemodel.Name = "Eyes"
  893. local reye = Instance.new("Part",eyemodel)
  894. reye.Name = "BurningEff"
  895. reye.Color = Color3.new(1,1,1)
  896. reye.Material = "Neon"
  897. reye.Transparency = 1
  898. local reyemesh = Instance.new("SpecialMesh",reye)
  899. reyemesh.MeshType = "Sphere"
  900. reye.Size = Vector3.new(0.14, 0.39, 0.29)
  901. local reyeweld = Instance.new("Weld",reye)
  902. reyeweld.Part0 = reye
  903. reyeweld.Part1 = char.Head
  904. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  905. local leye = Instance.new("Part",eyemodel)
  906. leye.Name = "LeftEye"
  907. leye.BrickColor = LeyeColor
  908. leye.Material = "Neon"
  909. leye.Size = Vector3.new(0.2,0.2,0.2)
  910. local leyemesh = Instance.new("SpecialMesh",leye)
  911. leyemesh.MeshType = "Sphere"
  912. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  913. local leyeweld = Instance.new("Weld",leye)
  914. leyeweld.Part0 = leye
  915. leyeweld.Part1 = char.Head
  916. leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  917. local leyeclone = leye:Clone()
  918. leyeclone.Transparency = 0
  919. leyeclone.Name = "RightEye"
  920. leyeclone.Parent = eyemodel
  921. for i,v in pairs(leyeclone:GetChildren()) do
  922.     if v.ClassName == "Weld" then
  923.         v:Destroy()
  924.     end
  925. end
  926. local leyeweld2 = Instance.new("Weld",leyeclone)
  927. leyeweld2.Part0 = leyeclone
  928. leyeweld2.Part1 = char.Head
  929. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  930.  
  931. local p = game.Players.LocalPlayer --Get the localplayer
  932. local char = p.Character
  933. local tor = char.Torso
  934. local cam = workspace.CurrentCamera
  935. local terst = true
  936. local used = false
  937. p.Chatted:connect(function(msg) --When a player chats..
  938.  if msg == "ssj" then
  939.   game:GetService("Chat"):Chat(char.Head, string.upper("grr..."), 2)
  940. used = true
  941.   local part = Instance.new("Part", workspace)
  942.   part.CanCollide = false
  943.   part.Anchored = true
  944.   part.Position = p.Character.Torso.Position
  945.   part.BrickColor = BrickColor.new("Really red")
  946.   part.Shape = "Ball"
  947.   part.formFactor = 'Symmetric'
  948.   part.Size = Vector3.new(10, 10, 10)
  949.   spawn(function()
  950.    wait(1)
  951.   game:GetService("Chat"):Chat(char.Head, string.upper("im going to destroy you!"), 2)
  952.   end)
  953.   for i= 1, 50 do
  954.    part.Size = part.Size + Vector3.new(.2,.2,.2)
  955.    part.Transparency = part.Transparency + .01
  956.    wait(.01)
  957.   end
  958.   part:Destroy()
  959.   terst = false
  960.  end
  961.  if msg == "off" and used == true then
  962.   game:GetService("Chat"):Chat(char.Head, string.upper("Hmph!"), 2)
  963.   local part = Instance.new("Part", workspace)
  964.   part.CanCollide = false
  965.   part.Anchored = true
  966.   part.Transparency = 1
  967.   part.Position = p.Character.Torso.Position
  968.   part.BrickColor = BrickColor.new("Really black")
  969.   part.Shape = "Ball"
  970.   part.formFactor = 'Symmetric'
  971.   part.Size = Vector3.new(20, 20, 20)
  972.   for i= 1, 100 do
  973.    part.Size = part.Size - Vector3.new(.2,.2,.2)
  974.    part.Transparency = part.Transparency - .01
  975.    wait(.01)
  976.   end
  977. used = false
  978.  end
  979. end)
  980. plr.Chatted:connect(onChatted)
  981. hed.face.Texture = "http://www.roblox.com/asset/?id=404306534"
  982.  
  983.  
  984.  
  985.  
  986.    
  987.  
  988.  
  989. --// Head func \\--
  990.  
  991. New = function(Object, Parent, Name, Data)
  992.     local Object = Instance.new(Object)
  993.     for Index, Value in pairs(Data or {}) do
  994.         Object[Index] = Value
  995.     end
  996.     Object.Parent = Parent
  997.     Object.Name = Name
  998.     return Object
  999. end
  1000.  
  1001.  
  1002. FakeHead = New("Model",chara,"FakeHead",{})
  1003. MainPart = New("Part",FakeHead,"MainPart",{BrickColor = BrickColor.new("Institutional white"),Transparency = 1,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(18, 4.50000381, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1004. Mesh = New("SpecialMesh",MainPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  1005. Decal = New("Decal",MainPart,"Decal",{Texture = "http://www.roblox.com/asset/?id=0",})
  1006. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 3.81469727e-006, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1007. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.80000114, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1008. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25999999, 1, 1.25999999),})
  1009. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.29999733, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1010. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 0.5,Transparency = 0.5,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.79999971, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1011. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25, 1.5, 1.25),})
  1012. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.299995899, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1013. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 0.25,Transparency = 0.25,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.79999924, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1014. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  1015. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.299995422, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1016.  
  1017.  
  1018.  
  1019.  
  1020. --// Another attacks \\--
  1021.  
  1022. local root = char.HumanoidRootPart
  1023. function teleport(key)
  1024.     key = key:lower()
  1025.     if key == "f" and not teleportlimit then
  1026. slashsoundglobal:Play()
  1027.         teleportlimit = true
  1028. hed.face.Texture = "http://www.roblox.com/asset/?id=435233416"
  1029.         root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1030.     wait(5)
  1031. hed.face.Texture = "http://www.roblox.com/asset/?id=404306534"
  1032. wait(0)
  1033.     teleportlimit = false
  1034.     end
  1035. end
  1036. mouse.KeyDown:connect(teleport)
  1037.  
  1038. local root = char.HumanoidRootPart
  1039. function laugh(key)
  1040.     key = key:lower()
  1041.     if key == "t" then
  1042. slashsound3:Play()
  1043.     end
  1044. end
  1045. mouse.KeyDown:connect(laugh)
  1046.  
  1047.  
  1048.  
  1049. function musicoff(key)
  1050.     key = key:lower()
  1051.     if key == "l" then
  1052.         slashsound1:Stop()
  1053.     end
  1054. end
  1055. mouse.KeyDown:connect(musicoff)
  1056.  
  1057. function musicon(key)
  1058.     key = key:lower()
  1059.     if key == "k" then
  1060.         slashsound1:Play()
  1061.     end
  1062. end
  1063. mouse.KeyDown:connect(musicon)
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070. --// Smoke and Body functions \\--
  1071.  
  1072. music(0)
  1073. equalizer = Instance.new("EqualizerSoundEffect",torso:FindFirstChild("MusicRuin"))
  1074.  
  1075. local size = 1
  1076.  
  1077. newWeld(torso, larm, -1.5*size, 0.5*size, 0)
  1078. larm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  1079. newWeld(torso, rarm, 1.5*size, 0.5*size, 0)
  1080. rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  1081. newWeld(torso, hed, 0, 1.5*size, 0)
  1082. newWeld(torso, lleg, -0.5*size, -1, 0)
  1083. lleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  1084. newWeld(torso, rleg, 0.5*size, -1*size, 0)
  1085. rleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  1086. newWeld(root, torso, 0, -1*size, 0)
  1087. torso.Weld.C1 = CFrame.new(0, -1*size, 0)
  1088.  
  1089. emitters={}
  1090. for i,v in pairs(char:GetChildren()) do
  1091. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  1092. local emitter = Instance.new("ParticleEmitter",v)
  1093. emitter.LightEmission = 1
  1094. emitter.Transparency = NumberSequence.new(0.95,1)
  1095. emitter.Size = NumberSequence.new(2,5)
  1096. emitter.SpreadAngle = Vector2.new(360,360)
  1097. emitter.Speed = NumberRange.new(1)
  1098. emitter.Lifetime = NumberRange.new(0.75)
  1099. emitter.Texture = "rbxassetid://133619974"
  1100. emitter.Rate = 20
  1101. emitter.Color = ColorSequence.new(Color3.new(1,0,0))
  1102. emitter.LockedToPart = true
  1103. table.insert(emitters,emitter)
  1104. end
  1105. end
  1106.  
  1107.  
  1108. --// Knife \\--
  1109.  
  1110. HitBox = Instance.new("Part",DebrisModel)
  1111. HitBox.Size = Vector3.new(0.5,0.5,2.45)
  1112. HitBox.CanCollide = false
  1113. HitBox:BreakJoints()
  1114. HitBox.Transparency = 1
  1115. newWeld(rarm,HitBox,-0.1,-0.95,-1.2)
  1116. atch0 = Instance.new("Attachment",HitBox)
  1117. atch0.Position = Vector3.new(0,0,HitBox.Size.Z/2)
  1118. atch1 = Instance.new("Attachment",HitBox)
  1119. atch1.Position = Vector3.new(0,0,-HitBox.Size.Z/2)
  1120. trail = Instance.new("Trail",HitBox)
  1121. trail.Attachment0 = atch0
  1122. trail.Attachment1 = atch1
  1123. trail.Lifetime = 0.25
  1124. trail.Enabled = true
  1125. trail.LightEmission = 1
  1126. trail.LightInfluence = 0
  1127. trail.Color = ColorSequence.new(Color3.new(1,0,0))
  1128. trail.Transparency = NumberSequence.new(0,1)
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135. function ded(model)
  1136. kills = kills + 0
  1137. model.Archivable = true
  1138. model.Head:ClearAllChildren()
  1139. local clone = model:Clone()
  1140. clone.Parent = workspace
  1141. clone.Name = "DED"
  1142. model:Destroy()
  1143. clone:FindFirstChildOfClass("Humanoid"):Destroy()
  1144. local emitters={}
  1145. for i,v in pairs(clone:GetChildren()) do
  1146. if v:IsA("Accoutrement") then
  1147. v:Destroy()
  1148. end
  1149. if v:IsA("Part") then
  1150. v.Anchored = true
  1151. v.CanCollide = false
  1152. v.Transparency = 0.7
  1153. v.BrickColor = BrickColor.new'Institutional white'                 
  1154. local emitter = Instance.new("ParticleEmitter",v)
  1155. emitter.LightEmission = 1
  1156. emitter.Transparency = NumberSequence.new(0,1)
  1157. emitter.Size = NumberSequence.new(0,0.5)
  1158. emitter.SpreadAngle = Vector2.new(360,360)
  1159. emitter.Speed = NumberRange.new(0.5)
  1160. emitter.Lifetime = NumberRange.new(0.75)
  1161. emitter.Texture = "rbxassetid://744949545"
  1162. emitter.Rate = 300
  1163. emitter.Color = ColorSequence.new(Color3.new(1,1,1))
  1164. emitter.LockedToPart = false
  1165. table.insert(emitters,emitter)
  1166. end
  1167. end
  1168. delay(1, function()
  1169. sound(427025525,clone.Torso.Position,10,1)
  1170. for i,v in pairs(emitters) do
  1171. v.Speed = NumberRange.new(4)
  1172. v.Acceleration = Vector3.new(0,10,0)
  1173. delay(0.5, function()
  1174. v.Enabled = false
  1175. debris:AddItem(clone,0.75)
  1176. end)
  1177. end
  1178. end)
  1179. end
  1180.  
  1181. local alreadytouched = {}
  1182. HitBox.Touched:connect(function(ht)
  1183. coroutine.resume(coroutine.create(function()
  1184. local hit = ht.Parent
  1185. if mode == "determination" and hit.Name ~= "DED" and attacking == true and checkIfNotPlayer(ht) and hit:FindFirstChildOfClass("Humanoid") and hit:FindFirstChildOfClass("Humanoid").Health > 0 then
  1186. local hurt = true
  1187. for i,v in pairs(alreadytouched) do if v == hit then hurt = false end end
  1188. if hurt == true then
  1189. table.insert(alreadytouched,hit)
  1190. sound(388826051,ht.Position,10,1)
  1191. ded(hit)
  1192. end
  1193. end
  1194. end))
  1195. end)
  1196.  
  1197.  
  1198.  
  1199.   handle = Instance.new("Part", char)
  1200.   handle.TopSurface = "Smooth"
  1201.   handle.BottomSurface = "Smooth"
  1202.  handle.Material = "Neon"
  1203.  
  1204.   handle.Size = Vector3.new(0.2, 0.5, 0.5)
  1205.   handle.CanCollide = false
  1206.  
  1207.   handle.FormFactor = "Custom"
  1208.   local Weldb = Instance.new("Weld", char)
  1209.   Weldb.Part0 = char["Right Arm"]
  1210.   Weldb.Part1 = handle
  1211.   Weldb.C1 = CFrame.new(0.1, -1, 1) * CFrame.fromEulerAnglesXYZ(-4.7, 0, 0)
  1212.   local KnifeMesh = Instance.new("SpecialMesh", handle)
  1213.   KnifeMesh.MeshType = "FileMesh"
  1214.   KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  1215. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=362719969"
  1216.  
  1217. local FireEmitter = NewInstance("ParticleEmitter",HitBox,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.3,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://744949545",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  1218.  
  1219.  
  1220. function createknife()
  1221. Model0 = Instance.new("Model")
  1222. Part1 = Instance.new("Part")
  1223. BlockMesh2 = Instance.new("BlockMesh")
  1224. Part3 = Instance.new("Part")
  1225. BlockMesh4 = Instance.new("BlockMesh")
  1226. Part5 = Instance.new("Part")
  1227. Part6 = Instance.new("Part")
  1228. BlockMesh7 = Instance.new("BlockMesh")
  1229. Part8 = Instance.new("Part")
  1230. Part9 = Instance.new("Part")
  1231. Part10 = Instance.new("Part")
  1232. SpecialMesh11 = Instance.new("SpecialMesh")
  1233. Part12 = Instance.new("Part")
  1234. Part13 = Instance.new("Part")
  1235. Model0.Parent = char
  1236. Part1.Parent = Model0
  1237. Part1.Anchored = true
  1238. Part1.Transparency =1
  1239. Part1.CanCollide = false
  1240. Part1.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  1241. Part1.CFrame = CFrame.new(49.5, 20.7350044, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1242. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1243. Part1.TopSurface = Enum.SurfaceType.Smooth
  1244. Part1.Position = Vector3.new(49.5, 20.7350044, 52.3199997)
  1245. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1246. BlockMesh2.Parent = Part1
  1247. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1248. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1249. Part3.Parent = Model0
  1250. Part3.Anchored = true
  1251. Part3.Transparency =1
  1252. Part3.CanCollide = false
  1253. Part3.Size = Vector3.new(0.220000014, 0.0500000007, 0.0500000007)
  1254. Part3.CFrame = CFrame.new(49.5, 20.6250038, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1255. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1256. Part3.TopSurface = Enum.SurfaceType.Smooth
  1257. Part3.Position = Vector3.new(49.5, 20.6250038, 53.6199989)
  1258. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1259. BlockMesh4.Parent = Part3
  1260. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1261. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1262. Part5.Parent = Model0
  1263. Part5.Anchored = true
  1264. Part5.Transparency =1
  1265. Part5.CanCollide = false
  1266. Part5.Size = Vector3.new(0.159999996, 0.400000006, 1.70000005)
  1267. Part5.CFrame = CFrame.new(49.5, 20.5750046, 51.4300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1268. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1269. Part5.TopSurface = Enum.SurfaceType.Smooth
  1270. Part5.Position = Vector3.new(49.5, 20.5750046, 51.4300003)
  1271. Part5.Color = Color3.new(1, 0, 0)
  1272. Part6.Parent = Model0
  1273. Part6.Anchored = true
  1274. Part6.Transparency =1
  1275. Part6.CanCollide = false
  1276. Part6.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  1277. Part6.CFrame = CFrame.new(49.5, 20.4150047, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1278. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1279. Part6.TopSurface = Enum.SurfaceType.Smooth
  1280. Part6.Position = Vector3.new(49.5, 20.4150047, 52.3199997)
  1281. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1282. BlockMesh7.Parent = Part6
  1283. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1284. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1285. Part8.Name = "asd"
  1286. Part8.Parent = Model0
  1287. Part8.Anchored = true
  1288. Part8.Transparency =1
  1289. Part8.CanCollide = false
  1290. Part8.Size = Vector3.new(0.200000003, 0.100000009, 1.30000007)
  1291. Part8.CFrame = CFrame.new(49.5, 20.6250038, 52.9300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1292. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1293. Part8.TopSurface = Enum.SurfaceType.Smooth
  1294. Part8.Position = Vector3.new(49.5, 20.6250038, 52.9300003)
  1295. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1296. Part9.Parent = Model0
  1297. Part9.Anchored = true
  1298. Part9.Transparency =1
  1299. Part9.CanCollide = false
  1300. Part9.Size = Vector3.new(0.200000003, 0.25999999, 0.100000039)
  1301. Part9.CFrame = CFrame.new(49.5, 20.595005, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1302. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1303. Part9.TopSurface = Enum.SurfaceType.Smooth
  1304. Part9.Position = Vector3.new(49.5, 20.595005, 53.6199989)
  1305. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1306. Part10.Parent = Model0
  1307. Part10.Rotation = Vector3.new(0, 0, 180)
  1308. Part10.Anchored = true
  1309. Part10.Transparency =1
  1310. Part10.CanCollide = false
  1311. Part10.Size = Vector3.new(4.7, 0, 0)
  1312. Part10.CFrame = CFrame.new(49.5, 20.5750046, 50.1800003, -0.99999994, -8.74227766e-08, 3.82137093e-15, 8.74227695e-08, -1, 3.17865059e-08, 1.04250613e-15, 3.17865059e-08, 1)
  1313. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1314. Part10.TopSurface = Enum.SurfaceType.Smooth
  1315. Part10.Position = Vector3.new(0.2, -1, 1)
  1316. Part10.Color = Color3.new(1, 0, 0)
  1317. SpecialMesh11.Parent = Part10
  1318. SpecialMesh11.MeshType = Enum.MeshType.Wedge
  1319. Part12.Parent = Model0
  1320. Part12.Anchored = true
  1321. Part12.Transparency =1
  1322. Part12.CanCollide = false
  1323. Part12.Size = Vector3.new(0.25999999, 0.460000008, 0.100000039)
  1324. Part12.CFrame = CFrame.new(49.5, 20.5750046, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1325. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1326. Part12.TopSurface = Enum.SurfaceType.Smooth
  1327. Part12.Position = Vector3.new(49.5, 20.5750046, 52.3199997)
  1328. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1329. weld(Model0)
  1330. for i,v in pairs(Model0:GetChildren()) do
  1331. if v:IsA("Part") and v.Color == Color3.new(1,0,0) then
  1332. v.Material = Enum.Material.Neon
  1333. end
  1334. end
  1335. return Model0
  1336. end
  1337.  
  1338. knife = createknife()
  1339. newWeld(rarm,knife.asd,0,-1,0)
  1340.  
  1341. --// Pistol \\--
  1342.  
  1343. function createpistol()
  1344. Model0 = Instance.new("Model")
  1345. Part1 = Instance.new("Part")
  1346. BlockMesh2 = Instance.new("BlockMesh")
  1347. Part3 = Instance.new("Part")
  1348. Part4 = Instance.new("Part")
  1349. Part5 = Instance.new("Part")
  1350. Part6 = Instance.new("Part")
  1351. Part7 = Instance.new("Part")
  1352. Part8 = Instance.new("Part")
  1353. Part9 = Instance.new("Part")
  1354. Part10 = Instance.new("Part")
  1355. Part11 = Instance.new("Part")
  1356. Part12 = Instance.new("Part")
  1357. Part13 = Instance.new("Part")
  1358. Part14 = Instance.new("Part")
  1359. Part15 = Instance.new("Part")
  1360. Part16 = Instance.new("Part")
  1361. Part17 = Instance.new("Part")
  1362. Part18 = Instance.new("Part")
  1363. Part19 = Instance.new("Part")
  1364. Model0.Name = "Pistol"
  1365. Model0.Parent = char
  1366. Part1.Name = "ShootPos"
  1367. Part1.Parent = Model0
  1368. Part1.BrickColor = BrickColor.new("Really black")
  1369. Part1.Anchored = true
  1370. Part1.CanCollide = false
  1371. Part1.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1372. Part1.CFrame = CFrame.new(-90, 10.5000019, 13.8957434, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1373. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1374. Part1.TopSurface = Enum.SurfaceType.Smooth
  1375. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1376. Part1.Position = Vector3.new(-90, 10.5000019, 13.8957434)
  1377. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1378. BlockMesh2.Parent = Part1
  1379. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1380. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1381. Part3.Parent = Model0
  1382. Part3.BrickColor = BrickColor.new("Pearl")
  1383. Part3.Anchored = true
  1384. Part3.CanCollide = false
  1385. Part3.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1386. Part3.CFrame = CFrame.new(-90.0999985, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1387. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1388. Part3.TopSurface = Enum.SurfaceType.Smooth
  1389. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1390. Part3.Position = Vector3.new(-90.0999985, 10.3750019, 13.8757429)
  1391. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1392. Part4.Parent = Model0
  1393. Part4.BrickColor = BrickColor.new("Pearl")
  1394. Part4.Anchored = true
  1395. Part4.CanCollide = false
  1396. Part4.Size = Vector3.new(0.300000012, 0.349999994, 0.0500000007)
  1397. Part4.CFrame = CFrame.new(-90, 10.2750025, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1398. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1399. Part4.TopSurface = Enum.SurfaceType.Smooth
  1400. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1401. Part4.Position = Vector3.new(-90, 10.2750025, 13.8757429)
  1402. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1403. Part5.Parent = Model0
  1404. Part5.BrickColor = BrickColor.new("Pearl")
  1405. Part5.Rotation = Vector3.new(15, 0, 0)
  1406. Part5.Anchored = true
  1407. Part5.CanCollide = false
  1408. Part5.Size = Vector3.new(0.200000003, 0.25, 0.150000006)
  1409. Part5.CFrame = CFrame.new(-90, 10.4379425, 15.8274469, 1, 0, 0, 0, 0.965925753, -0.258819252, 0, 0.258819252, 0.965925753)
  1410. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1411. Part5.TopSurface = Enum.SurfaceType.Smooth
  1412. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1413. Part5.Position = Vector3.new(-90, 10.4379425, 15.8274469)
  1414. Part5.Orientation = Vector3.new(15, 0, 0)
  1415. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1416. Part6.Parent = Model0
  1417. Part6.BrickColor = BrickColor.new("Pearl")
  1418. Part6.Anchored = true
  1419. Part6.CanCollide = false
  1420. Part6.Size = Vector3.new(0.300000012, 0.550000012, 1.89999998)
  1421. Part6.CFrame = CFrame.new(-90, 10.3750019, 14.8507433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1422. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1423. Part6.TopSurface = Enum.SurfaceType.Smooth
  1424. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1425. Part6.Position = Vector3.new(-90, 10.3750019, 14.8507433)
  1426. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1427. Part7.Parent = Model0
  1428. Part7.BrickColor = BrickColor.new("Pearl")
  1429. Part7.Anchored = true
  1430. Part7.CanCollide = false
  1431. Part7.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1432. Part7.CFrame = CFrame.new(-90.0999985, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1433. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1434. Part7.TopSurface = Enum.SurfaceType.Smooth
  1435. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1436. Part7.Position = Vector3.new(-90.0999985, 10.6750021, 15.6257429)
  1437. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1438. Part8.Parent = Model0
  1439. Part8.BrickColor = BrickColor.new("Black")
  1440. Part8.Rotation = Vector3.new(-15, 0, 0)
  1441. Part8.Anchored = true
  1442. Part8.CanCollide = false
  1443. Part8.Size = Vector3.new(0.220000014, 0.5, 0.209999993)
  1444. Part8.CFrame = CFrame.new(-90, 9.71499538, 15.4898481, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1445. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1446. Part8.TopSurface = Enum.SurfaceType.Smooth
  1447. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1448. Part8.Position = Vector3.new(-90, 9.71499538, 15.4898481)
  1449. Part8.Orientation = Vector3.new(-15, 0, 0)
  1450. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1451. Part9.Parent = Model0
  1452. Part9.BrickColor = BrickColor.new("Pearl")
  1453. Part9.Anchored = true
  1454. Part9.CanCollide = false
  1455. Part9.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1456. Part9.CFrame = CFrame.new(-89.9000015, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1457. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1458. Part9.TopSurface = Enum.SurfaceType.Smooth
  1459. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1460. Part9.Position = Vector3.new(-89.9000015, 10.3750019, 13.8757429)
  1461. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1462. Part10.Parent = Model0
  1463. Part10.BrickColor = BrickColor.new("Pearl")
  1464. Part10.Anchored = true
  1465. Part10.CanCollide = false
  1466. Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1467. Part10.CFrame = CFrame.new(-89.9000015, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1468. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1469. Part10.TopSurface = Enum.SurfaceType.Smooth
  1470. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1471. Part10.Position = Vector3.new(-89.9000015, 10.6750021, 15.6257429)
  1472. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1473. Part11.Parent = Model0
  1474. Part11.BrickColor = BrickColor.new("Pearl")
  1475. Part11.Anchored = true
  1476. Part11.CanCollide = false
  1477. Part11.Size = Vector3.new(0.200000003, 0.150000006, 0.600000024)
  1478. Part11.CFrame = CFrame.new(-90, 9.37500191, 15.6007433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1479. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1480. Part11.TopSurface = Enum.SurfaceType.Smooth
  1481. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1482. Part11.Position = Vector3.new(-90, 9.37500191, 15.6007433)
  1483. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1484. Part12.Parent = Model0
  1485. Part12.BrickColor = BrickColor.new("Pearl")
  1486. Part12.Rotation = Vector3.new(-30, 0, 0)
  1487. Part12.Anchored = true
  1488. Part12.CanCollide = false
  1489. Part12.Size = Vector3.new(0.100000001, 0.150000006, 0.0500000007)
  1490. Part12.CFrame = CFrame.new(-90, 9.97165203, 15.1132431, 1, 0, 0, 0, 0.866025448, 0.5, 0, -0.5, 0.866025448)
  1491. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1492. Part12.TopSurface = Enum.SurfaceType.Smooth
  1493. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1494. Part12.Position = Vector3.new(-90, 9.97165203, 15.1132431)
  1495. Part12.Orientation = Vector3.new(-30, 0, 0)
  1496. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1497. Part13.Parent = Model0
  1498. Part13.BrickColor = BrickColor.new("Pearl")
  1499. Part13.Anchored = true
  1500. Part13.CanCollide = false
  1501. Part13.Size = Vector3.new(0.300000012, 0.100000001, 0.0500000007)
  1502. Part13.CFrame = CFrame.new(-90, 10.6000023, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1503. Part13.BottomSurface = Enum.SurfaceType.Smooth
  1504. Part13.TopSurface = Enum.SurfaceType.Smooth
  1505. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1506. Part13.Position = Vector3.new(-90, 10.6000023, 13.8757429)
  1507. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1508. Part14.Parent = Model0
  1509. Part14.BrickColor = BrickColor.new("Pearl")
  1510. Part14.Rotation = Vector3.new(-30, 0, 0)
  1511. Part14.Anchored = true
  1512. Part14.CanCollide = false
  1513. Part14.Size = Vector3.new(0.200000003, 0.100000001, 0.25)
  1514. Part14.CFrame = CFrame.new(-90, 10.5216522, 15.9065447, 1, 0, 0, 0, 0.866025329, 0.49999997, 0, -0.49999997, 0.866025329)
  1515. Part14.BottomSurface = Enum.SurfaceType.Smooth
  1516. Part14.TopSurface = Enum.SurfaceType.Smooth
  1517. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1518. Part14.Position = Vector3.new(-90, 10.5216522, 15.9065447)
  1519. Part14.Orientation = Vector3.new(-30, 0, 0)
  1520. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1521. Part15.Parent = Model0
  1522. Part15.BrickColor = BrickColor.new("White")
  1523. Part15.Rotation = Vector3.new(-105, 0, 0)
  1524. Part15.Anchored = true
  1525. Part15.CanCollide = false
  1526. Part15.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
  1527. Part15.CFrame = CFrame.new(-90, 9.92812252, 15.2373915, 1, 0, 0, 0, -0.258819371, 0.965925813, 0, -0.965925813, -0.258819371)
  1528. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1529. Part15.TopSurface = Enum.SurfaceType.Smooth
  1530. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1531. Part15.Position = Vector3.new(-90, 9.92812252, 15.2373915)
  1532. Part15.Orientation = Vector3.new(-75, 180, 180)
  1533. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1534. Part16.Name = "asd"
  1535. Part16.Parent = Model0
  1536. Part16.BrickColor = BrickColor.new("Pearl")
  1537. Part16.Rotation = Vector3.new(-15, 0, 0)
  1538. Part16.Anchored = true
  1539. Part16.CanCollide = false
  1540. Part16.Size = Vector3.new(0.200000003, 1.14999998, 0.400000006)
  1541. Part16.CFrame = CFrame.new(-90, 9.93709087, 15.5425692, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1542. Part16.BottomSurface = Enum.SurfaceType.Smooth
  1543. Part16.TopSurface = Enum.SurfaceType.Smooth
  1544. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1545. Part16.Position = Vector3.new(-90, 9.93709087, 15.5425692)
  1546. Part16.Orientation = Vector3.new(-15, 0, 0)
  1547. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1548. Part17.Parent = Model0
  1549. Part17.BrickColor = BrickColor.new("Pearl")
  1550. Part17.Anchored = true
  1551. Part17.CanCollide = false
  1552. Part17.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1553. Part17.CFrame = CFrame.new(-90, 10.0500021, 15.0757437, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1554. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1555. Part17.TopSurface = Enum.SurfaceType.Smooth
  1556. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1557. Part17.Position = Vector3.new(-90, 10.0500021, 15.0757437)
  1558. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1559. Part18.Parent = Model0
  1560. Part18.BrickColor = BrickColor.new("Pearl")
  1561. Part18.Anchored = true
  1562. Part18.CanCollide = false
  1563. Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1564. Part18.CFrame = CFrame.new(-90, 10.6750021, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1565. Part18.BottomSurface = Enum.SurfaceType.Smooth
  1566. Part18.TopSurface = Enum.SurfaceType.Smooth
  1567. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1568. Part18.Position = Vector3.new(-90, 10.6750021, 13.8757429)
  1569. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1570. Part19.Parent = Model0
  1571. Part19.BrickColor = BrickColor.new("Pearl")
  1572. Part19.Anchored = true
  1573. Part19.CanCollide = false
  1574. Part19.Size = Vector3.new(0.400000006, 0.200000003, 1.05000007)
  1575. Part19.CFrame = CFrame.new(-90, 10.1500015, 14.4757433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1576. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1577. Part19.TopSurface = Enum.SurfaceType.Smooth
  1578. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1579. Part19.Position = Vector3.new(-90, 10.1500015, 14.4757433)
  1580. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1581. for i,v in pairs(Model0:GetChildren()) do
  1582. if v:IsA("Part") then
  1583. v.Color = Color3.new(1,1,0)
  1584. v.Material = Enum.Material.Neon
  1585. v.Transparency = 0
  1586. v.CanCollide = false
  1587. end
  1588. end
  1589. weld(Model0)
  1590. return Model0
  1591. end
  1592.  
  1593. mode = "determination"
  1594. function justice()
  1595. mode = "justice"
  1596. for i=1,5 do rs:wait()
  1597. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1598. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(1,1,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  1599. end
  1600. knife:Destroy()
  1601. pistol = createpistol()
  1602. newWeld(rarm,pistol.asd,0,-1,0)
  1603. pistol.asd.Weld.C1 = CFrame.Angles(math.rad(110),0,0)
  1604. end
  1605.  
  1606. function determination()
  1607. mode = "determination"
  1608. for i=1,5 do rs:wait()
  1609. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1610. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(1,0,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  1611. end
  1612. pistol:Destroy()
  1613. knife = createknife()
  1614. newWeld(rarm,knife.asd,0,-1,0)
  1615. end
  1616.  
  1617. debounce = false
  1618. mouse.KeyDown:connect(function(key)
  1619. if debounce == false then
  1620. debounce = true
  1621. if key == "e" then
  1622. sound(462606062,root.Position,10,1)
  1623. if mode == "determination" then
  1624. justice()
  1625. elseif mode == "justice" then
  1626. determination()
  1627. end
  1628. end
  1629. delay(0,function() debounce = false end)
  1630. end
  1631. end)
  1632.  
  1633.  
  1634. --// Slash \\--
  1635.  
  1636. function slash()
  1637. local spd = 0.2
  1638. for i=1,15 do rs:wait()
  1639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1640. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(-30),math.rad(0)), spd)
  1641. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), spd)
  1642. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), spd)
  1643. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(-50),math.rad(10)), spd)
  1644. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(-10)), spd)
  1645. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1646. end
  1647. sound(357417055,root.Position,10,1)
  1648. attacking = true
  1649. local spd = 0.4
  1650. for i=1,5 do rs:wait()
  1651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1652. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(80),math.rad(0)), spd)
  1653. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), spd)
  1654. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd)
  1655. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(80),math.rad(-20)), spd)
  1656. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1657. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-80),math.rad(20)), spd)
  1658. end
  1659. end
  1660.  
  1661. mouse.Button1Down:connect(function()
  1662. if debounce == false and mode == "determination" then
  1663. alreadytouched = {}
  1664. noidle = true
  1665. debounce = true
  1666. slash()
  1667. attacking = false
  1668. noidle = false
  1669. delay(0,function() debounce = false end)
  1670. end
  1671. end)
  1672.  
  1673. --// Shooting gun \\--
  1674.  
  1675. local jumped = false
  1676. function boom()
  1677. freeze = true
  1678. sound(446961725,root.Position,10,1)
  1679. local bg = Instance.new("BodyGyro",root)
  1680. bg.Name = "lolnochara"
  1681. bg.P = 10000
  1682. bg.D = 100
  1683. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  1684. if jumped == false then
  1685. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1686. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1687. else
  1688. root.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1689. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1690. end
  1691.  
  1692. local spd = 0.2
  1693. for i=1,20 do rs:wait()
  1694. if jumped == false then
  1695. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1696. else
  1697. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1698. end
  1699. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1700. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1701. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1702. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(45),math.rad(0),math.rad(90)), spd)
  1703. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1704. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  1705. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  1706. end
  1707.  
  1708. bg:Destroy()
  1709.  
  1710. sound(470245800,root.Position,10,1)
  1711.  
  1712. local Part0 = Instance.new("Part",DebrisModel)
  1713. Part0.Name = "Bullet"
  1714. Part0.Material = Enum.Material.Neon
  1715. Part0.Color = Color3.new(1,1,0)
  1716. Part0.Anchored = true
  1717. local mesh = Instance.new("SpecialMesh",Part0)
  1718. mesh.MeshType = Enum.MeshType.Brick
  1719. Part0.CanCollide = false
  1720. local Position = rarm.Position
  1721. local Target = mouse.Hit.p
  1722. local direction = Target - Position
  1723. local direction = computeDirection(direction)
  1724. local ray = Ray.new(Position, (Target-Position).unit*1048)
  1725. local part, endPoint = workspace:FindPartOnRay(ray, char)
  1726. Part0.Size = Vector3.new(5,1,5)
  1727. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude+5,1)
  1728. local pos = Position + (direction * (mesh.Scale.Y/2))
  1729. Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1730. local loop = nil
  1731. local i = 0
  1732. rs:connect(function()
  1733. local lole = (i/10)
  1734. mesh.Scale = Vector3.new(lole,mesh.Scale.Y,lole)
  1735. Part0.Transparency = Part0.Transparency + 0.1
  1736. i = i + 1
  1737. if Part0.Transparency >= 1 then
  1738. Part0:Destroy()
  1739. end
  1740. end)
  1741.  
  1742. if part and part.Parent:FindFirstChildOfClass("Humanoid") and checkIfNotPlayer(part) == true then
  1743. coroutine.resume(coroutine.create(function()
  1744. sound(388826051,part.Position,10,1)
  1745. ded(part.Parent)
  1746. end))
  1747. end
  1748.  
  1749. local spd = 0.5
  1750. for i=1,10 do rs:wait()
  1751. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1752. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1753. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1754. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(45),math.rad(40),math.rad(90)), spd)
  1755. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1756. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  1757. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  1758. end
  1759.  
  1760. freeze = false
  1761.  
  1762. end
  1763.  
  1764. mouse.Button1Down:connect(function()
  1765. if debounce == false and mode == "justice" then
  1766. alreadytouched = {}
  1767. noidle = true
  1768. debounce = true
  1769. boom()
  1770. attacking = false
  1771. noidle = false
  1772. delay(0,function() debounce = false end)
  1773. end
  1774. end)
  1775.  
  1776. --// Animation and others . . . \\--
  1777.  
  1778. velocityYFall=0
  1779. velocityYFall2=0
  1780. velocityYFall3=0
  1781. velocityYFall4=0
  1782. neckrotY=0
  1783. neckrotY2=0
  1784. torsorotY=0
  1785. torsorotY2=0
  1786. torsoY=0
  1787. torsoY2=0
  1788. colored = 0
  1789. sine = 0
  1790. change=0.4
  1791. movement=5
  1792. timeranim=0
  1793. running = false
  1794. glitched = false
  1795. backup = hed.Weld.C1
  1796. glitchedC1 = hed.Weld.C1
  1797.  
  1798. mouse.KeyDown:connect(function(key)
  1799. key = string.lower(key)
  1800. if string.byte(key) == 48 then
  1801. running = true
  1802. local keyup = mouse.KeyUp:connect(function(key)
  1803. if string.byte(key) == 48 then
  1804. running = false
  1805. end
  1806. end)
  1807. repeat rs:wait() until running == false
  1808. keyup:disconnect()
  1809. end
  1810. end)
  1811.  
  1812. icolor=1
  1813. imode=false
  1814.  
  1815. didjump = false
  1816. jumppower = 0
  1817. freeze = false
  1818. debounceimpact = false
  1819.  
  1820. function jumpimpact()
  1821. if debounceimpact == false then
  1822. debounceimpact = true
  1823. if jumppower < -150 then jumppower = -150 end
  1824. shake(-jumppower/5)
  1825. for i=1,-jumppower/20 do rs:wait()
  1826. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05)
  1827. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (jumppower/20)*size-hum.HipHeight, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.05)
  1828. end
  1829. debounceimpact = false
  1830. end
  1831. end
  1832.  
  1833. local sond = nil
  1834. rs:connect(function()
  1835.  
  1836. if not torso:FindFirstChild("STATICSOUND") then
  1837. sond=Instance.new("Sound",torso)
  1838. sond.Name = "STATICSOUND"
  1839. sond.SoundId = "rbxassetid://223103466"
  1840. sond.Looped = true
  1841. sond:Play()
  1842. end
  1843.  
  1844. if icolor > 1 then
  1845. imode = false
  1846. elseif icolor < 0 then
  1847. imode = true
  1848. end
  1849.  
  1850. if imode == true then
  1851. icolor = icolor + 0.01
  1852. else
  1853. icolor = icolor - 0.01
  1854. end
  1855.  
  1856. for i,v in pairs(emitters) do
  1857. v.Acceleration = root.CFrame.upVector*(666/100)
  1858. end
  1859.  
  1860. if p.Character.Parent == nil then
  1861. local model = Instance.new("Model")
  1862. model.Name = p.Name
  1863. p.Character = model
  1864. for i,v in pairs(char:GetChildren()) do
  1865. v.Parent = p.Character
  1866. end
  1867. end
  1868.  
  1869. char = p.Character
  1870. if p.Character.Parent ~= workspace then
  1871. p.Character.Parent = workspace
  1872. end
  1873. for i,v in pairs(char:GetChildren()) do
  1874. if v:IsA("Accoutrement") then
  1875. if v.Handle:FindFirstChild("Mesh") then
  1876. v.Handle:FindFirstChild("Mesh").Offset = Vector3.new()
  1877. v.Handle.Transparency = 0
  1878. end
  1879. elseif v:IsA("BasePart") then
  1880. v.Anchored = false
  1881. if v:FindFirstChildOfClass("BodyPosition") then
  1882. v:FindFirstChildOfClass("BodyPosition"):Destroy()
  1883. end
  1884. if v:FindFirstChildOfClass("BodyVelocity") then
  1885. v:FindFirstChildOfClass("BodyVelocity"):Destroy()
  1886. end
  1887. if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then
  1888. v:FindFirstChildOfClass("BodyGyro"):Destroy()
  1889. end
  1890. if v:FindFirstChild("Mesh") then
  1891. v:FindFirstChild("Mesh").Offset = Vector3.new()
  1892. end
  1893. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then
  1894. local force = Instance.new("Part",DebrisModel)
  1895. force.Name = v.Name.."FORCEFIELD"
  1896. force.Size = v.Size+(Vector3.new(1,1,1)*0.2)
  1897. force.CanCollide = false
  1898. force.Transparency = 1
  1899. newWeld(v,force,0,0,0)
  1900. else
  1901. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then
  1902. newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0)
  1903. end
  1904. end
  1905. if v.Name ~= "HumanoidRootPart" then
  1906. v.Transparency = 0
  1907. else
  1908. v.Transparency = 1
  1909. end
  1910. end
  1911. end
  1912.  
  1913. if mode == "determination" then
  1914. trail.Enabled = true
  1915. else
  1916. trail.Enabled = false
  1917. end
  1918.  
  1919. if freeze == false then
  1920. if running == false then
  1921. hum.WalkSpeed = 12*size
  1922. change=0.4
  1923. movement=5
  1924. else
  1925. hum.WalkSpeed = (666/10)*size
  1926. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5*size then
  1927. change=1
  1928. else
  1929. change=0.4
  1930. end
  1931. movement=15
  1932. end
  1933. else
  1934. hum.WalkSpeed = 1
  1935. change=0.4
  1936. movement=5
  1937. end
  1938.  
  1939. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then
  1940. velocityYFall = root.Velocity.Y/1.5
  1941. else
  1942. if -root.Velocity.Y/1.5 < -5 then
  1943. velocityYFall = 5
  1944. elseif -root.Velocity.Y/1.5 > 150 then
  1945. velocityYFall = -150
  1946. end
  1947. end
  1948.  
  1949. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  1950. velocityYFall2 = root.Velocity.Y/180
  1951. else
  1952. if -root.Velocity.Y/180 < 0 then
  1953. velocityYFall2 = 0
  1954. elseif -root.Velocity.Y/180 > 1.2 then
  1955. velocityYFall2 = -1.2
  1956. end
  1957. end
  1958.  
  1959. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  1960. velocityYFall3 = root.Velocity.Y/1.5
  1961. else
  1962. if -root.Velocity.Y/1.5 < -5 then
  1963. velocityYFall3 = 5
  1964. elseif -root.Velocity.Y/1.5 > 50 then
  1965. velocityYFall3 = -50
  1966. end
  1967. end
  1968.  
  1969. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  1970. velocityYFall4 = root.Velocity.Y/1.5
  1971. else
  1972. if -root.Velocity.Y/180 < -5 then
  1973. velocityYFall4 = 5
  1974. elseif -root.Velocity.Y/180 > 50 then
  1975. velocityYFall4 = -50
  1976. end
  1977. end
  1978.  
  1979. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  1980. neckrotY = root.RotVelocity.Y/6
  1981. else
  1982. if root.RotVelocity.Y/6 < -1 then
  1983. neckrotY = -1
  1984. elseif root.RotVelocity.Y/6 > 1 then
  1985. neckrotY = 1
  1986. end
  1987. end
  1988.  
  1989. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  1990. neckrotY2 = root.RotVelocity.Y/8
  1991. else
  1992. if root.RotVelocity.Y/8 < -0.6 then
  1993. neckrotY2 = -0.6
  1994. elseif root.RotVelocity.Y/8 > 0.6 then
  1995. neckrotY2 = 0.6
  1996. end
  1997. end
  1998.  
  1999. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  2000. torsorotY = root.RotVelocity.Y/6
  2001. else
  2002. if root.RotVelocity.Y/6 < -0.2 then
  2003. torsorotY = -0.2
  2004. elseif root.RotVelocity.Y/6 > 0.2 then
  2005. torsorotY = 0.2
  2006. end
  2007. end
  2008.  
  2009. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  2010. torsorotY2 = root.RotVelocity.Y/8
  2011. else
  2012. if root.RotVelocity.Y/8 < -0.2 then
  2013. torsorotY2 = -0.2
  2014. elseif root.RotVelocity.Y/8 > 0.2 then
  2015. torsorotY2 = 0.2
  2016. end
  2017. end
  2018.  
  2019. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  2020. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  2021.  
  2022. local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  2023. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  2024. local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  2025. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  2026. local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  2027. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  2028. local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  2029. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  2030. local ray = Ray.new(root.Position,Vector3.new(0, -6, 0))
  2031. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2032.  
  2033. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  2034.  
  2035. local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  2036. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  2037.  
  2038. local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  2039. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  2040.  
  2041. if hum.Health > 0 and noidle == false then
  2042. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  2043. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new((change/5)*math.sin(sine/4), 1.5, -.2) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),torsorotY, math.rad(0)+torsorotY), 0.4)
  2044. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles((change/10)*math.cos(sine/2)+0.1,-(change/10)*math.cos(sine/4)-(torsorotY/5),(change/2)*math.sin(sine/4)), 0.1)
  2045. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/40)*math.cos(sine/4)/3,(movement/150)+(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  2046. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/40)*math.cos(sine/4)/3,(movement/150)-(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  2047. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.05+(change/2)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-(movement/20)*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
  2048. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,(-0.85-(movement/15)*math.cos(sine/4)/2),-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  2049. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,(-0.85+(movement/15)*math.cos(sine/4)/2),-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  2050. elseif jumped == true then
  2051. didjump = true
  2052. jumppower = root.Velocity.Y
  2053. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4)
  2054. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1)
  2055. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(velocityYFall)), 0.2)
  2056. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(-velocityYFall)), 0.2)
  2057. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(velocityYFall3/10),math.rad(0), math.rad(0)), 0.1)
  2058. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925,0)*CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-2)), 0.2)
  2059. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0,-0.8)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(2)), 0.2)
  2060. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then
  2061. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5*size, -.1*size) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),0, 0), 0.4)
  2062. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0.05*math.cos(sine/16)+0.15,0.05*math.cos(sine/32),0.01*math.cos(sine/32)), 0.1)
  2063. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(-5-5*math.cos(sine/16)),math.rad(-6+2*math.cos(sine/16))), 0.2)
  2064. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(5+5*math.cos(sine/16)),math.rad(6-2*math.cos(sine/16))), 0.2)
  2065. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1*size-(0.1*size)*math.cos(sine/16)-hum.HipHeight, 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  2066. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(10+2*math.cos(sine/16)),math.rad(-5+1*math.cos(sine/32))), 0.2)
  2067. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(-10-2*math.cos(sine/16)),math.rad(5+1*math.cos(sine/32))), 0.2)
  2068. end
  2069. end
  2070. if didjump == true and jumped == false and jumppower < 0 then
  2071. didjump = false
  2072. jumpimpact()
  2073. end
  2074.  
  2075. local chance = math.random(0,10000)/100
  2076. if chance <= 5 + (kills/2) then
  2077. if glitched == false then
  2078. backup = hed.Weld.C1
  2079. end
  2080. if torso:FindFirstChild("MusicRuin") then
  2081. equalizer.HighGain = 0
  2082. equalizer.MidGain = -20
  2083. equalizer.LowGain = -80
  2084. end
  2085. hed.Weld.C1 = glitchedC1
  2086. local glitch_color = Color3.fromHSV(math.random(0,1000)/1000,1,1)
  2087. glitched = true
  2088. sond:Resume()
  2089. else
  2090. if glitched == true then
  2091. glitched = false
  2092. hed.Weld.C1 = backup
  2093. glitchedC1 = backup*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-20,20)))
  2094. end
  2095. if torso:FindFirstChild("MusicRuin") then
  2096. equalizer.HighGain = 0
  2097. equalizer.MidGain = 0
  2098. equalizer.LowGain = 0
  2099. end
  2100. sond:Pause()
  2101. end
  2102.  
  2103.  
  2104. timeposition = soundz.TimePosition
  2105. sine = sine + change
  2106. hum.Health = math.huge
  2107. hum.MaxHealth = math.huge
  2108. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement