Advertisement
HenloMyDude

skid switcher omg!!!!! (wip)

Jan 16th, 2020
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.19 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer warn'youngmacka123s script switcher. had fun doing the challenge that gave me this idea.'
  6.  
  7. Player = Player
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26.  
  27. local plr = game:service'Players'.LocalPlayer
  28. local char = plr.Character
  29. local hum = char.Humanoid
  30. local hed = char.Head
  31. local root = char.HumanoidRootPart
  32. local rootj = root.RootJoint
  33. local tors = char.Torso
  34. local ra = char["Right Arm"]
  35. local la = char["Left Arm"]
  36. local rl = char["Right Leg"]
  37. local ll = char["Left Leg"]
  38. local neck = tors["Neck"]
  39. local mouse = plr:GetMouse()
  40. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  41. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  42. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  43. local maincolor = BrickColor.new("Institutional white")
  44.  
  45. cam = game.Workspace.CurrentCamera
  46. CF = CFrame.new
  47. angles = CFrame.Angles
  48. attack = false
  49. Euler = CFrame.fromEulerAnglesXYZ
  50. Rad = math.rad
  51. IT = Instance.new
  52. BrickC = BrickColor.new
  53. Cos = math.cos
  54. Acos = math.acos
  55. Sin = math.sin
  56. Asin = math.asin
  57. Abs = math.abs
  58. Mrandom = math.random
  59. Floor = math.floor
  60. IT = Instance.new
  61. CF = CFrame.new
  62. VT = Vector3.new
  63. RAD = math.rad
  64. C3 = Color3.new
  65. UD2 = UDim2.new
  66. BRICKC = BrickColor.new
  67. ANGLES = CFrame.Angles
  68. EULER = CFrame.fromEulerAnglesXYZ
  69. COS = math.cos
  70. ACOS = math.acos
  71. SIN = math.sin
  72. ASIN = math.asin
  73. ABS = math.abs
  74. MRANDOM = math.random
  75. FLOOR = math.floor
  76.  
  77. --models for modes--
  78.  
  79. local nah1 = Instance.new("Model", char)
  80. nah1.Name = "ozzakbiggaywoo"
  81. local makvil = Instance.new("Model", nil)
  82. makvil.Name = "xanderyouwasntokwhenmakingthis"
  83. local LostHope = IT("Model", nil)
  84. LostHope.Name = "Adds"
  85.  
  86. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  87. local NEWWELD = IT(TYPE)
  88. NEWWELD.Part0 = PART0
  89. NEWWELD.Part1 = PART1
  90. NEWWELD.C0 = C0
  91. NEWWELD.C1 = C1
  92. NEWWELD.Parent = PARENT
  93. return NEWWELD
  94. end
  95.  
  96. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  97. local NEWMESH = IT(MESH)
  98. if MESH == "SpecialMesh" then
  99. NEWMESH.MeshType = MESHTYPE
  100. if MESHID ~= "nil" and MESHID ~= "" then
  101. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  102. end
  103. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  104. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  105. end
  106. end
  107. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  108. NEWMESH.Scale = SCALE
  109. NEWMESH.Parent = PARENT
  110. return NEWMESH
  111. end
  112.  
  113. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  114. local NEWPART = IT("Part")
  115. NEWPART.formFactor = FORMFACTOR
  116. NEWPART.Reflectance = REFLECTANCE
  117. NEWPART.Transparency = TRANSPARENCY
  118. NEWPART.CanCollide = false
  119. NEWPART.Locked = true
  120. NEWPART.Anchored = true
  121. if ANCHOR == false then
  122. NEWPART.Anchored = false
  123. end
  124. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  125. NEWPART.Name = NAME
  126. NEWPART.Size = SIZE
  127. NEWPART.Position = Torso.Position
  128. NEWPART.Material = MATERIAL
  129. NEWPART:BreakJoints()
  130. NEWPART.Parent = PARENT
  131. return NEWPART
  132. end
  133.  
  134. local SIZE = 1.4
  135.  
  136. local PRT = CreatePart(3, LostHope, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  137. PRT.Color = C3(0,0,0)
  138. CreateWeldOrSnapOrMotor("Weld", LostHope, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  139. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  140. local PRT = CreatePart(3, LostHope, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  141. PRT.Color = C3(1,1,1)
  142. CreateWeldOrSnapOrMotor("Weld", LostHope, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  143. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  144.  
  145. local LASTPART = Head
  146. for i = 1, 24 do
  147. local MATH = (1-(i/30))
  148. if LASTPART == Head then
  149. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  150. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  151. LASTPART = Horn
  152. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  153. else
  154. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  155. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  156. LASTPART = Horn
  157. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  158. end
  159. end
  160. local LASTPART = Head
  161. for i = 1, 24 do
  162. local MATH = (1-(i/30))
  163. if LASTPART == Head then
  164. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  165. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(-0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  166. LASTPART = Horn
  167. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  168. else
  169. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  170. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  171. LASTPART = Horn
  172. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  173. end
  174. end
  175. local LASTPART = Head
  176. for i = 1, 8 do
  177. local MATH = (1-(i/14))
  178. if LASTPART == Head then
  179. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  180. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  181. LASTPART = Horn
  182. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  183. else
  184. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  185. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  186. LASTPART = Horn
  187. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  188. end
  189. end
  190. local LASTPART = Head
  191. for i = 1, 8 do
  192. local MATH = (1-(i/14))
  193. if LASTPART == Head then
  194. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  195. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(-0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  196. LASTPART = Horn
  197. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  198. else
  199. local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  200. CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  201. LASTPART = Horn
  202. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
  203. end
  204. end
  205.  
  206. for _, b in pairs(LostHope:GetChildren()) do
  207. if b.ClassName == "Part" then
  208. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  209. end
  210. end
  211.  
  212. --------------------
  213.  
  214. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  215. RW = Instance.new("Weld")
  216. LW = Instance.new("Weld")
  217. rootjnor2 = rootj.C1
  218. RH = tors["Right Hip"]
  219. LH = tors["Left Hip"]
  220. RHnor2 = RH.C1
  221. LHnor2 = LH.C1
  222. RSH = tors["Right Shoulder"]
  223. LSH = tors["Left Shoulder"]
  224. RSH.Parent = nil
  225. LSH.Parent = nil
  226. RW.Name = "RW"
  227. RW.Part0 = tors
  228. RW.C0 = CF(1.5, 0.5, 0)
  229. RW.C1 = CF(0, 0.5, 0)
  230. RW.Part1 = ra
  231. RW.Parent = tors
  232. LW.Name = "LW"
  233. LW.Part0 = tors
  234. LW.C0 = CF(-1.5, 0.5, 0)
  235. LW.C1 = CF(0, 0.5, 0)
  236. LW.Part1 = la
  237. LW.Parent = tors
  238. Effects = {}
  239.  
  240. ArtificialHB = Instance.new("BindableEvent", script)
  241. ArtificialHB.Name = "Heartbeat"
  242. script:WaitForChild("Heartbeat")
  243.  
  244. frame = 1 / 60
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248.  
  249. hed.face.Texture = "http://www.roblox.com/asset/?id=946610608"
  250. for i,v in pairs(char:children()) do
  251. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  252. v:Remove()
  253. end
  254. end
  255. shirt = Instance.new("Shirt", char)
  256. shirt.Name = "Shirt"
  257. pants = Instance.new("Pants", char)
  258. pants.Name = "Pants"
  259. char.Shirt.ShirtTemplate = "rbxassetid://676428254"
  260. char.Pants.PantsTemplate = "rbxassetid://676428351"
  261. local Hair2 = Instance.new("Part", nah1)
  262. Hair2.Name = "Hair2"
  263. Hair2.CanCollide = false
  264. Hair2.BrickColor = BrickColor.new("CGA brown")
  265. Hair2.Transparency = 0
  266. Hair2.Material = "Plastic"
  267. Hair2.Size = Vector3.new(1, 1, 2)
  268. Hair2.TopSurface = Enum.SurfaceType.Smooth
  269. Hair2.BottomSurface = Enum.SurfaceType.Smooth
  270.  
  271. MODETHO = "nahid1"
  272.  
  273. lastframe = tick()
  274. script.Heartbeat:Fire()
  275.  
  276. game:GetService("RunService").Heartbeat:connect(function(s, p)
  277. tf = tf + s
  278. if tf >= frame then
  279. if allowframeloss then
  280. script.Heartbeat:Fire()
  281. lastframe = tick()
  282. else
  283. for i = 1, math.floor(tf / frame) do
  284. script.Heartbeat:Fire()
  285. end
  286. lastframe = tick()
  287. end
  288. if tossremainder then
  289. tf = 0
  290. else
  291. tf = tf - frame * math.floor(tf / frame)
  292. end
  293. end
  294. end)
  295.  
  296. function swait(num)
  297. if num == 0 or num == nil then
  298. game:service("RunService").Stepped:wait(0)
  299. else
  300. for i = 0, num do
  301. game:service("RunService").Stepped:wait(0)
  302. end
  303. end
  304. end
  305.  
  306. function thread(f)
  307. coroutine.resume(coroutine.create(f))
  308. end
  309.  
  310. function clerp(a, b, t)
  311. return a:lerp(b, t)
  312. end
  313.  
  314. function rayCast(Position, Direction, Range, Ignore)
  315. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  316. end
  317. local RbxUtility = LoadLibrary("RbxUtility")
  318. local Create = RbxUtility.Create
  319.  
  320. Player_Size = 1
  321. equipped = true
  322.  
  323. local AddInstance = function(Object, ...)
  324. local Obj = Instance.new(Object)
  325. for i,v in next,(...) do
  326. Obj[i] = v
  327. end
  328. return Obj
  329. end
  330. ----------------------------------------------------
  331. local Reaper = AddInstance("Part",{
  332. Parent = nah1,
  333. CFrame = hed.CFrame,
  334. formFactor = "Symmetric",
  335. Size = Vector3.new(1, 1, 1),
  336. CanCollide = false,
  337. TopSurface = "Smooth",
  338. BottomSurface = "Smooth",
  339. Locked = true,
  340. })
  341. local Weld = AddInstance("Weld",{
  342. Parent = Reaper,
  343. Part0 = hed,
  344. C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0),
  345. Part1 = Reaper,
  346. })
  347. local Mesh = AddInstance("SpecialMesh",{
  348. Parent = Reaper,
  349. MeshId = "rbxassetid://83499032",
  350. TextureId = "rbxassetid://184744284",
  351. Scale = Vector3.new(1.1, 1.1, 1.1),
  352. VertexColor = Vector3.new(0.3, 0.3, 0.3),
  353. })
  354. -------------------------------------------------------
  355. wait()
  356. plr = game.Players.LocalPlayer
  357. char = plr.Character
  358. mouse = plr:GetMouse()
  359. whitecolor = Color3.new(1,1,1)
  360. epicmode = false
  361. normal = true
  362. for i,v in pairs(char:GetChildren()) do
  363. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  364. v:Destroy()
  365. end
  366. end
  367. local shirt = Instance.new("Shirt",char)
  368. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=676428254"
  369. local pants = Instance.new("Pants",char)
  370. pants.PantsTemplate = "http://www.roblox.com/asset/?id=676428351"
  371. local bdycolors = char["Body Colors"]
  372. bdycolors.HeadColor3 = whitecolor
  373. bdycolors.LeftArmColor3 = whitecolor
  374. bdycolors.LeftLegColor3 = whitecolor
  375. bdycolors.RightArmColor3 = whitecolor
  376. bdycolors.RightLegColor3 = whitecolor
  377. bdycolors.TorsoColor3 = whitecolor
  378. for i,v in pairs(char:GetChildren()) do
  379. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  380. v:Destroy()
  381. end
  382. end
  383.  
  384. local naeeym2 = Instance.new("BillboardGui",char)
  385. naeeym2.AlwaysOnTop = true
  386. naeeym2.Size = UDim2.new(5,35,2,35)
  387. naeeym2.StudsOffset = Vector3.new(0,1,0)
  388. naeeym2.Adornee = hed
  389. naeeym2.Name = "Name"
  390. local tecks2 = Instance.new("TextLabel",naeeym2)
  391. tecks2.BackgroundTransparency = 1
  392. tecks2.TextScaled = true
  393. tecks2.BorderSizePixel = 0
  394. tecks2.Font = "Garamond"
  395. tecks2.TextSize = 30
  396. tecks2.TextStrokeTransparency = 0
  397. tecks2.TextColor3 = BrickColor.new('Really black').Color
  398. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  399. tecks2.Size = UDim2.new(1,0,0.5,0)
  400. tecks2.Parent = naeeym2
  401. textfag = tecks2
  402. tecks2.Text = "nahid Chara"
  403. coroutine.resume(coroutine.create(function()
  404. while textfag ~= nil do
  405. swait()
  406. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  407. textfag.Rotation = math.random(-3,3)
  408. end
  409. end))
  410. sine = 0
  411. change = 1
  412. idle = 0
  413. local animator = Humanoid.Animator
  414. animator.Parent = nil
  415.  
  416. BTAUNT = Instance.new("Sound", tors)
  417. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=717045615"
  418. BTAUNT.Volume = 4
  419. BTAUNT.Pitch = 1
  420. BTAUNT.Looped = true
  421. BTAUNT.TimePosition = 0.2
  422.  
  423. function nah1mode()
  424. MODETHO = "nahid1"
  425. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=717045615"
  426. BTAUNT.Volume = 4
  427. BTAUNT.Pitch = 1
  428. BTAUNT.Looped = true
  429. BTAUNT.TimePosition = 0.2
  430. RW.Parent = tors
  431. LW.Parent = tors
  432. RSH.Parent = nil
  433. LSH.Parent = nil
  434. Player_Size = 1
  435. root.Size = Vector3.new(2, 2, 1)
  436. tors.Size = Vector3.new(2, 2, 1)
  437. ra.Size = Vector3.new(1, 2, 1)
  438. la.Size = Vector3.new(1, 2, 1)
  439. rl.Size = Vector3.new(1, 2, 1)
  440. ll.Size = Vector3.new(1, 2, 1)
  441. hed.Size = Vector3.new(2, 1, 1)
  442. tecks2.BackgroundTransparency = 1
  443. tecks2.TextScaled = true
  444. tecks2.BorderSizePixel = 0
  445. tecks2.Font = "Garamond"
  446. tecks2.TextSize = 30
  447. tecks2.TextStrokeTransparency = 0
  448. tecks2.TextColor3 = BrickColor.new('Really black').Color
  449. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  450. tecks2.Size = UDim2.new(1,0,0.5,0)
  451. tecks2.Parent = naeeym2
  452. textfag = tecks2
  453. animator.Parent = nil
  454. tecks2.Text = "nahid Chara"
  455. LostHope.Parent = nil
  456. nah1.Parent = char
  457. makvil.Parent = nil
  458. hed.face.Texture = "http://www.roblox.com/asset/?id=946610608"
  459. for i,v in pairs(char:GetChildren()) do
  460. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  461. v:Destroy()
  462. end
  463. end
  464. local shirt = Instance.new("Shirt",char)
  465. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=676428254"
  466. local pants = Instance.new("Pants",char)
  467. pants.PantsTemplate = "http://www.roblox.com/asset/?id=676428351"
  468. local bdycolors = char["Body Colors"]
  469. bdycolors.HeadColor3 = whitecolor
  470. bdycolors.LeftArmColor3 = whitecolor
  471. bdycolors.LeftLegColor3 = whitecolor
  472. bdycolors.RightArmColor3 = whitecolor
  473. bdycolors.RightLegColor3 = whitecolor
  474. bdycolors.TorsoColor3 = whitecolor
  475. RW.Parent = char
  476. LW.Parent = char
  477. end
  478.  
  479. ----------------------------------------------------------------------------------
  480. local AddInstance = function(Object, ...)
  481. local Obj = Instance.new(Object)
  482. for i,v in next,(...) do
  483. Obj[i] = v
  484. end
  485. return Obj
  486. end
  487. ----------------------------------------------------
  488. local Reaper = AddInstance("Part",{
  489. Parent = makvil,
  490. CFrame = hed.CFrame,
  491. formFactor = "Symmetric",
  492. Size = Vector3.new(1, 1, 1),
  493. CanCollide = false,
  494. TopSurface = "Smooth",
  495. BottomSurface = "Smooth",
  496. Locked = true,
  497. })
  498. local Weld = AddInstance("Weld",{
  499. Parent = Reaper,
  500. Part0 = hed,
  501. C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0),
  502. Part1 = Reaper,
  503. })
  504. local Mesh = AddInstance("SpecialMesh",{
  505. Parent = Reaper,
  506. MeshId = "rbxassetid://1241662062",
  507. TextureId = "rbxassetid://241553801",
  508. Scale = Vector3.new(1.05,1.05,1.05),
  509. VertexColor = Vector3.new(0.3, 0, 0.3),
  510. })
  511. -------------------------------------------------------
  512.  
  513.  
  514. function makjmode()
  515. MODETHO = "makvil"
  516. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2533880583"
  517. BTAUNT.Volume = 4
  518. BTAUNT.Pitch = 1
  519. BTAUNT.Looped = true
  520. BTAUNT.TimePosition = 20.7
  521. RW.Parent = tors
  522. LW.Parent = tors
  523. RSH.Parent = nil
  524. LSH.Parent = nil
  525. Player_Size = 1
  526. root.Size = Vector3.new(2, 2, 1)
  527. tors.Size = Vector3.new(2, 2, 1)
  528. ra.Size = Vector3.new(1, 2, 1)
  529. la.Size = Vector3.new(1, 2, 1)
  530. rl.Size = Vector3.new(1, 2, 1)
  531. ll.Size = Vector3.new(1, 2, 1)
  532. hed.Size = Vector3.new(2, 1, 1)
  533. tecks2.BackgroundTransparency = 1
  534. tecks2.TextScaled = true
  535. tecks2.BorderSizePixel = 0
  536. tecks2.Text = "Darkness"
  537. tecks2.Font = "Fantasy"
  538. tecks2.TextSize = 30
  539. tecks2.TextStrokeTransparency = 0
  540. tecks2.TextColor3 = BrickColor.new('Really black').Color
  541. tecks2.TextStrokeColor3 = BrickColor.new('Blue storm').Color
  542. tecks2.Size = UDim2.new(1,0,0.5,0)
  543. tecks2.Parent = naeeym2
  544. textfag = tecks2
  545. animator.Parent = nil
  546. tecks2.Text = "J҉ E҉ V҉ I҉ L҉"
  547. LostHope.Parent = nil
  548. nah1.Parent = nil
  549. makvil.Parent = char
  550. hed.face.Texture = "rbxassetid://241553801"
  551. for i,v in pairs(char:GetChildren()) do
  552. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  553. v:Destroy()
  554. end
  555. end
  556. local BC = Character["Body Colors"]
  557. BC.HeadColor = BrickColor.new("Steel blue")
  558. BC.LeftArmColor = BrickColor.new("Steel blue")
  559. BC.LeftLegColor = BrickColor.new("Steel blue")
  560. BC.RightArmColor = BrickColor.new("Steel blue")
  561. BC.RightLegColor = BrickColor.new("Steel blue")
  562. BC.TorsoColor = BrickColor.new("Steel blue")
  563. local shirt = Instance.new("Shirt",char)
  564. shirt.ShirtTemplate = "rbxassetid://2544612637"
  565. local pants = Instance.new("Pants",char)
  566. pants.PantsTemplate = "rbxassetid://2544611861"
  567. RW.Parent = char
  568. LW.Parent = char
  569. end
  570.  
  571. local SIZE = 1.4
  572. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  573. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  574. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  575. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  576.  
  577. function pandoram()
  578. MODETHO = "pandora"
  579. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1382488262"
  580. BTAUNT.Volume = 4
  581. BTAUNT.Pitch = 1
  582. BTAUNT.Looped = true
  583. BTAUNT.TimePosition = 0.2
  584. tecks2.FontSize = "Size24"
  585. tecks2.TextScaled = true
  586. tecks2.TextTransparency = 0
  587. tecks2.BackgroundTransparency = 1
  588. tecks2.TextTransparency = 0
  589. tecks2.TextStrokeTransparency = 0
  590. tecks2.Font = "Bodoni"
  591. tecks2.Text = "Pandora"
  592. tecks2.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
  593. Player_Size = 1.4
  594. RW.Parent = nil
  595. LW.Parent = nil
  596. RSH.Parent = tors
  597. LSH.Parent = tors
  598. local SIZE = 1.4
  599. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  600. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  601. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  602. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  603. RootPart.Size = RootPart.Size*SIZE
  604. Torso.Size = Torso.Size*SIZE
  605. RightArm.Size = RightArm.Size*SIZE
  606. RightLeg.Size = RightLeg.Size*SIZE
  607. LeftArm.Size = LeftArm.Size*SIZE
  608. LeftLeg.Size = LeftLeg.Size*SIZE
  609. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  610. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  611. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  612. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  613. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  614. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  615. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  616. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  617. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  618. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  619. Head.Size = Head.Size*SIZE
  620. LostHope.Parent = char
  621. nah1.Parent = nil
  622. makvil.Parent = nil
  623. hed.face.Texture = ""
  624. for i,v in pairs(char:GetChildren()) do
  625. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  626. v:Destroy()
  627. end
  628. end
  629. local BC = Character["Body Colors"]
  630. BC.HeadColor = BrickColor.new("Institutional white")
  631. BC.LeftArmColor = BrickColor.new("Really black")
  632. BC.LeftLegColor = BrickColor.new("Really black")
  633. BC.RightArmColor = BrickColor.new("Really black")
  634. BC.RightLegColor = BrickColor.new("Really black")
  635. BC.TorsoColor = BrickColor.new("Really black")
  636. local shirt = Instance.new("Shirt",char)
  637. shirt.ShirtTemplate = "rbxassetid://1533635803"
  638. local pants = Instance.new("Pants",char)
  639. pants.PantsTemplate = "rbxassetid://1460022985"
  640. end
  641.  
  642. mouse = owner:GetMouse()
  643. mouse.KeyDown:connect(function(key)
  644. if key == "q" then
  645. nah1mode()
  646. elseif key == "e" then
  647. makjmode()
  648. elseif key == "r" then
  649. pandoram()
  650. end
  651. end)
  652.  
  653. function Clerp(a, b, t)
  654. return a:lerp(b, t)
  655. end
  656.  
  657. SINE = 0
  658. Animation_Speed = 3
  659. necknor2 = neck.C1
  660.  
  661. BTAUNT:Play()
  662.  
  663. while true do
  664. swait()
  665. BTAUNT:Resume()
  666. SINE = SINE + 2 / Animation_Speed * 1.5
  667. sine = sine + change
  668. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  669. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  670. local velderp = root.Velocity.y
  671. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  672. if MODETHO ~= "pandora" then
  673. RH.C1 = Clerp(RH.C1, RHnor2, 0.3)
  674. LH.C1 = Clerp(LH.C1, LHnor2, 0.3)
  675. rootj.C1 = Clerp(rootj.C1, rootjnor2, 0.3)
  676. neck.C1 = Clerp(neck.C1, necknor2, 0.3)
  677. end
  678. if equipped == true or equipped == false then
  679. if attack == false then
  680. idle = idle + 1
  681. else
  682. idle = 0
  683. end
  684. if 1 < root.Velocity.y and hitfloor == nil then
  685. Anim = "Jump"
  686. if attack == false and MODETHO == "nahid1" then
  687. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  688. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  689. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  690. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  691. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  692. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  693. end
  694. elseif -1 > root.Velocity.y and hitfloor == nil then
  695. Anim = "Fall"
  696. if attack == false and MODETHO == "nahid1" then
  697. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  698. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  699. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  700. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  701. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  702. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  703. end
  704. elseif torvel < 1 and hitfloor ~= nil then
  705. Anim = "Idle"
  706. change = 1
  707. if attack == false and MODETHO == "nahid1" then
  708. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  709. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
  710. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  711. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  712. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  713. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
  714. end
  715. if attack == false and MODETHO == "makvil" then
  716. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  717. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  718. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  719. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  720. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  721. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  722. end
  723. if attack == false and MODETHO == "pandora" then
  724. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  725. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  726. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  727. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  728. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  729. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  730. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05*SIZE * COS(SINE / 12), 0*SIZE, 0*SIZE + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  731. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.05*SIZE) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  732. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  733. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  734. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  735. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  736. end
  737. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  738. Anim = "Walk"
  739. change = 1
  740. if attack == false and MODETHO == "nahid1" then
  741. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  742. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  743. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  744. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  745. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  746. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  747. end
  748. if attack == false and MODETHO == "makvil" then
  749. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
  750. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  751. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
  752. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
  753. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  754. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  755. end
  756. if attack == false and MODETHO == "pandora" then
  757. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  758. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  759. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  760. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  761. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  762. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  763. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  764. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  765. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  767. end
  768. elseif torvel >= 25 and hitfloor ~= nil then
  769. Anim = "Sprint"
  770. change = 1.35
  771. if attack == false and MODETHO == "nahid1" then
  772. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  773. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  774. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  775. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  776. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  777. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  778. end
  779. end
  780. end
  781. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement