SHARE
TWEET

Untitled

JOJOJOJOJOJO1234 Jul 18th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. local Player = game.Players.LocalPlayer
  87. local c = Player.Character
  88. if not c or not c.Parent then
  89.   c = Player.CharacterAdded:wait()
  90. end
  91. local radio = Instance.new("Part", c)
  92. radio.Name = "Radio"
  93. radio.CanCollide = false
  94. radio.Anchored = true
  95. radio.FormFactor = "Custom"
  96. radio.Size = Vector3.new(2.5, 1, 0.4)
  97. radio.CFrame = c.Torso.CFrame * CFrame.new(-3.5, 2, 0.2)
  98. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  99. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, -0.1)
  100. radio.Transparency = 1
  101. local sound = Instance.new("Sound", radio)
  102. sound.Name = "Music"
  103. sound.Looped = true
  104. sound.Volume = 5
  105. local weld = Instance.new("Weld", radio)
  106. weld.Part0 = c.Torso
  107. weld.Part1 = radio
  108. weld.C0 = c.Torso.CFrame:inverse()
  109. weld.C1 = radio.CFrame:inverse()
  110. radio.Anchored = false
  111. player = game:service("Players").LocalPlayer
  112. char2 = player.Character
  113. Glow1 = Color3.new(0, 0, 0)
  114. Glow2 = Color3.new(1, 0, 0)
  115. Glow3 = Color3.new(0, 1, 0)
  116. Glow4 = Color3.new(0, 0, 1)
  117. GlowParticle = Instance.new("ParticleEmitter", radio)
  118. GlowParticle.LightEmission = 1
  119. GlowParticle.Color = ColorSequence.new(Glow2, Glow1)
  120. GlowParticle.Size = NumberSequence.new(0.4)
  121. GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
  122. GlowParticle.Transparency = NumberSequence.new(1)
  123. GlowParticle.LockedToPart = false
  124. GlowParticle.Lifetime = NumberRange.new(0.5, 1)
  125. GlowParticle.Rate = 200
  126. GlowParticle.Speed = NumberRange.new(1.5)
  127. GlowParticle.Acceleration = Vector3.new(0, 1, 0)
  128. GlowParticle.VelocitySpread = 100
  129. GlowParticle2 = Instance.new("ParticleEmitter", radio)
  130. GlowParticle2.LightEmission = 1
  131. GlowParticle2.Color = ColorSequence.new(Glow3, Glow1)
  132. GlowParticle2.Size = NumberSequence.new(0.4)
  133. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=118641183"
  134. GlowParticle2.Transparency = NumberSequence.new(1)
  135. GlowParticle2.LockedToPart = false
  136. GlowParticle2.Lifetime = NumberRange.new(0.5, 1)
  137. GlowParticle2.Rate = 200
  138. GlowParticle2.Speed = NumberRange.new(1.5)
  139. GlowParticle2.Acceleration = Vector3.new(0, 1, 0)
  140. GlowParticle2.VelocitySpread = 100
  141. GlowParticle3 = Instance.new("ParticleEmitter", radio)
  142. GlowParticle3.LightEmission = 1
  143. GlowParticle3.Color = ColorSequence.new(Glow4, Glow1)
  144. GlowParticle3.Size = NumberSequence.new(0.4)
  145. GlowParticle3.Texture = "http://www.roblox.com/asset/?id=118641183"
  146. GlowParticle3.Transparency = NumberSequence.new(1)
  147. GlowParticle3.LockedToPart = false
  148. GlowParticle3.Lifetime = NumberRange.new(0.5, 1)
  149. GlowParticle3.Rate = 200
  150. GlowParticle3.Speed = NumberRange.new(1.5)
  151. GlowParticle3.Acceleration = Vector3.new(0, 1, 0)
  152. GlowParticle3.VelocitySpread = 100
  153. wait(0)
  154. fat = Instance.new("BindableEvent", script)
  155. fat.Name = "Heartbeat"
  156. local charge = false
  157. P = game.Players.LocalPlayer
  158. char = P.Character
  159. torso = char.Torso
  160. neck = char.Torso.Neck
  161. hum = char.Humanoid
  162. hum.MaxHealth = 9.876543219876543E44
  163. wait()
  164. hum.Health = hum.MaxHealth
  165. char.Head.face.Texture = "rbxassetid://176206791"
  166. p2 = game.Players.LocalPlayer
  167. char049 = p2.Character
  168. for i, v in pairs(char049:children()) do
  169.   if v:IsA("Accessory") then
  170.     v:Destroy()
  171.   end
  172. end
  173. local M69 = Instance.new("SpecialMesh")
  174. M69.Parent = torso
  175. M69.MeshId = "rbxassetid://456901040"
  176. M69.Scale = Vector3.new(1, 1, 1)
  177. char049.Shirt:Remove()
  178. for i, v in pairs(char049:GetChildren()) do
  179.   if v:IsA("Pants") then
  180.     v:Remove()
  181.   end
  182. end
  183. wait()
  184. shirt = Instance.new("Shirt", char049)
  185. shirt.Name = "Shirt"
  186. pants = Instance.new("Pants", char049)
  187. pants.Name = "Pants"
  188. char049.Shirt.ShirtTemplate = "rbxassetid://"
  189. char049.Pants.PantsTemplate = "rbxassetid://"
  190. local BC = char["Body Colors"]
  191. BC.HeadColor = BrickColor.new("Fossil")
  192. BC.LeftArmColor = BrickColor.new("Fossil")
  193. BC.LeftLegColor = BrickColor.new("Fossil")
  194. BC.RightArmColor = BrickColor.new("Fossil")
  195. BC.RightLegColor = BrickColor.new("Fossil")
  196. BC.TorsoColor = BrickColor.new("Plum")
  197. Player = game:GetService("Players").LocalPlayer
  198. Character = Player.Character
  199. local Orbd = Instance.new("Part", Character)
  200. Orbd.Name = "Orbd"
  201. Orbd.Shape = Enum.PartType.Ball
  202. Orbd.CanCollide = false
  203. Orbd.BrickColor = BrickColor.new("Really black")
  204. Orbd.Transparency = 1
  205. Orbd.Material = "Neon"
  206. Orbd.Size = Vector3.new(0.2, 0.2, 0.2)
  207. Orbd.TopSurface = Enum.SurfaceType.Smooth
  208. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  209. local Weld = Instance.new("Weld", Orbd)
  210. Weld.Part0 = Character.Head
  211. Weld.Part1 = Orbd
  212. Weld.C1 = CFrame.new(-0.01, 0.2, 0.51)
  213. local Mask = Instance.new("Part", Character)
  214. Mask.Name = "Mask"
  215. Mask.CanCollide = false
  216. Mask.BrickColor = BrickColor.new("Sunrise")
  217. Mask.Transparency = 1
  218. Mask.Material = "Neon"
  219. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  220. Mask.TopSurface = Enum.SurfaceType.Smooth
  221. Mask.BottomSurface = Enum.SurfaceType.Smooth
  222. local Weld = Instance.new("Weld", Mask)
  223. Weld.Part0 = Character.Head
  224. Weld.Part1 = Mask
  225. Weld.C1 = CFrame.new(0, 0.03, 0.5)
  226. local M1 = Instance.new("SpecialMesh")
  227. M1.Parent = Mask
  228. M1.MeshId = "http://www.roblox.com/asset/?id=430736398"
  229. M1.Scale = Vector3.new(0.3, 0.03, 0.099)
  230. local Hood = Instance.new("Part", Character)
  231. Hood.Name = "Hair"
  232. Hood.CanCollide = false
  233. Hood.BrickColor = BrickColor.new("Dark indigo")
  234. Hood.Transparency = 1
  235. Hood.Material = "Neon"
  236. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  237. Hood.TopSurface = Enum.SurfaceType.Smooth
  238. Hood.BottomSurface = Enum.SurfaceType.Smooth
  239. local Weld = Instance.new("Weld", Hood)
  240. Weld.Part0 = Character.Head
  241. Weld.Part1 = Hood
  242. Weld.C1 = CFrame.new(0, -0.5, 0)
  243. local M2 = Instance.new("SpecialMesh")
  244. M2.Parent = Hood
  245. M2.MeshId = "http://www.roblox.com/asset/?id=362013001"
  246. M2.Scale = Vector3.new(1, 1.06, 1.1)
  247. local skin = Instance.new("Part", Character)
  248. skin.Name = "skin"
  249. skin.CanCollide = false
  250. skin.BrickColor = BrickColor.new("Fossil")
  251. skin.Transparency = 1
  252. skin.Material = "SmoothPlastic"
  253. skin.Size = Vector3.new(0.1, 0.1, 0.1)
  254. skin.TopSurface = Enum.SurfaceType.Smooth
  255. skin.BottomSurface = Enum.SurfaceType.Smooth
  256. local Weld = Instance.new("Weld", skin)
  257. Weld.Part0 = Character.Torso
  258. Weld.Part1 = skin
  259. Weld.C1 = CFrame.new(0, -0.83, 0.5)
  260. local M3 = Instance.new("SpecialMesh")
  261. M3.Parent = skin
  262. M3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  263. M3.Scale = Vector3.new(0.0054, 0.0014, 1.0E-4)
  264. local hair2 = Instance.new("Part", Character)
  265. hair2.Name = "Hair2"
  266. hair2.CanCollide = false
  267. hair2.BrickColor = BrickColor.new("Dark indigo")
  268. hair2.Transparency = 1
  269. hair2.Material = "Neon"
  270. hair2.Size = Vector3.new(0.1, 0.1, 0.1)
  271. hair2.TopSurface = Enum.SurfaceType.Smooth
  272. hair2.BottomSurface = Enum.SurfaceType.Smooth
  273. local Weld = Instance.new("Weld", hair2)
  274. Weld.Part0 = Character.Head
  275. Weld.Part1 = hair2
  276. Weld.C1 = CFrame.new(0, 0.65, -0.05)
  277. local M2 = Instance.new("SpecialMesh")
  278. M2.Parent = hair2
  279. M2.MeshId = "http://www.roblox.com/asset/?id=164382853"
  280. M2.Scale = Vector3.new(1.1, 1.1, 1)
  281. local hat2 = Instance.new("Part", Character)
  282. hat2.Name = "hat2"
  283. hat2.CanCollide = false
  284. hat2.BrickColor = BrickColor.new("Plum")
  285. hat2.Transparency = 1
  286. hat2.Material = "SmoothPlastic"
  287. hat2.Size = Vector3.new(0.1, 0.1, 0.1)
  288. hat2.TopSurface = Enum.SurfaceType.Smooth
  289. hat2.BottomSurface = Enum.SurfaceType.Smooth
  290. local Weld = Instance.new("Weld", hat2)
  291. Weld.Part0 = Character.Head
  292. Weld.Part1 = hat2
  293. Weld.C1 = CFrame.new(0, -1, 0)
  294. local M4 = Instance.new("SpecialMesh")
  295. M4.Parent = hat2
  296. M4.MeshId = "http://www.roblox.com/asset/?id=110852069"
  297. M4.Scale = Vector3.new(0.8, 1, 1)
  298. local hat3 = Instance.new("Part", Character)
  299. hat3.Name = "SmoothPlastic"
  300. hat3.CanCollide = false
  301. hat3.BrickColor = BrickColor.new("Plum")
  302. hat3.Transparency = 1
  303. hat3.Material = "Neon"
  304. hat3.Size = Vector3.new(0.1, 0.1, 0.1)
  305. hat3.TopSurface = Enum.SurfaceType.Smooth
  306. hat3.BottomSurface = Enum.SurfaceType.Smooth
  307. local Weld = Instance.new("Weld", hat3)
  308. Weld.Part0 = Character.Head
  309. Weld.Part1 = hat3
  310. Weld.C1 = CFrame.new(0, -0.8, 0)
  311. local M5 = Instance.new("SpecialMesh")
  312. M5.Parent = hat3
  313. M5.MeshId = "http://www.roblox.com/asset/?id=104780903"
  314. M5.Scale = Vector3.new(1.25, 1.1, 1.25)
  315. local tail2 = Instance.new("Part", Character)
  316. tail2.Name = "tail2"
  317. tail2.CanCollide = false
  318. tail2.BrickColor = BrickColor.new("White")
  319. tail2.Transparency = 1
  320. tail2.Material = "SmoothPlastic"
  321. tail2.Size = Vector3.new(0.1, 0.1, 0.1)
  322. tail2.TopSurface = Enum.SurfaceType.Smooth
  323. tail2.BottomSurface = Enum.SurfaceType.Smooth
  324. local Weld = Instance.new("Weld", tail2)
  325. Weld.Part0 = Character.Torso
  326. Weld.Part1 = tail2
  327. Weld.C1 = CFrame.new(0, 0.63, -0.6)
  328. local M7 = Instance.new("SpecialMesh")
  329. M7.Parent = tail2
  330. M7.MeshId = "http://www.roblox.com/asset/?id=518429841"
  331. M7.Scale = Vector3.new(0.0028, 0.0028, 0.0028)
  332. local tail3 = Instance.new("Part", Character)
  333. tail3.Name = "tail3"
  334. tail3.CanCollide = false
  335. tail3.BrickColor = BrickColor.new("Plum")
  336. tail3.Transparency = 1
  337. tail3.Material = "Neon"
  338. tail3.Size = Vector3.new(0.1, 0.1, 0.1)
  339. tail3.TopSurface = Enum.SurfaceType.Smooth
  340. tail3.BottomSurface = Enum.SurfaceType.Smooth
  341. local Weld = Instance.new("Weld", tail3)
  342. Weld.Part0 = Character.Torso
  343. Weld.Part1 = tail3
  344. Weld.C1 = CFrame.new(-0.2, -0.2, -1.8)
  345. local M2 = Instance.new("SpecialMesh")
  346. M2.Parent = tail3
  347. M2.MeshId = "http://www.roblox.com/asset/?id=170939831"
  348. M2.Scale = Vector3.new(1, 1, 1)
  349. local Player = game.Players.localPlayer
  350. local Character = Player.Character
  351. local red = 255
  352. local green = 255
  353. local blue = 255
  354. local Humanoid = Character.Humanoid
  355. local mouse = Player:GetMouse()
  356. local m = Instance.new("Model", Character)
  357. m.Name = "WeaponModel"
  358. local LeftArm = Character["Left Arm"]
  359. local RightArm = Character["Right Arm"]
  360. local LeftLeg = Character["Left Leg"]
  361. local RightLeg = Character["Right Leg"]
  362. local Head = Character.Head
  363. local Torso = Character.Torso
  364. local cam = game.Workspace.CurrentCamera
  365. local RootPart = Character.HumanoidRootPart
  366. local RootJoint = RootPart.RootJoint
  367. local equipped = false
  368. local attack = false
  369. local Anim = "Idle"
  370. local idle = 0
  371. local attacktype = 1
  372. local Torsovelocity = RootPart.Velocity.y * Vector3.new(1, 0, 1).magnitude
  373. local velocity = RootPart.Velocity.y
  374. local sine = 0
  375. local change = 1
  376. local grabbed = false
  377. local cn = CFrame.new
  378. local mr = math.rad
  379. local angles = CFrame.Angles
  380. local ud = UDim2.new
  381. local c3 = Color3.new
  382. local lim = 0
  383. local st = 0
  384. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  385. local attacktype = 1
  386. local ZTarget, RocketTarget
  387. local euler = CFrame.fromEulerAnglesXYZ
  388. function clerp(a, b, t)
  389.   local qa = {
  390.     QuaternionFromCFrame(a)
  391.   }
  392.   local qb = {
  393.     QuaternionFromCFrame(b)
  394.   }
  395.   local ax, ay, az = a.x, a.y, a.z
  396.   local bx, by, bz = b.x, b.y, b.z
  397.   local _t = 1 - t
  398.   return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  399. end
  400. function QuaternionFromCFrame(cf)
  401.   local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  402.   local trace = m00 + m11 + m22
  403.   if trace > 0 then
  404.     local s = math.sqrt(1 + trace)
  405.     local recip = 0.5 / s
  406.     return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  407.   else
  408.     local i = 0
  409.     if m00 < m11 then
  410.       i = 1
  411.     end
  412.     if m22 > (i == 0 and m00 or m11) then
  413.       i = 2
  414.     end
  415.     if i == 0 then
  416.       local s = math.sqrt(m00 - m11 - m22 + 1)
  417.       local recip = 0.5 / s
  418.       return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  419.     elseif i == 1 then
  420.       local s = math.sqrt(m11 - m22 - m00 + 1)
  421.       local recip = 0.5 / s
  422.       return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  423.     elseif i == 2 then
  424.       local s = math.sqrt(m22 - m00 - m11 + 1)
  425.       local recip = 0.5 / s
  426.       return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  427.     end
  428.   end
  429. end
  430. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  431.   local xs, ys, zs = x + x, y + y, z + z
  432.   local wx, wy, wz = w * xs, w * ys, w * zs
  433.   local xx = x * xs
  434.   local xy = x * ys
  435.   local xz = x * zs
  436.   local yy = y * ys
  437.   local yz = y * zs
  438.   local zz = z * zs
  439.   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))
  440. end
  441. function QuaternionSlerp(a, b, t)
  442.   local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  443.   local startInterp, finishInterp
  444.   if cosTheta >= 1.0E-4 then
  445.     if 1 - cosTheta > 1.0E-4 then
  446.       local theta = math.acos(cosTheta)
  447.       local invSinTheta = 1 / math.sin(theta)
  448.       startInterp = math.sin((1 - t) * theta) * invSinTheta
  449.       finishInterp = math.sin(t * theta) * invSinTheta
  450.     else
  451.       startInterp = 1 - t
  452.       finishInterp = t
  453.     end
  454.   elseif 1 + cosTheta > 1.0E-4 then
  455.     local theta = math.acos(-cosTheta)
  456.     local invSinTheta = 1 / math.sin(theta)
  457.     startInterp = math.sin((t - 1) * theta) * invSinTheta
  458.     finishInterp = math.sin(t * theta) * invSinTheta
  459.   else
  460.     startInterp = t - 1
  461.     finishInterp = t
  462.   end
  463.   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
  464. end
  465. function rayCast(Position, Direction, Range, Ignore)
  466.   return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  467. end
  468. local v = game.Players.localPlayer
  469. local torso = v.Character.Torso
  470. wait(0)
  471. local p = Instance.new("Part", v.Character)
  472. p.Name = "kit"
  473. p.BrickColor = BrickColor.new("Plum")
  474. p.Anchored = true
  475. p.Transparency = 1
  476. p.Material = "Plastic"
  477. p.CanCollide = false
  478. p.TopSurface = 0
  479. p.BottomSurface = 0
  480. p.Size = Vector3.new(0.2, 0.2, 0.2)
  481. p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  482. local msh = Instance.new("SpecialMesh", p)
  483. msh.Scale = Vector3.new(0.55, 0.55, 0.55)
  484. msh.MeshId = "http://www.roblox.com/asset/?id=430736398"
  485. msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  486. local pn = Instance.new("Part", v.Character.kit)
  487. pn.Name = "D"
  488. pn.BrickColor = BrickColor.new("Plum")
  489. pn.Anchored = true
  490. pn.Transparency = 1
  491. pn.Material = "Plastic"
  492. pn.CanCollide = false
  493. pn.TopSurface = 0
  494. pn.BottomSurface = 0
  495. pn.Size = Vector3.new(0.2, 0.2, 0.2)
  496. pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  497. local mshn = Instance.new("SpecialMesh", pn)
  498. mshn.Scale = Vector3.new(0.55, 0.55, 0.55)
  499. mshn.MeshId = "http://www.roblox.com/asset/?id=430736398"
  500. mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  501. local pn3 = Instance.new("Part", v.Character.kit)
  502. pn3.Name = "B"
  503. pn3.BrickColor = BrickColor.new("Fossil")
  504. pn3.Anchored = true
  505. pn3.Transparency = 1
  506. pn3.Material = "Plastic"
  507. pn3.CanCollide = false
  508. pn3.TopSurface = 0
  509. pn3.BottomSurface = 0
  510. pn3.Size = Vector3.new(0.2, 0.2, 0.2)
  511. pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  512. local mshn3 = Instance.new("SpecialMesh", pn3)
  513. mshn3.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  514. mshn3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  515. mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  516. local pn4 = Instance.new("Part", v.Character.kit)
  517. pn4.Name = "B"
  518. pn4.BrickColor = BrickColor.new("Fossil")
  519. pn4.Anchored = true
  520. pn4.Transparency = 1
  521. pn4.Material = "Plastic"
  522. pn4.CanCollide = false
  523. pn4.TopSurface = 0
  524. pn4.BottomSurface = 0
  525. pn4.Size = Vector3.new(0.2, 0.2, 0.2)
  526. pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  527. local mshn4 = Instance.new("SpecialMesh", pn4)
  528. mshn4.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  529. mshn4.MeshId = "http://www.roblox.com/asset/?id=518429841"
  530. mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  531. local pn5 = Instance.new("Part", v.Character.kit)
  532. pn5.Name = "tail"
  533. pn5.Anchored = true
  534. pn5.Transparency = 1
  535. pn5.BrickColor = BrickColor.new("Plum")
  536. pn5.Material = "Plastic"
  537. pn5.CanCollide = false
  538. pn5.TopSurface = 0
  539. pn5.BottomSurface = 0
  540. pn5.Size = Vector3.new(0.2, 0.2, 0.2)
  541. pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  542. local mshn5 = Instance.new("SpecialMesh", pn5)
  543. mshn5.Scale = Vector3.new(2, 2, 2)
  544. mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
  545. mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  546. local pn6 = Instance.new("Part", v.Character.kit)
  547. pn6.Name = "B-Hair"
  548. pn6.Anchored = true
  549. pn6.Transparency = 1
  550. pn6.BrickColor = BrickColor.new("Dark indigo")
  551. pn6.Material = "Plastic"
  552. pn6.CanCollide = false
  553. pn6.TopSurface = 0
  554. pn6.BottomSurface = 0
  555. pn6.Size = Vector3.new(0.2, 0.2, 0.2)
  556. pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  557. local mshn6 = Instance.new("SpecialMesh", pn6)
  558. mshn6.Scale = Vector3.new(0.015, 0.03, 0.001)
  559. mshn6.MeshId = "http://www.roblox.com/asset/?id=521338357"
  560. local pn7 = Instance.new("Part", v.Character.kit)
  561. pn7.Name = "tail"
  562. pn7.Anchored = true
  563. pn7.Transparency = 1
  564. pn7.BrickColor = BrickColor.new("Plum")
  565. pn7.Material = "Plastic"
  566. pn7.CanCollide = false
  567. pn7.TopSurface = 0
  568. pn7.BottomSurface = 0
  569. pn7.Size = Vector3.new(0.2, 0.2, 0.2)
  570. pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  571. local mshn7 = Instance.new("SpecialMesh", pn7)
  572. mshn7.Scale = Vector3.new(2, 2, 2)
  573. mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
  574. mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  575. local pn8 = Instance.new("Part", v.Character.kit)
  576. pn8.Name = "tail"
  577. pn8.Anchored = true
  578. pn8.Transparency = 1
  579. pn8.BrickColor = BrickColor.new("Plum")
  580. pn8.Material = "Plastic"
  581. pn8.CanCollide = false
  582. pn8.TopSurface = 0
  583. pn8.BottomSurface = 0
  584. pn8.Size = Vector3.new(0.2, 0.2, 0.2)
  585. pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  586. local mshn8 = Instance.new("SpecialMesh", pn8)
  587. mshn8.Scale = Vector3.new(2, 2, 2)
  588. mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
  589. mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  590. local pn9 = Instance.new("Part", v.Character.kit)
  591. pn9.Name = "tail"
  592. pn9.Anchored = true
  593. pn9.Transparency = 1
  594. pn9.BrickColor = BrickColor.new("Plum")
  595. pn9.Material = "Plastic"
  596. pn9.CanCollide = false
  597. pn9.TopSurface = 0
  598. pn9.BottomSurface = 0
  599. pn9.Size = Vector3.new(0.2, 0.2, 0.2)
  600. pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  601. local mshn9 = Instance.new("SpecialMesh", pn9)
  602. mshn9.Scale = Vector3.new(2, 2, 2)
  603. mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
  604. mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  605. local pn0 = Instance.new("Part", v.Character.kit)
  606. pn0.Name = "ears"
  607. pn0.Anchored = true
  608. pn0.Transparency = 1
  609. pn0.BrickColor = BrickColor.new("Plum")
  610. pn0.Material = "Plastic"
  611. pn0.CanCollide = false
  612. pn0.TopSurface = 0
  613. pn0.BottomSurface = 0
  614. pn0.Size = Vector3.new(0.2, 0.2, 0.2)
  615. pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  616. local mshn0 = Instance.new("SpecialMesh", pn0)
  617. mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
  618. mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
  619. mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  620. p.Anchored = false
  621. local motor1 = Instance.new("Weld", torso)
  622. motor1.Part0 = p
  623. motor1.Part1 = torso
  624. motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  625. motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  626. pn.Anchored = false
  627. local motor2 = Instance.new("Weld", torso)
  628. motor2.Part0 = pn
  629. motor2.Part1 = torso
  630. motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  631. motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  632. pn3.Anchored = false
  633. local motor3 = Instance.new("Weld", torso)
  634. motor3.Part0 = pn3
  635. motor3.Part1 = torso
  636. motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  637. motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  638. pn4.Anchored = false
  639. local motor4 = Instance.new("Weld", torso)
  640. motor4.Part0 = pn4
  641. motor4.Part1 = torso
  642. motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  643. motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  644. pn5.Anchored = false
  645. local motor5 = Instance.new("Weld", pn5)
  646. motor5.Part0 = pn5
  647. motor5.Part1 = torso
  648. motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  649. motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  650. pn6.Anchored = false
  651. local motor6 = Instance.new("Weld", pn6)
  652. motor6.Part0 = pn6
  653. motor6.Part1 = Head
  654. motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  655. motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  656. pn7.Anchored = false
  657. local motor7 = Instance.new("Weld", pn7)
  658. motor7.Part0 = pn7
  659. motor7.Part1 = torso
  660. motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  661. motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  662. pn8.Anchored = false
  663. local motor8 = Instance.new("Weld", pn8)
  664. motor8.Part0 = pn8
  665. motor8.Part1 = torso
  666. motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  667. motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  668. pn9.Anchored = false
  669. local motor9 = Instance.new("Weld", pn9)
  670. motor9.Part0 = pn9
  671. motor9.Part1 = torso
  672. motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  673. motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  674. pn0.Anchored = false
  675. local motor0 = Instance.new("Weld", pn0)
  676. motor0.Part0 = pn0
  677. motor0.Part1 = v.Character.Head
  678. motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  679. game:GetService("RunService").Stepped:connect(function()
  680.   Torsovelocity = RootPart.Velocity.y * Vector3.new(1, 0, 1).magnitude
  681.   velocity = RootPart.Velocity.y
  682.   sine = sine + change
  683.   local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  684.   if equipped == true or equipped == false then
  685.     if 1 < RootPart.Velocity.y and hit == nil then
  686.       Anim = "Jump"
  687.       if attack == false then
  688.         motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, 0.85) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  689.         motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, 0.85) * angles(math.rad(2 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  690.         motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, 0.75) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  691.         motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, 0.73) * angles(math.rad(2 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  692.         motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  693.         motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  694.         motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  695.         motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  696.         motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  697.       end
  698.     elseif RootPart.Velocity.y < -1 and hit == nil then
  699.       Anim = "Fall"
  700.       if attack == false then
  701.         motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, 0.85) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  702.         motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, 0.85) * angles(math.rad(-3 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  703.         motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, 0.75) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  704.         motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, 0.73) * angles(math.rad(-3 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  705.         motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  706.         motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  707.         motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  708.         motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  709.         motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  710.       end
  711.     elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and hit ~= nil then
  712.       Anim = "Idle"
  713.       if attack == false then
  714.         change = 1
  715.         motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, 0.85) * angles(math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  716.         motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, 0.85) * angles(math.rad(0 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  717.         motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, 0.75) * angles(math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  718.         motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, 0.73) * angles(math.rad(0 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  719.         motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(10 + 0 * math.cos(sine / 25))), 0.1)
  720.         motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  721.         motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
  722.         motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-10 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-150 + 0 * math.cos(sine / 25))), 0.1)
  723.         motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-20 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(-100 + 0 * math.cos(sine / 25))), 0.1)
  724.       end
  725.     elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 and hit ~= nil then
  726.       Anim = "Walk"
  727.       if attack == false then
  728.         motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, 0.85) * angles(math.rad(2 + 2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  729.         motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, 0.85) * angles(math.rad(2 + -2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  730.         motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, 0.75) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  731.         motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, 0.73) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  732.         motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  733.         motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  734.         motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  735.         motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  736.         motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  737.       end
  738.     end
  739.   end
  740. end)
  741. newface = Instance.new("Decal", Head)
  742. newface.Texture = "rbxassetid://186681690"
  743. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
  744. secondcolor = "Really black"
  745. wait(0.016666666666666666)
  746. Effects = {}
  747. local Player = game.Players.localPlayer
  748. local Character = Player.Character
  749. local Humanoid = Character.Humanoid
  750. local mouse = Player:GetMouse()
  751. local LeftArm = Character["Left Arm"]
  752. local RightArm = Character["Right Arm"]
  753. local LeftLeg = Character["Left Leg"]
  754. local RightLeg = Character["Right Leg"]
  755. local Head = Character.Head
  756. local Torso = Character.Torso
  757. local cam = game.Workspace.CurrentCamera
  758. local RootPart = Character.HumanoidRootPart
  759. local RootJoint = RootPart.RootJoint
  760. local equipped = true
  761. local attack = false
  762. local Anim = "Idle"
  763. local idle = 0
  764. local attacktype = 1
  765. local Torsovelocity = RootPart.Velocity.y * Vector3.new(1, 0, 1).magnitude
  766. local velocity = RootPart.Velocity.y
  767. local sine = 0
  768. local change = 1
  769. local grabbed = false
  770. local cn = CFrame.new
  771. local mr = math.rad
  772. local angles = CFrame.Angles
  773. local ud = UDim2.new
  774. local c3 = Color3.new
  775. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  776. Humanoid.Animator:Destroy()
  777. Character.Animate:Destroy()
  778. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  779. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  780. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  781. RSH, LSH = nil, nil
  782. RW = Instance.new("Weld")
  783. LW = Instance.new("Weld")
  784. RH = Torso["Right Hip"]
  785. LH = Torso["Left Hip"]
  786. RSH = Torso["Right Shoulder"]
  787. LSH = Torso["Left Shoulder"]
  788. RSH.Parent = nil
  789. LSH.Parent = nil
  790. RW.Name = "RW"
  791. RW.Part0 = Torso
  792. RW.C0 = cn(1.5, 0.5, 0)
  793. RW.C1 = cn(0, 0.5, 0)
  794. RW.Part1 = RightArm
  795. RW.Parent = Torso
  796. LW.Name = "LW"
  797. LW.Part0 = Torso
  798. LW.C0 = cn(-1.5, 0.5, 0)
  799. LW.C1 = cn(0, 0.5, 0)
  800. LW.Part1 = LeftArm
  801. LW.Parent = Torso
  802. function clerp(a, b, t)
  803.   local qa = {
  804.     QuaternionFromCFrame(a)
  805.   }
  806.   local qb = {
  807.     QuaternionFromCFrame(b)
  808.   }
  809.   local ax, ay, az = a.x, a.y, a.z
  810.   local bx, by, bz = b.x, b.y, b.z
  811.   local _t = 1 - t
  812.   return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  813. end
  814. function QuaternionFromCFrame(cf)
  815.   local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  816.   local trace = m00 + m11 + m22
  817.   if trace > 0 then
  818.     local s = math.sqrt(1 + trace)
  819.     local recip = 0.5 / s
  820.     return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  821.   else
  822.     local i = 0
  823.     if m00 < m11 then
  824.       i = 1
  825.     end
  826.     if m22 > (i == 0 and m00 or m11) then
  827.       i = 2
  828.     end
  829.     if i == 0 then
  830.       local s = math.sqrt(m00 - m11 - m22 + 1)
  831.       local recip = 0.5 / s
  832.       return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  833.     elseif i == 1 then
  834.       local s = math.sqrt(m11 - m22 - m00 + 1)
  835.       local recip = 0.5 / s
  836.       return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  837.     elseif i == 2 then
  838.       local s = math.sqrt(m22 - m00 - m11 + 1)
  839.       local recip = 0.5 / s
  840.       return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  841.     end
  842.   end
  843. end
  844. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  845.   local xs, ys, zs = x + x, y + y, z + z
  846.   local wx, wy, wz = w * xs, w * ys, w * zs
  847.   local xx = x * xs
  848.   local xy = x * ys
  849.   local xz = x * zs
  850.   local yy = y * ys
  851.   local yz = y * zs
  852.   local zz = z * zs
  853.   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))
  854. end
  855. function QuaternionSlerp(a, b, t)
  856.   local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  857.   local startInterp, finishInterp
  858.   if cosTheta >= 1.0E-4 then
  859.     if 1 - cosTheta > 1.0E-4 then
  860.       local theta = math.acos(cosTheta)
  861.       local invSinTheta = 1 / math.sin(theta)
  862.       startInterp = math.sin((1 - t) * theta) * invSinTheta
  863.       finishInterp = math.sin(t * theta) * invSinTheta
  864.     else
  865.       startInterp = 1 - t
  866.       finishInterp = t
  867.     end
  868.   elseif 1 + cosTheta > 1.0E-4 then
  869.     local theta = math.acos(-cosTheta)
  870.     local invSinTheta = 1 / math.sin(theta)
  871.     startInterp = math.sin((t - 1) * theta) * invSinTheta
  872.     finishInterp = math.sin(t * theta) * invSinTheta
  873.   else
  874.     startInterp = t - 1
  875.     finishInterp = t
  876.   end
  877.   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
  878. end
  879. function swait(num)
  880.   if num == 0 or num == nil then
  881.     game:service("RunService").RenderStepped:wait(0)
  882.   else
  883.     for i = 0, num do
  884.       game:service("RunService").RenderStepped:wait(0)
  885.     end
  886.   end
  887. end
  888. local RbxUtility = LoadLibrary("RbxUtility")
  889. local Create = RbxUtility.Create
  890. function RemoveOutlines(part)
  891.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  892. end
  893. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  894.   local Part = Create("Part")({
  895.     formFactor = FormFactor,
  896.     Parent = Parent,
  897.     Reflectance = Reflectance,
  898.     Transparency = Transparency,
  899.     CanCollide = false,
  900.     Locked = true,
  901.     BrickColor = BrickColor.new(tostring(BColor)),
  902.     Name = Name,
  903.     Size = Size,
  904.     Material = Material
  905.   })
  906.   RemoveOutlines(Part)
  907.   return Part
  908. end
  909. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  910.   local Msh = Create(Mesh)({
  911.     Parent = Part,
  912.     Offset = OffSet,
  913.     Scale = Scale
  914.   })
  915.   if Mesh == "SpecialMesh" then
  916.     Msh.MeshType = MeshType
  917.     Msh.MeshId = MeshId
  918.   end
  919.   return Msh
  920. end
  921. function CreateWeld(Parent, Part0, Part1, C0, C1)
  922.   local Weld = Create("Weld")({
  923.     Parent = Parent,
  924.     Part0 = Part0,
  925.     Part1 = Part1,
  926.     C0 = C0,
  927.     C1 = C1
  928.   })
  929.   return Weld
  930. end
  931. function rayCast(Position, Direction, Range, Ignore)
  932.   return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  933. end
  934. function CreateSound(id, par, vol, pit)
  935.   coroutine.resume(coroutine.create(function()
  936.     local sou = Instance.new("Sound", par or workspace)
  937.     sou.Volume = vol
  938.     sou.Pitch = pit or 1
  939.     sou.SoundId = id
  940.     wait()
  941.     sou:play()
  942.     game:GetService("Debris"):AddItem(sou, 6)
  943.   end))
  944. end
  945. local function getclosest(obj, distance)
  946.   local last, lastx = distance + 1, nil
  947.   for i, v in pairs(workspace:GetChildren()) do
  948.     if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  949.       local t = v.Torso
  950.       local dist = (t.Position - obj.Position).magnitude
  951.       if distance >= dist and last > dist then
  952.         last = dist
  953.         lastx = v
  954.       end
  955.     end
  956.   end
  957.   return lastx
  958. end
  959. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  960.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  961.   prt.Anchored = true
  962.   prt.CFrame = cframe
  963.   local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  964.   game:GetService("Debris"):AddItem(prt, 10)
  965.   if Type == 1 or Type == nil then
  966.     table.insert(Effects, {
  967.       prt,
  968.       "Block1",
  969.       delay,
  970.       x3,
  971.       y3,
  972.       z3,
  973.       msh
  974.     })
  975.   elseif Type == 2 then
  976.     table.insert(Effects, {
  977.       prt,
  978.       "Block2",
  979.       delay,
  980.       x3,
  981.       y3,
  982.       z3,
  983.       msh
  984.     })
  985.   end
  986. end
  987. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  988.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  989.   prt.Anchored = true
  990.   prt.CFrame = cframe
  991.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  992.   game:GetService("Debris"):AddItem(prt, 10)
  993.   table.insert(Effects, {
  994.     prt,
  995.     "Cylinder",
  996.     delay,
  997.     x3,
  998.     y3,
  999.     z3,
  1000.     msh
  1001.   })
  1002. end
  1003. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1004.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1005.   prt.Anchored = true
  1006.   prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1007.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1008.   game:GetService("Debris"):AddItem(prt, 10)
  1009.   table.insert(Effects, {
  1010.     prt,
  1011.     "Cylinder",
  1012.     delay,
  1013.     x3,
  1014.     y3,
  1015.     z3,
  1016.     msh
  1017.   })
  1018. end
  1019. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1020.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1021.   prt.Anchored = true
  1022.   prt.CFrame = cframe
  1023.   local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1024.   game:GetService("Debris"):AddItem(prt, 10)
  1025.   table.insert(Effects, {
  1026.     prt,
  1027.     "Cylinder",
  1028.     delay,
  1029.     x3,
  1030.     y3,
  1031.     z3,
  1032.     msh
  1033.   })
  1034. end
  1035. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1036.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1037.   prt.Anchored = true
  1038.   prt.CFrame = cframe
  1039.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1040.   game:GetService("Debris"):AddItem(prt, 10)
  1041.   table.insert(Effects, {
  1042.     prt,
  1043.     "Cylinder",
  1044.     delay,
  1045.     x3,
  1046.     y3,
  1047.     z3,
  1048.     msh
  1049.   })
  1050. end
  1051. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1052.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1053.   prt.Anchored = true
  1054.   prt.CFrame = cframe
  1055.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1056.   game:GetService("Debris"):AddItem(prt, 10)
  1057.   table.insert(Effects, {
  1058.     prt,
  1059.     "Cylinder",
  1060.     delay,
  1061.     x3,
  1062.     y3,
  1063.     z3,
  1064.     msh
  1065.   })
  1066. end
  1067. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1068.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1069.   prt.Anchored = true
  1070.   prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1071.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1072.   local num = math.random(10, 50) / 1000
  1073.   game:GetService("Debris"):AddItem(prt, 10)
  1074.   table.insert(Effects, {
  1075.     prt,
  1076.     "Shatter",
  1077.     num,
  1078.     prt.CFrame,
  1079.     math.random() - math.random(),
  1080.     0,
  1081.     math.random(50, 100) / 100
  1082.   })
  1083. end
  1084. for i = 0, 1, 0.05 do
  1085.   swait()
  1086.   RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1087.   Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
  1088.   RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1089.   LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1090.   if Torsovelocity > 2 then
  1091.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2)
  1092.     RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
  1093.     LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
  1094.   elseif Torsovelocity < 1 then
  1095.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1096.     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  1097.     LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  1098.   end
  1099. end
  1100. attack = false
  1101. game:GetService("RunService").Stepped:connect(function()
  1102.  -- Torsovelocity = --RootPart.Velocity.y * Vector3.new(1, 0, 1).magnitude
  1103.   Torsovelocity = (torso.Velocity*Vector3.new(1, 0, 1)).magnitude
  1104.   velocity = RootPart.Velocity.y
  1105.   sine = sine + change
  1106.   local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1107.   if equipped == true or equipped == false then
  1108.     if 1 < RootPart.Velocity.y and hit == nil then
  1109.       Anim = "Jump"
  1110.       if attack == false and Anim2 == false then
  1111.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1112.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1113.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1)
  1114.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1)
  1115.         RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
  1116.         LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
  1117.       end
  1118.     elseif RootPart.Velocity.y < -1 and hit == nil then
  1119.       Anim = "Fall"
  1120.       if attack == false and Anim2 == false then
  1121.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1122.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1123.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
  1124.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  1125.         RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1126.         LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1127.       end
  1128.     elseif Torsovelocity < 1 and hit ~= nil then
  1129.       Anim = "Idle"
  1130.       if attack == false and Anim2 == false then
  1131.         change = 0.8
  1132.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(-5), math.rad(5)), 0.1)
  1133.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 50)), math.rad(8), math.rad(-5)), 0.1)
  1134.         RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0.3) * angles(math.rad(30), math.rad(150), math.rad(-200 + 3 * math.cos(sine / 25))), 0.1)
  1135.         LW.C0 = clerp(LW.C0, CFrame.new(-1.54, 0.5, 0.1) * angles(math.rad(0), math.rad(10), math.rad(0 - 4 * math.cos(sine / 25))), 0.1)
  1136.         RH.C0 = clerp(RH.C0, cn(1, -0.93 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-10 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(6 + 2 * math.cos(sine / 45))), 0.1)
  1137.         LH.C0 = clerp(LH.C0, cn(-1, -0.93 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(7 + 2 * math.cos(sine / 25))), 0.1)
  1138.       end
  1139.     elseif Torsovelocity > 1 and hit ~= nil then
  1140.       Anim = "Walk"
  1141.       if attack == false and Anim2 == false then
  1142.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + 0.1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(7 * math.cos(sine / 5))), 0.1)
  1143.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), 0.1)
  1144.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(-7), math.rad(4 * math.cos(sine / 4))), 0.1)
  1145.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(7), math.rad(4 * math.cos(sine / 4))), 0.1)
  1146.         RH.C0 = clerp(RH.C0, cn(1, -1 + 0.2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(7), math.rad(50 * math.cos(sine / 4))), 0.1)
  1147.         LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(-7), math.rad(50 * math.cos(sine / 4))), 0.1)
  1148.       end
  1149.     end
  1150.   end
  1151.   if equipped == true or equipped == false then
  1152.     if 1 < RootPart.Velocity.y and hit == nil then
  1153.       Anim = "Jump"
  1154.       if attack == false and Anim2 == true then
  1155.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1156.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1157.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1)
  1158.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1)
  1159.         RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
  1160.         LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
  1161.       end
  1162.     elseif RootPart.Velocity.y < -1 and hit == nil then
  1163.       Anim = "Fall"
  1164.       if attack == false and Anim2 == true then
  1165.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1166.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1167.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
  1168.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  1169.         RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1170.         LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  1171.       end
  1172.     elseif Torsovelocity < 1 and hit ~= nil then
  1173.       Anim = "Idle"
  1174.       if attack == false and Anim2 == true then
  1175.         change = 0.8
  1176.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1177.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.1)
  1178.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1179.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1)
  1180.         RH.C0 = clerp(RH.C0, cn(1, -0.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
  1181.         LH.C0 = clerp(LH.C0, cn(-1, -0.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
  1182.       end
  1183.     elseif Torsovelocity > 1 and hit ~= nil then
  1184.       Anim = "Walk"
  1185.       if attack == false and Anim2 == true then
  1186.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + 0.1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), 0.2)
  1187.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), 0.2)
  1188.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.1)
  1189.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.1)
  1190.         RH.C0 = clerp(RH.C0, cn(1, -1 + 0.2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.1)
  1191.         LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.1)
  1192.       end
  1193.     end
  1194.   end
  1195.   if 0 < #Effects then
  1196.     for e = 1, #Effects do
  1197.       if Effects[e] ~= nil then
  1198.         local Thing = Effects[e]
  1199.         if Thing ~= nil then
  1200.           local Part = Thing[1]
  1201.           local Mode = Thing[2]
  1202.           local Delay = Thing[3]
  1203.           local IncX = Thing[4]
  1204.           local IncY = Thing[5]
  1205.           local IncZ = Thing[6]
  1206.           if 1 >= Thing[1].Transparency then
  1207.             if Thing[2] == "Block1" then
  1208.               Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1209.               local Mesh = Thing[1].Mesh
  1210.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1211.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1212.             elseif Thing[2] == "Block2" then
  1213.               Thing[1].CFrame = Thing[1].CFrame
  1214.               local Mesh = Thing[7]
  1215.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1216.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1217.             elseif Thing[2] == "Cylinder" then
  1218.               local Mesh = Thing[1].Mesh
  1219.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1220.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1221.             elseif Thing[2] == "Blood" then
  1222.               local Mesh = Thing[7]
  1223.               Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1224.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1225.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1226.             elseif Thing[2] == "Elec" then
  1227.               local Mesh = Thing[1].Mesh
  1228.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1229.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1230.             elseif Thing[2] == "Disappear" then
  1231.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1232.             elseif Thing[2] == "Shatter" then
  1233.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1234.               Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1235.               Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1236.               Thing[6] = Thing[6] + Thing[5]
  1237.             end
  1238.           else
  1239.             Part.Parent = nil
  1240.             table.remove(Effects, e)
  1241.           end
  1242.         end
  1243.       end
  1244.     end
  1245.   end
  1246. end)
  1247. Pressed = false
  1248. MaskOn = false
  1249. MaskOff = true
  1250. Anim2 = true
  1251. eye1 = false
  1252. eye2 = false
  1253. eye3 = true
  1254. mouth1 = false
  1255. mouth2 = true
  1256. mouth3 = false
  1257. mouth4 = false
  1258. mouth5 = false
  1259. mouth6 = false
  1260. mouth7 = false
  1261. bkit0 = true
  1262. bkit1 = false
  1263. bkit2 = false
  1264. torso1 = false
  1265. torso2 = true
  1266. Tail0 = true
  1267. Tail1 = false
  1268. Tail2 = false
  1269. Tail3 = false
  1270. Hair0 = true
  1271. Hair1 = false
  1272. Hair2 = false
  1273. Hair3 = false
  1274. Hat0 = true
  1275. Hat1 = false
  1276. Hat2 = false
  1277. Hat3 = false
  1278. local Playing = false
  1279. char2 = game.Players.LocalPlayer.Character
  1280. iPlayer = game.Players.LocalPlayer.Name
  1281. local Gui = Instance.new("ScreenGui", game.Players[iPlayer].PlayerGui)
  1282. Gui.Name = "Gui test"
  1283. local Pull = Instance.new("Frame", Gui)
  1284. Pull.Name = "Grab"
  1285. Pull.Active = true
  1286. Pull.BackgroundColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1287. Pull.BackgroundTransparency = 0
  1288. Pull.BorderSizePixel = 4
  1289. Pull.Position = UDim2.new(0.5, -318, 0.5, -92)
  1290. Pull.Size = UDim2.new(0, 120, 0, 50)
  1291. Pull.Draggable = true
  1292. Pull.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1293. local Close = Instance.new("TextButton", Pull)
  1294. Close.Name = "Close"
  1295. Close.BackgroundTransparency = 1
  1296. Close.Position = UDim2.new(1, -23, 0, 1)
  1297. Close.Size = UDim2.new(0, 22, 0, 22)
  1298. Close.Font = "SourceSans"
  1299. Close.FontSize = "Size24"
  1300. Close.TextColor3 = Color3.new(255, 255, 255)
  1301. Close.Text = "X"
  1302. Close.TextStrokeTransparency = 0.8
  1303. local Body = Instance.new("Frame", Pull)
  1304. Body.Name = "Body"
  1305. Body.BackgroundColor3 = Color3.new(0.23529411764705882, 0.23529411764705882, 0.23529411764705882)
  1306. Body.BackgroundTransparency = 0
  1307. Body.BorderSizePixel = 4
  1308. Body.Position = UDim2.new(0, 0, 0, 52)
  1309. Body.Size = UDim2.new(0, 547, 0, 212)
  1310. Body.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1311. local Line = Instance.new("Frame", Body)
  1312. Line.Name = "Line"
  1313. Line.BackgroundColor3 = Color3.new(0.23529411764705882, 0.23529411764705882, 0.23529411764705882)
  1314. Line.BackgroundTransparency = 0
  1315. Line.BorderSizePixel = 2
  1316. Line.Position = UDim2.new(0, 152.5, 0, 0)
  1317. Line.Size = UDim2.new(0, 0.01, 0, 212)
  1318. Line.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1319. local Line2 = Instance.new("Frame", Body)
  1320. Line2.Name = "Line2"
  1321. Line2.BackgroundColor3 = Color3.new(0.23529411764705882, 0.23529411764705882, 0.23529411764705882)
  1322. Line2.BackgroundTransparency = 0
  1323. Line2.BorderSizePixel = 2
  1324. Line2.Position = UDim2.new(0, 306.5, 0, 0)
  1325. Line2.Size = UDim2.new(0, 0.01, 0, 212)
  1326. Line2.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1327. local Title = Instance.new("TextLabel", Pull)
  1328. Title.Name = "Title"
  1329. Title.BackgroundTransparency = 1
  1330. Title.Position = UDim2.new(0, -50, 0, 0)
  1331. Title.Size = UDim2.new(0, 200, 1, 0)
  1332. Title.Font = "SourceSansLight"
  1333. Title.FontSize = "Size48"
  1334. Title.Text = "Menu"
  1335. Title.TextColor3 = Color3.new(0.5, 0, 1)
  1336. Title.TextStrokeColor3 = Color3.new(0.2901960784313726, 0.2901960784313726, 0.2901960784313726)
  1337. Title.TextStrokeTransparency = 0
  1338. local PlayerName = Instance.new("TextBox", Body)
  1339. PlayerName.Name = "PlayerName"
  1340. PlayerName.BorderSizePixel = 0
  1341. PlayerName.Position = UDim2.new(0, 8, 0, 10)
  1342. PlayerName.Size = UDim2.new(0, 135, 0, 30)
  1343. PlayerName.Font = "SourceSans"
  1344. PlayerName.FontSize = "Size18"
  1345. PlayerName.Text = "Name of the color"
  1346. PlayerName.BackgroundColor3 = Color3.new(255, 255, 255)
  1347. PlayerName.TextColor3 = Color3.new(0, 0, 0)
  1348. PlayerName.TextWrapped = true
  1349. local ColTex2 = Instance.new("TextBox", Body)
  1350. ColTex2.Name = "ColTex2"
  1351. ColTex2.BorderSizePixel = 0
  1352. ColTex2.Position = UDim2.new(0, 318.5, 0, 10)
  1353. ColTex2.Size = UDim2.new(0, 135, 0, 30)
  1354. ColTex2.Font = "SourceSans"
  1355. ColTex2.FontSize = "Size18"
  1356. ColTex2.Text = "Song id"
  1357. ColTex2.BackgroundColor3 = Color3.new(255, 255, 255)
  1358. ColTex2.TextColor3 = Color3.new(0, 0, 0)
  1359. ColTex2.TextWrapped = true
  1360. local ColTex3 = Instance.new("TextBox", Body)
  1361. ColTex3.Name = "ColTex3"
  1362. ColTex3.BorderSizePixel = 2
  1363. ColTex3.Position = UDim2.new(0, 10, 0, 130)
  1364. ColTex3.Size = UDim2.new(0, 57.5, 0, 30)
  1365. ColTex3.Font = "SourceSans"
  1366. ColTex3.FontSize = "Size10"
  1367. ColTex3.Text = "Shirt id"
  1368. ColTex3.BackgroundColor3 = Color3.new(255, 255, 255)
  1369. ColTex3.TextColor3 = Color3.new(0, 0, 0)
  1370. ColTex3.TextWrapped = true
  1371. local ColTex4 = Instance.new("TextBox", Body)
  1372. ColTex4.Name = "ColTex4"
  1373. ColTex4.BorderSizePixel = 2
  1374. ColTex4.Position = UDim2.new(0, 10, 0, 170)
  1375. ColTex4.Size = UDim2.new(0, 57.5, 0, 30)
  1376. ColTex4.Font = "SourceSans"
  1377. ColTex4.FontSize = "Size10"
  1378. ColTex4.Text = "Pants id"
  1379. ColTex4.BackgroundColor3 = Color3.new(255, 255, 255)
  1380. ColTex4.TextColor3 = Color3.new(0, 0, 0)
  1381. ColTex4.TextWrapped = true
  1382. local Chattext = Instance.new("TextBox", Body)
  1383. Chattext.Name = "Chattext"
  1384. Chattext.BorderSizePixel = 2
  1385. Chattext.Position = UDim2.new(0, 125, 0, -45)
  1386. Chattext.Size = UDim2.new(0, 157.5, 0, 40)
  1387. Chattext.Font = "SourceSans"
  1388. Chattext.FontSize = "Size12"
  1389. Chattext.Text = "Beter chat ^-^ "
  1390. Chattext.BackgroundColor3 = Color3.new(255, 255, 255)
  1391. Chattext.TextColor3 = Color3.new(0, 0, 0)
  1392. Chattext.TextWrapped = true
  1393. Chattext.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1394. local God = Instance.new("TextButton", Body)
  1395. God.Name = "God"
  1396. God.BackgroundColor3 = Color3.new(0.08235294117647059, 0.5568627450980392, 255)
  1397. God.BackgroundTransparency = 0
  1398. God.BorderSizePixel = 2
  1399. God.Position = UDim2.new(0, 10, 0, 50)
  1400. God.Size = UDim2.new(0, 57.5, 0, 30)
  1401. God.Font = "SourceSansBold"
  1402. God.FontSize = "Size18"
  1403. God.Text = "Skin col"
  1404. God.TextColor3 = Color3.new(255, 255, 255)
  1405. God.TextWrapped = true
  1406. God.BorderColor3 = Color3.new(0.3803921568627451, 0.3803921568627451, 0.3803921568627451)
  1407. God.TextStrokeTransparency = 1
  1408. local Saypress = God:Clone()
  1409. Saypress.Name = "Saypress"
  1410. Saypress.Parent = Body
  1411. Saypress.Position = UDim2.new(0, 285.5, 0, -35)
  1412. Saypress.Text = "Say"
  1413. Saypress.BackgroundColor3 = Color3.new(0.5, 1, 0.5)
  1414. local TpTo = God:Clone()
  1415. TpTo.Name = "TpTo"
  1416. TpTo.Parent = Body
  1417. TpTo.Position = UDim2.new(0, 468.5, 0, 10)
  1418. TpTo.Text = "Play"
  1419. TpTo.BackgroundColor3 = Color3.new(0.5, 1, 0.5)
  1420. local KillPlr = God:Clone()
  1421. KillPlr.Name = "Shirtcol"
  1422. KillPlr.Parent = Body
  1423. KillPlr.Position = UDim2.new(0, 10, 0, 90)
  1424. KillPlr.Text = "Shirt col"
  1425. KillPlr.Size = UDim2.new(0, 130, 0, 30)
  1426. local Haircol = God:Clone()
  1427. Haircol.Name = "Haircol"
  1428. Haircol.Parent = Body
  1429. Haircol.Position = UDim2.new(0, 82.5, 0, 50)
  1430. Haircol.Text = "Hair col"
  1431. local TpMe = God:Clone()
  1432. TpMe.Name = "Hat"
  1433. TpMe.Parent = Body
  1434. TpMe.Position = UDim2.new(0, 164, 0, 90)
  1435. TpMe.Text = "Hat 1"
  1436. TpMe.Size = UDim2.new(0, 57.5, 0, 30)
  1437. TpMe.FontSize = "Size18"
  1438. local TpMe2 = God:Clone()
  1439. TpMe2.Name = "Hair"
  1440. TpMe2.Parent = Body
  1441. TpMe2.Position = UDim2.new(0, 236.5, 0, 50)
  1442. TpMe2.Text = "Hair 1"
  1443. TpMe2.Size = UDim2.new(0, 57.5, 0, 30)
  1444. TpMe2.FontSize = "Size18"
  1445. local G36K = God:Clone()
  1446. G36K.Name = "SpawnG36k"
  1447. G36K.Parent = Body
  1448. G36K.Position = UDim2.new(0, 162, 0, 10)
  1449. G36K.Text = "Idle Pose"
  1450. G36K.Size = UDim2.new(0, 135, 0, 30)
  1451. G36K.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  1452. G36K.FontSize = "Size28"
  1453. local Tail = God:Clone()
  1454. Tail.Name = "Tail"
  1455. Tail.Parent = Body
  1456. Tail.Position = UDim2.new(0, 164, 0, 50)
  1457. Tail.Text = "Tail 0"
  1458. local Torso2 = God:Clone()
  1459. Torso2.Name = "Hair"
  1460. Torso2.Parent = Body
  1461. Torso2.Position = UDim2.new(0, 236.5, 0, 90)
  1462. Torso2.Text = "Torso 2"
  1463. Torso2.Size = UDim2.new(0, 57.5, 0, 30)
  1464. Torso2.FontSize = "Size18"
  1465. local Bkit = God:Clone()
  1466. Bkit.Name = "Bkit"
  1467. Bkit.Parent = Body
  1468. Bkit.Position = UDim2.new(0, 164, 0, 130)
  1469. Bkit.Text = "Bkit 0"
  1470. Bkit.Size = UDim2.new(0, 57.5, 0, 30)
  1471. Bkit.FontSize = "Size18"
  1472. local Mouth = God:Clone()
  1473. Mouth.Name = "Mouth"
  1474. Mouth.Parent = Body
  1475. Mouth.Position = UDim2.new(0, 164, 0, 170)
  1476. Mouth.Text = "Mouth 2"
  1477. Mouth.FontSize = "Size18"
  1478. local Eyes = God:Clone()
  1479. Eyes.Name = "Eyes"
  1480. Eyes.Parent = Body
  1481. Eyes.Position = UDim2.new(0, 236, 0, 130)
  1482. Eyes.Text = "Eye 3"
  1483. Eyes.FontSize = "Size18"
  1484. local mask = God:Clone()
  1485. mask.Name = "mask"
  1486. mask.Parent = Body
  1487. mask.Position = UDim2.new(0, 236, 0, 170)
  1488. mask.Text = "Shy"
  1489. mask.FontSize = "Size18"
  1490. mask.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  1491. local Shirtset = God:Clone()
  1492. Shirtset.Name = "Shirtset"
  1493. Shirtset.Parent = Body
  1494. Shirtset.Position = UDim2.new(0, 82.5, 0, 130)
  1495. Shirtset.Text = "Set"
  1496. local Pantsset = God:Clone()
  1497. Pantsset.Name = "Pantsset"
  1498. Pantsset.Parent = Body
  1499. Pantsset.Position = UDim2.new(0, 82.5, 0, 170)
  1500. Pantsset.Text = "Set"
  1501. local Bunny = God:Clone()
  1502. Bunny.Name = "Bunny"
  1503. Bunny.Parent = Body
  1504. Bunny.Position = UDim2.new(0, 318.5, 0, 50)
  1505. Bunny.Text = "Bunny"
  1506. local Noob = God:Clone()
  1507. Noob.Name = "Noob"
  1508. Noob.Parent = Body
  1509. Noob.Position = UDim2.new(0, 318.5, 0, 90)
  1510. Noob.Text = "Noob"
  1511. local Kitty = God:Clone()
  1512. Kitty.Name = "Kitty"
  1513. Kitty.Parent = Body
  1514. Kitty.Position = UDim2.new(0, 318.5, 0, 130)
  1515. Kitty.Text = "Kitty"
  1516. Saypress.MouseButton1Down:connect(function()
  1517.   local ChatService = game:GetService("Chat")
  1518.   ChatService:Chat(char.Head, "" .. Chattext.Text)
  1519. end)
  1520. God.MouseButton1Down:connect(function()
  1521.   BC.HeadColor = BrickColor.new(PlayerName.Text)
  1522.   BC.LeftArmColor = BrickColor.new(PlayerName.Text)
  1523.   BC.LeftLegColor = BrickColor.new(PlayerName.Text)
  1524.   BC.RightArmColor = BrickColor.new(PlayerName.Text)
  1525.   BC.RightLegColor = BrickColor.new(PlayerName.Text)
  1526.   pn3.BrickColor = BrickColor.new(PlayerName.Text)
  1527.   pn4.BrickColor = BrickColor.new(PlayerName.Text)
  1528.   skin.BrickColor = BrickColor.new(PlayerName.Text)
  1529. end)
  1530. KillPlr.MouseButton1Down:connect(function()
  1531.   pn.BrickColor = BrickColor.new(PlayerName.Text)
  1532.   p.BrickColor = BrickColor.new(PlayerName.Text)
  1533.   pn0.BrickColor = BrickColor.new(PlayerName.Text)
  1534.   BC.TorsoColor = BrickColor.new(PlayerName.Text)
  1535.   hat2.BrickColor = BrickColor.new(PlayerName.Text)
  1536.   hat3.BrickColor = BrickColor.new(PlayerName.Text)
  1537.   pn5.BrickColor = BrickColor.new(PlayerName.Text)
  1538.   pn7.BrickColor = BrickColor.new(PlayerName.Text)
  1539.   pn8.BrickColor = BrickColor.new(PlayerName.Text)
  1540.   pn9.BrickColor = BrickColor.new(PlayerName.Text)
  1541.   tail3.BrickColor = BrickColor.new(PlayerName.Text)
  1542. end)
  1543. TpTo.MouseButton1Down:connect(function()
  1544.   if Playing == false and Pressed == false then
  1545.     TpTo.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  1546.     TpTo.Text = "Stop"
  1547.     Pressed = true
  1548.     radio.Transparency = 0
  1549.     GlowParticle.Transparency = NumberSequence.new(0.3, 0.8)
  1550.     GlowParticle2.Transparency = NumberSequence.new(0.3, 0.8)
  1551.     GlowParticle3.Transparency = NumberSequence.new(0.3, 0.8)
  1552.     wait()
  1553.     sound:Play()
  1554.     Playing = true
  1555.   end
  1556.   if Playing == true and Pressed == false then
  1557.     TpTo.BackgroundColor3 = Color3.new(0.5, 1, 0.5)
  1558.     TpTo.Text = "Play"
  1559.     Pressed = true
  1560.     radio.Transparency = 1
  1561.     GlowParticle.Transparency = NumberSequence.new(1)
  1562.     GlowParticle2.Transparency = NumberSequence.new(1)
  1563.     GlowParticle3.Transparency = NumberSequence.new(1)
  1564.     wait()
  1565.     sound:Stop()
  1566.     Playing = false
  1567.   end
  1568.   wait()
  1569.   Pressed = false
  1570. end)
  1571. TpMe.MouseButton1Down:connect(function()
  1572.   if Hat1 == true and Pressed == false then
  1573.     TpMe.Text = "Hat 2"
  1574.     pn0.Transparency = 1
  1575.     hat2.Transparency = 0
  1576.     Pressed = true
  1577.     wait()
  1578.     Hat1 = false
  1579.     Hat2 = true
  1580.   end
  1581.   if Hat2 == true and Pressed == false then
  1582.     TpMe.Text = "Hat 3"
  1583.     hat2.Transparency = 1
  1584.     hat3.Transparency = 0
  1585.     Pressed = true
  1586.     wait()
  1587.     Hat2 = false
  1588.     Hat3 = true
  1589.   end
  1590.   if Hat3 == true and Pressed == false then
  1591.     TpMe.Text = "Hat 0"
  1592.     hat3.Transparency = 1
  1593.     Pressed = true
  1594.     wait()
  1595.     Hat3 = false
  1596.     Hat0 = true
  1597.   end
  1598.   if Hat0 == true and Pressed == false then
  1599.     TpMe.Text = "Hat 1"
  1600.     pn0.Transparency = 0
  1601.     Pressed = true
  1602.     wait()
  1603.     Hat3 = false
  1604.     Hat1 = true
  1605.   end
  1606.   wait()
  1607.   Pressed = false
  1608. end)
  1609. G36K.MouseButton1Down:connect(function()
  1610.   if Anim2 == false and Pressed == false then
  1611.     G36K.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  1612.     Pressed = true
  1613.     wait()
  1614.     Anim2 = true
  1615.   end
  1616.   if Anim2 == true and Pressed == false then
  1617.     G36K.BackgroundColor3 = Color3.new(0.5, 1, 0.5)
  1618.     Pressed = true
  1619.     wait()
  1620.     Anim2 = false
  1621.   end
  1622.   wait()
  1623.   Pressed = false
  1624. end)
  1625. TpMe2.MouseButton1Down:connect(function()
  1626.   if Hair1 == true and Pressed == false then
  1627.     TpMe2.Text = "Hair 2"
  1628.     Hood.Transparency = 1
  1629.     pn6.Transparency = 1
  1630.     hair2.Transparency = 0
  1631.     Pressed = true
  1632.     wait()
  1633.     Hair1 = false
  1634.     Hair2 = true
  1635.   end
  1636.   if Hair2 == true and Pressed == false then
  1637.     TpMe2.Text = "Hair 3"
  1638.     Hood.Transparency = 0
  1639.     pn6.Transparency = 1
  1640.     hair2.Transparency = 1
  1641.     Pressed = true
  1642.     wait()
  1643.     Hair2 = false
  1644.     Hair3 = true
  1645.   end
  1646.   if Hair3 == true and Pressed == false then
  1647.     TpMe2.Text = "Hair 0"
  1648.     Hood.Transparency = 1
  1649.     pn6.Transparency = 1
  1650.     hair2.Transparency = 1
  1651.     Pressed = true
  1652.     wait()
  1653.     Hair3 = false
  1654.     Hair0 = true
  1655.   end
  1656.   if Hair0 == true and Pressed == false then
  1657.     TpMe2.Text = "Hair 1"
  1658.     Hood.Transparency = 0
  1659.     pn6.Transparency = 0
  1660.     hair2.Transparency = 0
  1661.     Pressed = true
  1662.     wait()
  1663.     Hair0 = false
  1664.     Hair1 = true
  1665.   end
  1666.   wait()
  1667.   Pressed = false
  1668. end)
  1669. Haircol.MouseButton1Down:connect(function()
  1670.   hair2.BrickColor = BrickColor.new(PlayerName.Text)
  1671.   Hood.BrickColor = BrickColor.new(PlayerName.Text)
  1672.   pn6.BrickColor = BrickColor.new(PlayerName.Text)
  1673. end)
  1674. Tail.MouseButton1Down:connect(function()
  1675.   if Tail1 == true and Pressed == false then
  1676.     Tail.Text = "Tail 2"
  1677.     pn5.Transparency = 1
  1678.     pn7.Transparency = 1
  1679.     pn8.Transparency = 1
  1680.     pn9.Transparency = 1
  1681.     tail2.Transparency = 0
  1682.     Pressed = true
  1683.     wait()
  1684.     Tail1 = false
  1685.     Tail2 = true
  1686.   end
  1687.   if Tail2 == true and Pressed == false then
  1688.     Tail.Text = "Tail 3"
  1689.     tail2.Transparency = 1
  1690.     tail3.Transparency = 0
  1691.     Pressed = true
  1692.     wait()
  1693.     Tail2 = false
  1694.     Tail3 = true
  1695.   end
  1696.   if Tail3 == true and Pressed == false then
  1697.     Tail.Text = "Tail 0"
  1698.     tail3.Transparency = 1
  1699.     Pressed = true
  1700.     wait()
  1701.     Tail3 = false
  1702.     Tail0 = true
  1703.   end
  1704.   if Tail0 == true and Pressed == false then
  1705.     Tail.Text = "Tail 1"
  1706.     pn5.Transparency = 0
  1707.     pn7.Transparency = 0
  1708.     pn8.Transparency = 0
  1709.     pn9.Transparency = 0
  1710.     Pressed = true
  1711.     wait()
  1712.     Tail0 = false
  1713.     Tail1 = true
  1714.   end
  1715.   wait()
  1716.   Pressed = false
  1717. end)
  1718. Torso2.MouseButton1Down:connect(function()
  1719.   if torso1 == true and Pressed == false then
  1720.     Pressed = true
  1721.     M69.MeshId = "rbxassetid://456901040"
  1722.     M69.Scale = Vector3.new(1, 1, 1)
  1723.     Torso2.Text = "Torso 2"
  1724.     wait()
  1725.     torso1 = false
  1726.     torso2 = true
  1727.   end
  1728.   if torso2 == true and Pressed == false then
  1729.     Pressed = true
  1730.     M69.MeshId = "rbxassetid://48112070"
  1731.     M69.Scale = Vector3.new(1.093, 1, 1)
  1732.     Torso2.Text = "Torso 1"
  1733.     wait()
  1734.     torso1 = true
  1735.     torso2 = false
  1736.   end
  1737.   wait()
  1738.   Pressed = false
  1739. end)
  1740. Bkit.MouseButton1Down:connect(function()
  1741.   if bkit1 == true and Pressed == false then
  1742.     Pressed = true
  1743.     p.Transparency = 0
  1744.     pn.Transparency = 0
  1745.     pn3.Transparency = 1
  1746.     pn4.Transparency = 1
  1747.     skin.Transparency = 1
  1748.     Bkit.Text = "Bkit 2"
  1749.     wait()
  1750.     bkit1 = false
  1751.     bkit2 = true
  1752.   end
  1753.   if bkit2 == true and Pressed == false then
  1754.     Pressed = true
  1755.     p.Transparency = 1
  1756.     pn.Transparency = 1
  1757.     pn3.Transparency = 1
  1758.     pn4.Transparency = 1
  1759.     skin.Transparency = 1
  1760.     Bkit.Text = "Bkit 0"
  1761.     wait()
  1762.     bkit2 = false
  1763.     bkit0 = true
  1764.   end
  1765.   if bkit0 == true and Pressed == false then
  1766.     Pressed = true
  1767.     p.Transparency = 0
  1768.     pn.Transparency = 0
  1769.     pn3.Transparency = 0
  1770.     pn4.Transparency = 0
  1771.     skin.Transparency = 0
  1772.     Bkit.Text = "Bkit 1"
  1773.     wait()
  1774.     bkit0 = false
  1775.     bkit1 = true
  1776.   end
  1777.   wait()
  1778.   Pressed = false
  1779. end)
  1780. Mouth.MouseButton1Down:connect(function()
  1781.   if mouth1 == true and Pressed == false then
  1782.     Mouth.Text = "Mouth 2"
  1783.     newface.Texture = "rbxassetid://186681690"
  1784.     Orbd.Transparency = 1
  1785.     Pressed = true
  1786.     wait()
  1787.     mouth1 = false
  1788.     mouth2 = true
  1789.   end
  1790.   if mouth2 == true and Pressed == false then
  1791.     Mouth.Text = "Mouth 3"
  1792.     newface.Texture = "rbxassetid://322781877"
  1793.     Orbd.Transparency = 1
  1794.     Pressed = true
  1795.     wait()
  1796.     mouth2 = false
  1797.     mouth3 = true
  1798.   end
  1799.   if mouth3 == true and Pressed == false then
  1800.     Mouth.Text = "Mouth 4"
  1801.     newface.Texture = "rbxassetid://186682603"
  1802.     Orbd.Transparency = 1
  1803.     Pressed = true
  1804.     wait()
  1805.     mouth3 = false
  1806.     mouth4 = true
  1807.   end
  1808.   if mouth4 == true and Pressed == false then
  1809.     Mouth.Text = "Mouth 5"
  1810.     newface.Texture = "rbxassetid://133379869"
  1811.     Orbd.Transparency = 1
  1812.     Pressed = true
  1813.     wait()
  1814.     mouth4 = false
  1815.     mouth5 = true
  1816.   end
  1817.   if mouth5 == true and Pressed == false then
  1818.     Mouth.Text = "Mouth 6"
  1819.     newface.Texture = "rbxassetid://186683091"
  1820.     Orbd.Transparency = 1
  1821.     Pressed = true
  1822.     wait()
  1823.     mouth5 = false
  1824.     mouth6 = true
  1825.   end
  1826.   if mouth6 == true and Pressed == false then
  1827.     Mouth.Text = "Mouth 7"
  1828.     newface.Texture = "rbxassetid://186682277"
  1829.     Orbd.Transparency = 1
  1830.     Pressed = true
  1831.     wait()
  1832.     mouth6 = false
  1833.     mouth7 = true
  1834.   end
  1835.   if mouth7 == true and Pressed == false then
  1836.     Mouth.Text = "Mouth 1"
  1837.     newface.Texture = "rbxassetid://"
  1838.     Orbd.Transparency = 0
  1839.     Pressed = true
  1840.     wait()
  1841.     mouth6 = false
  1842.     mouth1 = true
  1843.   end
  1844.   wait()
  1845.   Pressed = false
  1846. end)
  1847. Eyes.MouseButton1Down:connect(function()
  1848.   if eye3 == true and Pressed == false then
  1849.     Pressed = true
  1850.     char.Head.face.Texture = "rbxassetid://176204308"
  1851.     Eyes.Text = "Eye 1"
  1852.     wait()
  1853.     eye3 = false
  1854.     eye1 = true
  1855.   end
  1856.   if eye1 == true and Pressed == false then
  1857.     Pressed = true
  1858.     char.Head.face.Texture = "rbxassetid://176210835"
  1859.     Eyes.Text = "Eye 2"
  1860.     wait()
  1861.     eye1 = false
  1862.     eye2 = true
  1863.   end
  1864.   if eye2 == true and Pressed == false then
  1865.     Pressed = true
  1866.     char.Head.face.Texture = "rbxassetid://176206791"
  1867.     Eyes.Text = "Eye 3"
  1868.     wait()
  1869.     eye2 = false
  1870.     eye3 = true
  1871.   end
  1872.   wait()
  1873.   Pressed = false
  1874. end)
  1875. mask.MouseButton1Down:connect(function()
  1876.   if MaskOn == true and Pressed == false then
  1877.     Mask.Transparency = 1
  1878.     Pressed = true
  1879.     mask.BackgroundColor3 = Color3.new(1, 0.5, 0.5)
  1880.     wait()
  1881.     MaskOn = false
  1882.     MaskOff = true
  1883.   end
  1884.   if MaskOff == true and Pressed == false then
  1885.     Mask.Transparency = 0
  1886.     Pressed = true
  1887.     mask.BackgroundColor3 = Color3.new(0.5, 1, 0.5)
  1888.     wait()
  1889.     MaskOn = true
  1890.     MaskOff = false
  1891.   end
  1892.   wait()
  1893.   Pressed = false
  1894. end)
  1895. Shirtset.MouseButton1Down:connect(function()
  1896.   char049.Shirt.ShirtTemplate = "rbxassetid://" .. ColTex3.Text
  1897. end)
  1898. Pantsset.MouseButton1Down:connect(function()
  1899.   char049.Pants.PantsTemplate = "rbxassetid://" .. ColTex4.Text
  1900. end)
  1901. Close.MouseButton1Down:connect(function()
  1902.   if Body.Visible == true then
  1903.     Body.Visible = false
  1904.     Close.Text = "+"
  1905.     Title.FontSize = "Size24"
  1906.     Pull.Size = UDim2(0, 125, 0, 12.5)
  1907.   elseif Body.Visible == false then
  1908.     Body.Visible = true
  1909.     Close.Text = "X"
  1910.     Title.FontSize = "Size48"
  1911.     Graf_f.Size = UDim2(0, 500, 0, 50)
  1912.   end
  1913. end)
  1914. local mesh = Instance.new("SpecialMesh", radio)
  1915. mesh.MeshId = "http://www.roblox.com/asset/?id=151760030"
  1916. mesh.TextureId = "rbxassetid://151760072"
  1917. mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  1918. ColTex2.Changed:connect(function()
  1919.   sound.SoundId = "rbxassetid://" .. ColTex2.Text
  1920. end)
  1921. while true do
  1922.   if Playing then
  1923.     mesh.Scale = Vector3.new(0.71, 0.71, 0.71)
  1924.     wait(1.0E-6)
  1925.     mesh.Scale = Vector3.new(0.709, 0.709, 0.709)
  1926.     wait(1.0E-6)
  1927.     mesh.Scale = Vector3.new(0.708, 0.708, 0.708)
  1928.     wait(1.0E-6)
  1929.     mesh.Scale = Vector3.new(0.707, 0.707, 0.707)
  1930.     wait(1.0E-6)
  1931.     mesh.Scale = Vector3.new(0.706, 0.706, 0.706)
  1932.     wait(1.0E-6)
  1933.     mesh.Scale = Vector3.new(0.705, 0.705, 0.705)
  1934.     wait(1.0E-6)
  1935.     mesh.Scale = Vector3.new(0.704, 0.704, 0.704)
  1936.     wait(1.0E-6)
  1937.     mesh.Scale = Vector3.new(0.703, 0.703, 0.703)
  1938.     wait(1.0E-6)
  1939.     mesh.Scale = Vector3.new(0.702, 0.702, 0.702)
  1940.     wait(1.0E-6)
  1941.     mesh.Scale = Vector3.new(0.701, 0.701, 0.701)
  1942.     wait(1.0E-6)
  1943.     mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  1944.   end
  1945.   wait(0.2)
  1946. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top