SHARE
TWEET

furry gui fe ver for lols

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