Advertisement
EnderPlayBro

hm...

Jan 19th, 2019
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.27 KB | None | 0 0
  1. -- ------------------------------
  2. -- / \
  3. -- | Edit By EnderPlayBro |
  4. -- | Code By ozzak1003 |
  5. -- | |
  6. -- | Name:Scipt |
  7. -- | . . . |
  8. -- | (dont leak it pls) |
  9. -- \ /
  10. -- ------------------------------
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,game,owner = owner,game
  13. local RealPlayer = Player
  14. do
  15. local rp = RealPlayer
  16. script.Parent = rp.Character
  17.  
  18. --RemoteEvent for communicating
  19. local Event = Instance.new("RemoteEvent")
  20. Event.Name = "UserInput_Event"
  21.  
  22. --Fake event to make stuff like Mouse.KeyDown work
  23. local function fakeEvent()
  24. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  25. t.connect = t.Connect
  26. return t
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  31. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  32. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  33. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  34. end}
  35. --Merged 2 functions into one by checking amount of arguments
  36. CAS.UnbindAction = CAS.BindAction
  37.  
  38. --This function will trigger the events that have been :Connect()'ed
  39. local function te(self,ev,...)
  40. local t = m[ev]
  41. if t and t._fakeEvent then
  42. for _,f in pairs(t.Functions) do
  43. f(...)
  44. end
  45. end
  46. end
  47. m.TrigEvent = te
  48. UIS.TrigEvent = te
  49.  
  50. Event.OnServerEvent:Connect(function(plr,io)
  51. if plr~=rp then return end
  52. m.Target = io.Target
  53. m.Hit = io.Hit
  54. if not io.isMouse then
  55. local b = io.UserInputState == Enum.UserInputState.Begin
  56. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  57. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  58. end
  59. for _,t in pairs(CAS.Actions) do
  60. for _,k in pairs(t.Keys) do
  61. if k==io.KeyCode then
  62. t.Function(t.Name,io.UserInputState,io)
  63. end
  64. end
  65. end
  66. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  67. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  68. end
  69. end)
  70. Event.Parent = NLS([==[
  71. local Player = game:GetService("Players").LocalPlayer
  72. local Event = script:WaitForChild("UserInput_Event")
  73.  
  74. local Mouse = Player:GetMouse()
  75. local UIS = game:GetService("UserInputService")
  76. local input = function(io,a)
  77. if a then return end
  78. --Since InputObject is a client-side instance, we create and pass table instead
  79. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  80. end
  81. UIS.InputBegan:Connect(input)
  82. UIS.InputEnded:Connect(input)
  83.  
  84. local h,t
  85. --Give the server mouse data 30 times every second, but only if the values changed
  86. --If player is not moving their mouse, client won't fire events
  87. while wait(1/30) do
  88. if h~=Mouse.Hit or t~=Mouse.Target then
  89. h,t=Mouse.Hit,Mouse.Target
  90. Event:FireServer({isMouse=true,Target=t,Hit=h})
  91. end
  92. end]==],Player.Character)
  93.  
  94. ----Sandboxed game object that allows the usage of client-side methods and services
  95. --Real game object
  96. local _rg = game
  97.  
  98. --Metatable for fake service
  99. local fsmt = {
  100. __index = function(self,k)
  101. local s = rawget(self,"_RealService")
  102. if s then return s[k] end
  103. end,
  104. __newindex = function(self,k,v)
  105. local s = rawget(self,"_RealService")
  106. if s then s[k]=v end
  107. end,
  108. __call = function(self,...)
  109. local s = rawget(self,"_RealService")
  110. if s then return s(...) end
  111. end
  112. }
  113. local function FakeService(t,RealService)
  114. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  115. return setmetatable(t,fsmt)
  116. end
  117.  
  118. --Fake game object
  119. local g = {
  120. GetService = function(self,s)
  121. return self[s]
  122. end,
  123. Players = FakeService({
  124. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  125. },"Players"),
  126. UserInputService = FakeService(UIS,"UserInputService"),
  127. ContextActionService = FakeService(CAS,"ContextActionService"),
  128. }
  129. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  130. g.service = g.GetService
  131.  
  132. g.RunService = FakeService({
  133. RenderStepped = _rg:GetService("RunService").Heartbeat,
  134. BindToRenderStep = function(self,name,_,fun)
  135. self._btrs[name] = self.Heartbeat:Connect(fun)
  136. end,
  137. UnbindFromRenderStep = function(self,name)
  138. self._btrs[name]:Disconnect()
  139. end,
  140. },"RunService")
  141.  
  142. setmetatable(g,{
  143. __index=function(self,s)
  144. return _rg:GetService(s) or typeof(_rg[s])=="function"
  145. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  146. end,
  147. __newindex = fsmt.__newindex,
  148. __call = fsmt.__call
  149. })
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = g,g.Players.LocalPlayer
  152. end
  153. Player = owner
  154. PlayerGui = Player.PlayerGui
  155. Cam = workspace.CurrentCamera
  156. Backpack = Player.Backpack
  157. Character = Player.Character
  158. Humanoid = Character.Humanoid
  159. Mouse = Player:GetMouse()
  160. RootPart = Character["HumanoidRootPart"]
  161. Torso = Character["Torso"]
  162. Head = Character["Head"]
  163. RightArm = Character["Right Arm"]
  164. LeftArm = Character["Left Arm"]
  165. RightLeg = Character["Right Leg"]
  166. LeftLeg = Character["Left Leg"]
  167. RootJoint = RootPart["RootJoint"]
  168. Neck = Torso["Neck"]
  169. RightShoulder = Torso["Right Shoulder"]
  170. LeftShoulder = Torso["Left Shoulder"]
  171. RightHip = Torso["Right Hip"]
  172. LeftHip = Torso["Left Hip"]
  173.  
  174. Character = Player.Character
  175. Humanoid = Character.Humanoid
  176. plr = game.Players.LocalPlayer
  177. chara = plr.Character
  178. mouse = plr:GetMouse()
  179. Create = Instance.new
  180. Huge = math.huge
  181.  
  182. Player = game:GetService("Players").LocalPlayer
  183. PlayerGui = Player.PlayerGui
  184. Cam = workspace.CurrentCamera
  185. Backpack = Player.Backpack
  186. Character = Player.Character
  187. char = Player.Character
  188. Humanoid = Character.Humanoid
  189. Mouse = Player:GetMouse()
  190. RootPart = Character["HumanoidRootPart"]
  191. Torso = Character["Torso"]
  192. Head = Character["Head"]
  193. RightArm = Character["Right Arm"]
  194. LeftArm = Character["Left Arm"]
  195. RightLeg = Character["Right Leg"]
  196. LeftLeg = Character["Left Leg"]
  197. RootJoint = RootPart["RootJoint"]
  198. Neck = Torso["Neck"]
  199. RightShoulder = Torso["Right Shoulder"]
  200. LeftShoulder = Torso["Left Shoulder"]
  201. RightHip = Torso["Right Hip"]
  202. LeftHip = Torso["Left Hip"]
  203.  
  204. local Orin = "http://www.roblox.com/asset/?id=7074786"
  205. Head.face.Texture = Orin
  206. function weld(a, b, acf)
  207. local w = Instance.new("Weld", a)
  208. w.Part0 = a
  209. w.Part1 = b
  210. w.C0 = acf
  211. end
  212.  
  213. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1528105298"
  214. local plr = game:service'Players'.LocalPlayer
  215. print('Local User is '..plr.Name)
  216. print('SCRIPTNAME Loaded')
  217. print('SCRIPT DESCRIPTION')
  218. local char = plr.Character
  219. local hum = char.Humanoid
  220. local hed = char.Head
  221. local root = char.HumanoidRootPart
  222. local rootj = root.RootJoint
  223. local tors = char.Torso
  224. local ra = char["Right Arm"]
  225. local la = char["Left Arm"]
  226. local rl = char["Right Leg"]
  227. local ll = char["Left Leg"]
  228. local neck = tors["Neck"]
  229. local mouse = plr:GetMouse()
  230. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  231. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  232. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  233. local maincolor = BrickColor.new("Bright purple")
  234. cam = game.Workspace.CurrentCamera
  235. CF = CFrame.new
  236. angles = CFrame.Angles
  237. attack = false
  238. Euler = CFrame.fromEulerAnglesXYZ
  239. Rad = math.rad
  240. IT = Instance.new
  241. BrickC = BrickColor.new
  242. Cos = math.cos
  243. Acos = math.acos
  244. Sin = math.sin
  245. Asin = math.asin
  246. Abs = math.abs
  247. Mrandom = math.random
  248. Floor = math.floor
  249. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  250. RSH, LSH = nil, nil
  251. RW = Instance.new("Weld")
  252. LW = Instance.new("Weld")
  253. RH = tors["Right Hip"]
  254. LH = tors["Left Hip"]
  255. RSH = tors["Right Shoulder"]
  256. LSH = tors["Left Shoulder"]
  257. RSH.Parent = nil
  258. LSH.Parent = nil
  259. RW.Name = "RW"
  260. RW.Part0 = tors
  261. RW.C0 = CF(1.5, 0.5, 0)
  262. RW.C1 = CF(0, 0.5, 0)
  263. RW.Part1 = ra
  264. RW.Parent = tors
  265. LW.Name = "LW"
  266. LW.Part0 = tors
  267. LW.C0 = CF(-1.5, 0.5, 0)
  268. LW.C1 = CF(0, 0.5, 0)
  269. LW.Part1 = la
  270. LW.Parent = tors
  271. Effects = {}
  272.  
  273. local Player_Size = 1
  274. if Player_Size ~= 1 then
  275. root.Size = root.Size * Player_Size
  276. tors.Size = tors.Size * Player_Size
  277. hed.Size = hed.Size * Player_Size
  278. ra.Size = ra.Size * Player_Size
  279. la.Size = la.Size * Player_Size
  280. rl.Size = rl.Size * Player_Size
  281. ll.Size = ll.Size * Player_Size
  282. ----------------------------------------------------------------------------------
  283. rootj.Parent = root
  284. neck.Parent = tors
  285. RW.Parent = tors
  286. LW.Parent = tors
  287. RH.Parent = tors
  288. LH.Parent = tors
  289. ----------------------------------------------------------------------------------
  290. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  291. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  292. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  293. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  294. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  295. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  296. ----------------------------------------------------------------------------------
  297. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  298. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  299. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  300. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  301. --hat.Parent = Character
  302. end
  303. ----------------------------------------------------------------------------------
  304. function swait(num)
  305. if num == 0 or num == nil then
  306. game:service("RunService").Stepped:wait(0)
  307. else
  308. for i = 0, num do
  309. game:service("RunService").Stepped:wait(0)
  310. end
  311. end
  312. end
  313. ----------------------------------------------------------------------------------
  314. local equipped = false
  315. local idle = 0
  316. local change = 1
  317. local val = 0
  318. local toim = 0
  319. local idleanim = 0.4
  320. local sine = 0
  321. local Sit = 1
  322. ----------------------------------------------------------------------------------
  323. hum.WalkSpeed = 8
  324. hum.JumpPower = 57
  325. hum.Animator.Parent = nil
  326. ----------------------------------------------------------------------------------
  327. function QuaternionFromCFrame(cf)
  328. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  329. local trace = m00 + m11 + m22
  330. if trace > 0 then
  331. local s = math.sqrt(1 + trace)
  332. local recip = 0.5 / s
  333. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  334. else
  335. local i = 0
  336. if m00 < m11 then
  337. i = 1
  338. end
  339. if m22 > (i == 0 and m00 or m11) then
  340. i = 2
  341. end
  342. if i == 0 then
  343. local s = math.sqrt(m00 - m11 - m22 + 1)
  344. local recip = 0.5 / s
  345. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  346. elseif i == 1 then
  347. local s = math.sqrt(m11 - m22 - m00 + 1)
  348. local recip = 0.5 / s
  349. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  350. elseif i == 2 then
  351. local s = math.sqrt(m22 - m00 - m11 + 1)
  352. local recip = 0.5 / s
  353. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  354. end
  355. end
  356. end
  357. function QuaternionSlerp(a, b, t)
  358. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  359. local startInterp, finishInterp
  360. if cosTheta >= 1.0E-4 then
  361. if 1 - cosTheta > 1.0E-4 then
  362. local theta = math.acos(cosTheta)
  363. local invSinTheta = 1 / Sin(theta)
  364. startInterp = Sin((1 - t) * theta) * invSinTheta
  365. finishInterp = Sin(t * theta) * invSinTheta
  366. else
  367. startInterp = 1 - t
  368. finishInterp = t
  369. end
  370. elseif 1 + cosTheta > 1.0E-4 then
  371. local theta = math.acos(-cosTheta)
  372. local invSinTheta = 1 / Sin(theta)
  373. startInterp = Sin((t - 1) * theta) * invSinTheta
  374. finishInterp = Sin(t * theta) * invSinTheta
  375. else
  376. startInterp = t - 1
  377. finishInterp = t
  378. end
  379. 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
  380. end
  381. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  382. local xs, ys, zs = x + x, y + y, z + z
  383. local wx, wy, wz = w * xs, w * ys, w * zs
  384. local xx = x * xs
  385. local xy = x * ys
  386. local xz = x * zs
  387. local yy = y * ys
  388. local yz = y * zs
  389. local zz = z * zs
  390. 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))
  391. end
  392. function clerp(a, b, t)
  393. local qa = {
  394. QuaternionFromCFrame(a)
  395. }
  396. local qb = {
  397. QuaternionFromCFrame(b)
  398. }
  399. local ax, ay, az = a.x, a.y, a.z
  400. local bx, by, bz = b.x, b.y, b.z
  401. local _t = 1 - t
  402. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  403. end
  404.  
  405. local bigboi = Instance.new("Sound",tors)
  406. bigboi.SoundId = "rbxassetid://1239136800"
  407. bigboi.Volume = 2.5
  408. bigboi.Looped = true
  409. bigboi.Pitch = 1
  410. bigboi:Play()
  411.  
  412. local no = Instance.new("Sound",tors)
  413. no.SoundId = "rbxassetid://1058417264"
  414. no.Volume = 2.5
  415. no.Looped = true
  416. no.Pitch = 1
  417.  
  418. local WTF = Instance.new("Sound",tors)
  419. WTF.SoundId = "rbxassetid://577475178"
  420. WTF.Volume = 2.5
  421. WTF.Looped = true
  422. WTF.Pitch = 1
  423.  
  424. local so = Instance.new("Sound",tors)
  425. so.SoundId = "rbxassetid://2234593108"
  426. so.Volume = 2.5
  427. so.Looped = true
  428. so.Pitch = 1
  429.  
  430. local Sad = Instance.new("Sound",tors)
  431. Sad.SoundId = "rbxassetid://1377975660"
  432. Sad.Volume = 2.5
  433. Sad.Looped = true
  434. Sad.Pitch = 1
  435.  
  436. hum.WalkSpeed = 0
  437. for i = 0,20, 0.1 do
  438. swait()
  439. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  440. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  441. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  442. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  443. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  444. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  445. end
  446. wait(10)
  447. for i = 0,3,0.1 do
  448. char.Head.face.Texture = "http://www.roblox.com/asset/?id=121995488"
  449. bigboi:Stop()
  450. no:Play()
  451. swait()
  452. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  453. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  454. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  455. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  456. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  457. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  458. end
  459. wait(0.5)
  460. for i = 0,1.2,0.1 do
  461. swait()
  462. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  463. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  464. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  465. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  466. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  467. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  468. end
  469. wait(0.8)
  470. for i = 0,18,0.1 do
  471. char.Head.face.Texture = "http://www.roblox.com/asset/?id=318150821"
  472. no:Stop()
  473. WTF:Play()
  474. swait()
  475. rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15)
  476. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  477. RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  478. LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15)
  479. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1)
  480. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1)
  481. end
  482. wait(2)
  483. for i = 0,6,0.1 do
  484. so:Play()
  485. WTF:Stop()
  486. swait()
  487. rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  488. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  489. RH.C0=clerp(RH.C0,CF(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  490. LH.C0=clerp(LH.C0,CF(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  491. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  492. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  493. end
  494. wait(1.5)
  495. for i = 0,6,0.1 do
  496. so:Stop()
  497. Sad:Play()
  498. swait()
  499. rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  500. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  501. RH.C0=clerp(RH.C0,CF(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  502. LH.C0=clerp(LH.C0,CF(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  503. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  504. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  505. end
  506.  
  507. --its end what happen now XD--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement