Advertisement
HenloMyDude

nub man do be thing

Jun 25th, 2020
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.80 KB | None | 0 0
  1.  
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"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("E")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 end;if owner:IsFriendsWith(204448429) or owner.UserId == 204448429 then else print'bru' while wait() do error'stuP' end end
  5.  
  6. plr = owner
  7. char = plr.Character
  8. ra = char["Right Arm"]
  9. la = char["Left Arm"]
  10. hed = char.Head
  11. root = char.HumanoidRootPart
  12. hum = char.Humanoid
  13. dancin = false
  14.  
  15. clerp = function(toclerp, cf, number)
  16. local joint = toclerp
  17. joint.C0 = joint.C0:Lerp(cf, number)
  18. end
  19.  
  20. clerp2 = function(toclerp, cf)
  21. local joint = toclerp
  22. joint.C0 = cf
  23. end
  24.  
  25. clerp3 = function(toclerp, cf, number)
  26. local joint = toclerp
  27. joint.C1 = joint.C1:Lerp(cf, number)
  28. end
  29.  
  30. Swait,swait = function(number)
  31. if number == 0 or number == nil then
  32. game:GetService("RunService").Heartbeat:Wait()
  33. else
  34. for i = 1,number do
  35. game:GetService("RunService").Heartbeat:Wait()
  36. end
  37. end
  38. end
  39.  
  40. ezweld = function(p, a, b, cf)
  41. local weld = Instance.new("Weld",p)
  42. weld.Part0 = a
  43. weld.Part1 = b
  44. weld.C0 = cf
  45. return weld
  46. end
  47.  
  48. NewSound = function(p, id, pit, vol, loop)
  49. local Sound = Instance.new("Sound",p)
  50. Sound.Pitch = pit
  51. Sound.Volume = vol
  52. Sound.SoundId = "rbxassetid://" ..id
  53. Sound.Looped = loop
  54. Sound:Play()
  55. return Sound
  56. end
  57.  
  58. IT = Instance.new
  59. Rad = math.rad
  60. Cos = math.cos
  61. Sin = math.sin
  62. BrickC = BrickColor.new
  63. C3 = Color3.new
  64. VT = Vector3.new
  65.  
  66. anim = "Idle"
  67. attack = false
  68. local RS = char.Torso["Right Shoulder"]
  69. local LS = char.Torso["Left Shoulder"]
  70. local RH = char.Torso["Right Hip"]
  71. local LH = char.Torso["Left Hip"]
  72. local neck = char.Torso["Neck"]
  73. local root = char.HumanoidRootPart
  74. local rootj = root.RootJoint
  75. local sine = 0
  76. local RSnor = RS.C0
  77. local LSnor = LS.C0
  78. local RHnor = RH.C0
  79. local LHnor = LH.C0
  80. local RSnor2 = RS.C1
  81. local LSnor2 = LS.C1
  82. local RHnor2 = RH.C1
  83. local LHnor2 = LH.C1
  84. local rootjnor = rootj.C0
  85. local necknor = neck.C0
  86. local tors = char.Torso
  87. hum.Animator:remove()
  88. mouse = plr:GetMouse()
  89. hold = false
  90. Debris = game:GetService("Debris")
  91.  
  92. sped = 16
  93. keyhold = false
  94. spino = 0
  95. hito = true
  96.  
  97. SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  98. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  99. local outorin = Enum.EasingDirection[outorin2]
  100.  
  101.  
  102. local dahspeed=1
  103.  
  104. if SPart.Name=="Bullet" then
  105. dahspeed=1
  106. end
  107.  
  108. local tweeningInformation = TweenInfo.new(
  109. AnimTime/dahspeed,
  110. MoveStyle,
  111. outorin,
  112. 0,
  113. false,
  114. 0
  115. )
  116. local MoveCF = CFr
  117. local tweenanim = game:service("TweenService"):Create(SPart,tweeningInformation,MoveCF)
  118. tweenanim:Play()
  119. end
  120.  
  121. function RayCast(Position, Direction, Range, Ignore)
  122. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  123. end
  124.  
  125. talkf = "rbxassetid://8687209"
  126. default = "rbxasset://textures/face.png"
  127. ft = "rbxassetid://152527274"
  128. Aface = "rbxassetid://152630087"
  129. Oface = "rbxassetid://278714419"
  130.  
  131. local moo = Instance.new("Model")
  132. local fun = Instance.new("Part", moo)
  133. fun.Name = "coolepicdust"
  134. fun.Material = "SmoothPlastic"
  135. fun.CanCollide = false
  136. fun.Color = Color3.new(1, 1, 1)
  137. fun.Size = Vector3.new(1, 1, 1)
  138. fun.Rotation = Vector3.new(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  139. local md = true
  140.  
  141. for i,v in pairs (char:children()) do
  142. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Hat") or v:IsA("Accessory") or v:IsA("BodyColors") then
  143. v:Destroy()
  144. end
  145. end
  146.  
  147. hed.face.Texture = default
  148. beannumber = 1
  149.  
  150. local e = Instance.new("BodyColors", char)
  151. e.HeadColor = BrickColor.new("Bright yellow")
  152. e.TorsoColor = BrickColor.new("Bright blue")
  153. e.RightArmColor = BrickColor.new("Bright yellow")
  154. e.LeftArmColor = BrickColor.new("Bright yellow")
  155. e.RightLegColor = BrickColor.new("Br. yellowish green")
  156. e.LeftLegColor = BrickColor.new("Br. yellowish green")
  157.  
  158. local hoot = NewSound(hed, 1060413310, 1, 10, false)
  159. hoot:Stop()
  160.  
  161. function Chatter(Text,Timer)
  162. local chat = coroutine.wrap(function()
  163. if char:FindFirstChild("SpeechBoard")~= nil then
  164. char:FindFirstChild("SpeechBoard"):destroy()
  165. end
  166. local naeeym2 = IT("BillboardGui",char)
  167. naeeym2.Size = UDim2.new(0,100,0,40)
  168. naeeym2.StudsOffset = Vector3.new(0,2,0)
  169. naeeym2.Adornee = hed
  170. naeeym2.Name = "SpeechBoard"
  171. naeeym2.AlwaysOnTop = true
  172. local tecks2 = IT("TextBox",naeeym2)
  173. tecks2.BackgroundTransparency = 1
  174. tecks2.BorderSizePixel = 0
  175. tecks2.Text = ""
  176. tecks2.Font = "Legacy"
  177. tecks2.TextSize = 15
  178. tecks2.TextStrokeTransparency = 0
  179. tecks2.TextColor3 = Color3.new(1,1,1)
  180. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  181. tecks2.Size = UDim2.new(1,0,0.5,0)
  182. for i = 1,string.len(Text),1 do
  183. if naeeym2.Parent ~= char then
  184. break
  185. end
  186. if beannumber == 1 then
  187. beannumber = 2
  188. if (string.sub(Text,i,i) ~= "p") and (string.sub(Text,i,i) ~= "a") and (string.sub(Text,i,i) ~= "o") then
  189. hed.face.Texture = talkf
  190. elseif string.sub(Text,i,i) == "p" then
  191. hed.face.Texture = ft
  192. elseif string.sub(Text,i,i) == "a" then
  193. hed.face.Texture = Aface
  194. elseif string.sub(Text,i,i) == "o" then
  195. hed.face.Texture = Oface
  196. end
  197. elseif beannumber == 2 then
  198. if math.random(1, 2) == 1 then
  199. hoot.Pitch = Random.new():NextInteger(1, 4)
  200. hoot:Play()
  201. end
  202. beannumber = 1
  203. hed.face.Texture = default
  204. end
  205. tecks2.Text = string.sub(Text,1,i)
  206. wait(Timer)
  207. end
  208. wait(0.75)
  209. hed.face.Texture = default
  210. beannumber = 2
  211. naeeym2:Destroy()
  212. end)
  213. chat()
  214. end
  215.  
  216. function floss()
  217. if dancin == false then
  218. attack = true
  219. dancin = true
  220. repeat
  221. for i = 1,25 do
  222. Swait()
  223. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(7), Rad(0)), 0.1)
  224. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(8), Rad(0)), 0.1)
  225. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(4)), 0.1)
  226. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-11), Rad(12), Rad(-4)), 0.1)
  227. clerp(RS, RSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
  228. clerp(LS, LSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
  229. end
  230. for i = 1,25 do
  231. Swait()
  232. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-7), Rad(0)), 0.1)
  233. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-8), Rad(0)), 0.1)
  234. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-11), Rad(-12), Rad(-4)), 0.1)
  235. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.1)
  236. clerp(RS, RSnor * CFrame.new(0, 0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
  237. clerp(LS, LSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
  238. end
  239. until dancin == false
  240. dancin = false
  241. attack = false
  242. elseif dancin == true then
  243. dancin = false
  244. attack = false
  245. end
  246. end
  247.  
  248. function danc()
  249. if dancin == false then
  250. attack = true
  251. dancin = true
  252. repeat
  253. for i = 1,25 do
  254. Swait()
  255. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(18), Rad(0)), 0.1)
  256. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(19), Rad(0)), 0.1)
  257. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(-12), Rad(4)), 0.1)
  258. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(12), Rad(-4)), 0.1)
  259. clerp(RS, RSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
  260. clerp(LS, LSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
  261. end
  262. for i = 1,9 do
  263. Swait()
  264. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.065)
  265. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(3), Rad(0), Rad(0)), 0.065)
  266. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(-4)), 0.065)
  267. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.065)
  268. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-65), Rad(180)), 0.065)
  269. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(65), Rad(-180)), 0.065)
  270. end
  271. for i = 1,25 do
  272. Swait()
  273. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-18), Rad(0)), 0.1)
  274. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-19), Rad(0)), 0.1)
  275. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(-12), Rad(-4)), 0.1)
  276. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(12), Rad(4)), 0.1)
  277. clerp(RS, RSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(-65), Rad(0)), 0.1)
  278. clerp(LS, LSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(-65), Rad(0)), 0.1)
  279. end
  280. for i = 1,9 do
  281. Swait()
  282. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.065)
  283. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(3), Rad(0), Rad(0)), 0.065)
  284. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(-4)), 0.065)
  285. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.065)
  286. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-65), Rad(180)), 0.065)
  287. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(65), Rad(-180)), 0.065)
  288. end
  289. until dancin == false
  290. dancin = false
  291. attack = false
  292. elseif dancin == true then
  293. dancin = false
  294. attack = false
  295. end
  296. end
  297.  
  298. local spid = "norm"
  299.  
  300. local CamCFrame = Instance.new("RemoteEvent",char)
  301. CamCFrame.Name = "poopa"
  302.  
  303. CamCFrame.OnServerEvent:Connect(function(_,ree)
  304. spid = ree
  305. end)
  306.  
  307. local DoubleJump = NLS([[
  308.  
  309. local players = game:GetService("Players")
  310. local UserInputService = game:GetService("UserInputService")
  311. local plr = players.LocalPlayer
  312. local mouse = plr:GetMouse()
  313. local character = plr.Character
  314. local sprint = false
  315. local humanoid = character:WaitForChild("Humanoid")
  316. local doubleJumpEnabled = false
  317. local poop = character.poopa
  318.  
  319. humanoid.StateChanged:Connect(function(oldState, newState)
  320. if newState == Enum.HumanoidStateType.Jumping then
  321. if not doubleJumpEnabled then
  322. wait(.2)
  323. if humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  324. doubleJumpEnabled = true
  325. poop:FireServer("norm")
  326. end
  327. end
  328. elseif newState == Enum.HumanoidStateType.Landed then
  329. doubleJumpEnabled = false
  330. poop:FireServer("norm")
  331. end
  332. end)
  333.  
  334. UserInputService.InputBegan:Connect(function(inputObject)
  335. if inputObject.KeyCode == Enum.KeyCode.Space then
  336. if doubleJumpEnabled then
  337. if humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
  338. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  339. poop:FireServer("fast")
  340. spawn(function()
  341. doubleJumpEnabled = false
  342. end)
  343. end
  344. end
  345. end
  346. end)
  347.  
  348. ]],char)
  349.  
  350. canc = true
  351.  
  352. function dive()
  353. attack = true
  354. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  355. local b = Instance.new("BodyVelocity", root)
  356. b.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  357. b.Velocity = root.CFrame.lookVector * 75 + Vector3.new(0, 35, 0)
  358. Debris:AddItem(b, 0.05)
  359. local obo = 2
  360. repeat
  361. Swait()
  362. obo = obo + 1
  363. hitfloor = nil
  364. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  365. clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(85+obo), Rad(0), Rad(0)), 0.1)
  366. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-66), Rad(0), Rad(0)), 0.1)
  367. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-25-obo)), 0.1)
  368. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(25+obo)), 0.1)
  369. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(175)), 0.1)
  370. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-175)), 0.1)
  371. until hitfloor ~= nil
  372. attack = false
  373. end
  374.  
  375. function longjump()
  376. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  377. hum.Jump = true
  378. local b = Instance.new("BodyVelocity", root)
  379. b.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  380. b.Velocity = root.CFrame.lookVector * 86 + Vector3.new(0, 35, 0)
  381. Debris:AddItem(b, 0.15)
  382. local obo = 0.15
  383. wait(.15)
  384. clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
  385. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
  386. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)), 0.1)
  387. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  388. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-75+obo)), 0.1)
  389. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(75-obo)), 0.1)
  390. attack = true
  391. wait(.075)
  392. clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
  393. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
  394. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)), 0.1)
  395. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  396. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-75+obo)), 0.1)
  397. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(75-obo)), 0.1)
  398. repeat
  399. Swait()
  400. obo = obo + 1
  401. hitfloor = nil
  402. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  403. clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
  404. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
  405. clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(111)), 0.1)
  406. clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-111)), 0.1)
  407. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-85+obo)), 0.1)
  408. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(85-obo)), 0.1)
  409. until hitfloor ~= nil
  410. attack = false
  411. end
  412.  
  413. mouse.KeyDown:connect(function(key)
  414. if key == "e" and attack == false then
  415. dive()
  416. end
  417. if key == "r" and attack == false then
  418. longjump()
  419. end
  420. if key == "t" then
  421. danc()
  422. end
  423. end)
  424.  
  425. plr.Chatted:connect(function(msg)
  426. Chatter(msg, 0.065)
  427. end)
  428.  
  429. while true do
  430. Swait()
  431. sine = sine + 1
  432. local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
  433. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  434. local WALKSPEEDVALUE = 8 / (sped / 16)
  435. torsverticalvel = root.Velocity.y
  436. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  437. if TORSOVELOCITY < 1 and hitfloor ~= nil then
  438. anim = "Idle"
  439. if attack == false then
  440. clerp(rootj,rootjnor*CFrame.new(0, 0, -0.1+0.05 * Sin(sine / 18.5))*CFrame.Angles(0, Rad(-3 * Sin(sine / (18.5*2))), Rad(-2)), 0.15)
  441. clerp(neck, necknor*CFrame.Angles(Rad(-2 * Sin(sine / 18.5)), 0, Rad(3)), 0.15)
  442. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-4 + 3 * Sin(sine / (18.5))), Rad(0), Rad(0)), 0.3)
  443. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-4 + 3 * Sin(sine / (18.5))), Rad(0), Rad(0)), 0.3)
  444. clerp(RH, RHnor*CFrame.new(0, 0.1-0.05 * Sin(sine / 18.5), 0)*CFrame.Angles(Rad(-5-0.2*Sin(sine / 18.5))-Rad(2 * Sin(sine / (18.5*2))), Rad(-6), Rad(0)), 0.15)
  445. clerp(LH, LHnor*CFrame.new(0, 0.1-0.05 * Sin(sine / 18.5), 0)*CFrame.Angles(Rad(-5-0.2*Sin(sine / 18.5))+Rad(2 * Sin(sine / (18.5*2))), Rad(6), Rad(0)), 0.15)
  446. end
  447. elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
  448. anim = "Walk"
  449. if attack == false then
  450. clerp(rootj, rootjnor * CFrame.new(0, 0, -0.1+0.1 * Sin(sine / 3)) * CFrame.Angles(Rad(0), tors.RotVelocity.y/75, Rad(0)), 0.3)
  451. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  452. clerp(RH, RHnor * CFrame.new(0.15 + 0.15 * Sin(sine / 6), 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-11-55 * Cos(sine / 6))), 0.3)
  453. clerp(LH, LHnor * CFrame.new(-0.15 - 0.15 * Sin(sine / 6), 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(11-55 * Cos(sine / 6))), 0.3)
  454. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-7), Rad(0), Rad(55 * Cos(sine / 6))), 0.3)
  455. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-7), Rad(0), Rad(55 * Cos(sine / 6))), 0.3)
  456. end
  457. if attack == false and md == true then
  458. md = false
  459. local hey = moo:Clone()
  460. hey.Parent = script
  461. local fun = hey.coolepicdust
  462. fun.Anchored = true
  463. fun.CFrame = root.CFrame * CFrame.new(0, -root.Size.y*1.5, 0)
  464. fun.Name = "coolepicdust"
  465. fun.Material = "SmoothPlastic"
  466. fun.CanCollide = false
  467. fun.Color = Color3.new(1, 1, 1)
  468. fun.Size = Vector3.new(1, 1, 1)
  469. fun.Rotation = Vector3.new(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  470. coroutine.resume(coroutine.create(function()
  471. coroutine.resume(coroutine.create(function()
  472. wait(0.25)
  473. md = true
  474. end))
  475. wait(0.15)
  476. for i = 1,35 do
  477. Swait()
  478. --fun.Position = root.Position + Vector3.new(0, -root.Size.y, 0)
  479. fun.Size = fun.Size - Vector3.new(0.035, 0.035, 0.035)
  480. fun.Transparency = fun.Transparency + 0
  481. end
  482. fun:Destroy()
  483. end))
  484. end
  485. elseif torsverticalvel > 0.5 and hitfloor == nil then
  486. anim = "Jump"
  487. if attack == false and spid == "norm" then
  488. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
  489. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-15), Rad(0), Rad(0)), 0.15)
  490. clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
  491. clerp(LH, LHnor * CFrame.new(0.35/2, 0.35/2, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
  492. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(160)), 0.15)
  493. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(35)), 0.15)
  494. elseif attack == false and spid == "fast" then
  495. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
  496. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.15)
  497. clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
  498. clerp(LH, LHnor * CFrame.new(-0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
  499. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(175)), 0.15)
  500. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-175)), 0.15)
  501. end
  502. elseif torsverticalvel < 0.5 and hitfloor == nil then
  503. anim = "Fall"
  504. if attack == false and spid == "norm" then
  505. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(15), Rad(0), Rad(0)), 0.2)
  506. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(15), Rad(0), Rad(0)), 0.2)
  507. clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
  508. clerp(LH, LHnor * CFrame.new(0.35/2, 0.35/2, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
  509. clerp(RS, RSnor * CFrame.new(0, -0.5, 0.5) * CFrame.Angles(Rad(-85), Rad(0), Rad(0)), 0.2)
  510. clerp(LS, LSnor * CFrame.new(0, -0.5, 0.5) * CFrame.Angles(Rad(-85), Rad(0), Rad(0)), 0.2)
  511. elseif attack == false and spid == "fast" then
  512. clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
  513. clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), Rad(0), Rad(0)), 0.15)
  514. clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-25)), 0.15)
  515. clerp(LH, LHnor * CFrame.new(-0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(25)), 0.15)
  516. clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(145)), 0.15)
  517. clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-145)), 0.15)
  518. end
  519. end
  520. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement