HenloMyDude

mombucks

Jun 22nd, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.98 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. script.Name = "you smell like dead bunnies!"
  7. plr = owner
  8. char = plr.Character
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. hed = char.Head
  12. root = char.HumanoidRootPart
  13. hum = char.Humanoid
  14. dancin = false
  15. cfra = root.CFrame
  16. root.Anchored = true
  17. root.CFrame = root.CFrame * CFrame.new(9000, 9000, 9000)
  18.  
  19. clerp = function(toclerp, cf, number)
  20. local joint = toclerp
  21. joint.C0 = joint.C0:Lerp(cf, number)
  22. end
  23.  
  24. clerp2 = function(toclerp, cf)
  25. local joint = toclerp
  26. joint.C0 = cf
  27. end
  28.  
  29. clerp3 = function(toclerp, cf, number)
  30. local joint = toclerp
  31. joint.C1 = joint.C1:Lerp(cf, number)
  32. end
  33.  
  34. Swait,swait = function(number)
  35. if number == 0 or number == nil then
  36. game:GetService("RunService").Heartbeat:Wait()
  37. else
  38. for i = 1,number do
  39. game:GetService("RunService").Heartbeat:Wait()
  40. end
  41. end
  42. end
  43.  
  44. ezweld = function(p, a, b, cf)
  45. local weld = Instance.new("Weld",p)
  46. weld.Part0 = a
  47. weld.Part1 = b
  48. weld.C0 = cf
  49. return weld
  50. end
  51.  
  52. ezmot = function(p, a, b, cf)
  53. local weld = Instance.new("Weld",p)
  54. weld.Part0 = a
  55. weld.Part1 = b
  56. weld.C0 = cf
  57. return weld
  58. end
  59.  
  60. NewSound = function(p, id, pit, vol, loop)
  61. local Sound = Instance.new("Sound",p)
  62. Sound.Pitch = pit
  63. Sound.Volume = vol
  64. Sound.SoundId = "rbxassetid://" ..id
  65. Sound.Looped = loop
  66. Sound:Play()
  67. return Sound
  68. end
  69.  
  70. IT = Instance.new
  71. Rad = math.rad
  72. Cos = math.cos
  73. Sin = math.sin
  74. BrickC = BrickColor.new
  75. C3 = Color3.new
  76. VT = Vector3.new
  77.  
  78. local RS = char.Torso["Right Shoulder"]
  79. local LS = char.Torso["Left Shoulder"]
  80. local RH = char.Torso["Right Hip"]
  81. local LH = char.Torso["Left Hip"]
  82. local neck = char.Torso["Neck"]
  83. local anim = "Idle"
  84. local animate = char.Animate
  85. local root = char.HumanoidRootPart
  86. local rootj = root.RootJoint
  87. local timepos = 0
  88. local sine = 0
  89. local RSnor = RS.C0
  90. local LSnor = LS.C0
  91. local RHnor = RH.C0
  92. local LHnor = LH.C0
  93. local RSnor2 = RS.C1
  94. local LSnor2 = LS.C1
  95. local RHnor2 = RH.C1
  96. local LHnor2 = LH.C1
  97. local rootjnor = rootj.C0
  98. local necknor = neck.C0
  99. local tors = char.Torso
  100.  
  101. anim = "Idle"
  102. attack = false
  103. mouse = plr:GetMouse()
  104. hold = false
  105. Debris = game:GetService("Debris")
  106.  
  107. sped = 16
  108. keyhold = false
  109. spino = 0
  110. hito = true
  111.  
  112. local p = Instance.new("Model", char)
  113. p.Name = "tank"
  114.  
  115. function get(nam)
  116. return p:FindFirstChild(nam)
  117. end
  118.  
  119. local trs = Instance.new("Part", p)
  120. trs.BrickColor = BrickColor.new("Bright blue")
  121. trs.CFrame = cfra * CFrame.new(0, -0.5, 0)
  122. trs.Name = "HumanoidRootPart"
  123. trs.Size = Vector3.new(2, 2, 1)
  124. trs.Anchored = true
  125. trs.Transparency = 1
  126. --local a = Instance.new("Decal", trs)
  127. --a.Texture = "rbxassetid://1805491793"
  128.  
  129. local came = Instance.new("Part", p)
  130. came.CFrame = trs.CFrame
  131. came.Name = "CameraPart"
  132. came.Size = Vector3.new(2, 2, 1)
  133. came.Anchored = true
  134. came.Transparency = 1
  135.  
  136. local tors = Instance.new("Part", p)
  137. tors.BrickColor = BrickColor.new("Bright blue")
  138. tors.Name = "Torso"
  139. tors.Size = Vector3.new(2, 2, 1)
  140. tors.Anchored = false
  141. local rj = ezmot(p, tors, trs, CFrame.new())
  142.  
  143. local hed = Instance.new("Part", p)
  144. hed.BrickColor = BrickColor.new("Bright yellow")
  145. hed.CFrame = cfra * CFrame.new(0, 1, -1)
  146. hed.Name = "Head"
  147. hed.Size = Vector3.new(2, 1, 1)
  148. hed.Anchored = false
  149. local a = Instance.new("Decal", hed)
  150. a.Texture = "rbxassetid://1805491793"
  151. local m = Instance.new("SpecialMesh", hed)
  152. m.Scale = Vector3.new(1.25, 1.25, 1.25)
  153. local neck = ezmot(p, hed, trs, CFrame.new(0, -1.5, 0))
  154.  
  155. local ra = Instance.new("Part", p)
  156. ra.BrickColor = BrickColor.new("Bright yellow")
  157. ra.CFrame = cfra * CFrame.new(0, 1, -1)
  158. ra.Name = "Right Arm"
  159. ra.Size = Vector3.new(1, 2, 1)
  160. ra.Anchored = false
  161. ra.CanCollide = false
  162. local rs = ezmot(p, ra, trs, RSnor)
  163. rs.C1 = RSnor2
  164.  
  165. local la = Instance.new("Part", p)
  166. la.BrickColor = BrickColor.new("Bright yellow")
  167. la.CFrame = cfra * CFrame.new(0, 1, -1)
  168. la.Name = "Left arm"
  169. la.Size = Vector3.new(1, 2, 1)
  170. la.Anchored = false
  171. la.CanCollide = false
  172. local ls = ezmot(p, la, trs, LSnor)
  173. ls.C1 = LSnor2
  174.  
  175. local rl = Instance.new("Part", p)
  176. rl.BrickColor = BrickColor.new("Br. yellowish green")
  177. rl.CFrame = cfra * CFrame.new(0, 1, -1)
  178. rl.Name = "Right Leg"
  179. rl.Size = Vector3.new(1, 2, 1)
  180. rl.Anchored = false
  181. local rh = ezmot(p, get(RH.Part0.Name), get(RH.Part1.Name), RHnor)
  182. rh.C1 = RHnor2
  183.  
  184. local ll = Instance.new("Part", p)
  185. ll.BrickColor = BrickColor.new("Br. yellowish green")
  186. ll.CFrame = cfra * CFrame.new(0, 1, -1)
  187. ll.Name = "Left Leg"
  188. ll.Size = Vector3.new(1, 2, 1)
  189. ll.Anchored = false
  190. local lh = ezmot(p, get(LH.Part0.Name), get(LH.Part1.Name), LHnor)
  191. lh.C1 = LHnor2
  192.  
  193. --local eb = Instance.new("Humanoid", p)
  194.  
  195. NLS([[
  196.  
  197. plr = owner
  198. char = plr.Character
  199. tonk = char.tank
  200. base = tonk.Torso
  201. came = tonk.CameraPart
  202. mouse = plr:GetMouse()
  203. hum = char.Humanoid
  204. hum.WalkSpeed = 0
  205. --bh = tonk.Humanoid
  206.  
  207. workspace.CurrentCamera.CameraSubject = came
  208.  
  209. ]], char)
  210.  
  211. wait(0.65)
  212.  
  213. script.Parent = workspace
  214. p.Parent = script
  215. mf = math.huge
  216. kirb = trs
  217.  
  218. local soulhb = Instance.new("Part", kirb)
  219. soulhb.Transparency = 1
  220. soulhb.Size = trs.Size
  221. soulhb.CFrame = kirb.CFrame
  222. soulhb.Anchored = false
  223. local bv = Instance.new("BodyVelocity", soulhb)
  224. bv.MaxForce = Vector3.new(mf, mf, mf)
  225. bv.Velocity = Vector3.new(0, 0, 0)
  226.  
  227. script.Parent = workspace
  228. p.Parent = script
  229.  
  230. atak = false
  231. j = false
  232. num = 2
  233.  
  234. function ep(n)
  235. return num*n
  236. end
  237.  
  238. function thread(f)
  239. coroutine.resume(coroutine.create(f))
  240. end
  241.  
  242. raycast = function(pos, direct, range, decendants)
  243. return workspace:FindPartOnRay(Ray.new(pos, direct.unit * range), decendants)
  244. end
  245.  
  246. spd = 0.275
  247.  
  248. hitfloor = raycast(kirb.Position, (CFrame.new(kirb.Position, kirb.Position + Vector3.new(0, -3.5, 0))).lookVector, 3.25, p)
  249. if hitfloor then
  250. lastfloor = hitfloor
  251. end
  252.  
  253. function hurt()
  254. atak = true
  255. local u = 2.25
  256. kirb.CFrame = kirb.CFrame * CFrame.new(0, 0, u)
  257. atak = false
  258. end
  259.  
  260. soulhb.Touched:connect(function(hit)
  261. local stop = raycast(kirb.Position, (CFrame.new(kirb.Position, kirb.Position + Vector3.new(0, -6.5, 0))).lookVector, 7.25, p)
  262. if hit.CanCollide == true and hit ~= stop and hit ~= lastfloor and atak == false then
  263. if hit.Size.y > 2 and hit.Parent and not hit.Parent:FindFirstChildOfClass("Humanoid") then
  264. hurt()
  265. end
  266. end
  267. end)
  268.  
  269. local kkk = Color3.new(1, 1, 1)
  270. br = Color3.new(1, 1, 1)
  271.  
  272. local sur = Instance.new("BillboardGui", kirb)
  273. sur.Name = "Billboard"
  274. sur.Adornee = hed
  275. sur.Size = UDim2.new(9/3, 0/3, 1.65/3, 0/3)
  276. sur.StudsOffset = Vector3.new(0, 5/3, 0)
  277. local text = Instance.new("TextBox", sur)
  278. text.Text = plr.Name
  279. text.Size = UDim2.new(1, 0, 1, 0)
  280. text.TextScaled = true
  281. text.BackgroundColor3 = Color3.new(0.75, 0.75, 0.75)
  282. text.BorderSizePixel = 0
  283. text.BackgroundTransparency = 0.5
  284. text.Font = Enum.Font.Cartoon
  285. text.TextColor3 = br
  286. text.TextStrokeColor3 = kkk
  287. text.TextStrokeTransparency = 1
  288.  
  289. local siti = Instance.new("BoolValue", p)
  290. siti.Name = "IsSitting"
  291. siti.Value = false
  292.  
  293. local alr = Instance.new("StringValue")
  294. alr.Name = "NostalgiaFakeCharAlreadySitting"
  295. alr.Value = "Fake Character is already sitting here."
  296.  
  297. local poop = ezweld(script, nil, nil, CFrame.new(0, 0, 0))
  298.  
  299. function seat(part)
  300. if part ~= nil and not part:FindFirstChild("NostalgiaFakeCharAlreadySitting") then
  301. sittle = true
  302. siti.Value = true
  303. alr.Parent = part
  304. trs.Anchored = false
  305. poop.Part0 = part
  306. poop.Part1 = trs
  307. poop.C0 = CFrame.new(0, (part.Size.y/2)+(trs.Size.y/2), 0)
  308. end
  309. end
  310.  
  311. function jump()
  312. j = true
  313. f = false
  314. canj = false
  315. local u = 1.775
  316. thread(function()
  317. for i = 1,8 do
  318. Swait()
  319. --came.CFrame = clerp(came.CFrame, trs.CFrame, 0.575)
  320. canj = false
  321. end
  322. j = false
  323. end)
  324. thread(function()
  325. for i = 1,13 do
  326. Swait()
  327. if u > 0 then
  328. u = u - 0.2
  329. end
  330. --came.CFrame = clerp(came.CFrame, trs.CFrame, 0.575)
  331. kirb.Position = kirb.Position + Vector3.new(0, u, 0)
  332. end
  333. end)
  334. canj = false
  335. end
  336.  
  337. spd = 0.275
  338. POO = 0.65
  339.  
  340. function movi(a)
  341. local mv = a
  342. if mv.z == 0 and mv.x == 0 then
  343. return false
  344. else
  345. return true
  346. end
  347. end
  348.  
  349. Direction = "Idle"
  350. Mid = 0.7
  351.  
  352. function jointontors() end
  353.  
  354. function NearNumber(a,b)
  355. if a + 0.375 >= b and a - 0.375 <= b then
  356. return true
  357. else
  358. return false
  359. end
  360. end
  361.  
  362. Bump = 0
  363. Torso = trs
  364. Bla = true
  365. LandTimer = 4
  366. canj = false
  367. Ree = 0.45
  368. Anim = "Idle"
  369. sine = 0
  370. tu = 0.85
  371. lrpi = false
  372. ebeb = 0.45
  373. sittle = false
  374.  
  375. function clerp(a, b, t)
  376. return a:lerp(b, t)
  377. end
  378.  
  379. function ori(v)
  380. Torso.Orientation = v
  381. end
  382.  
  383. hum:SetStateEnabled('Dead', false)
  384.  
  385. while true do
  386. Swait()
  387. if mouse.Target and mouse.Target:FindFirstChildOfClass("ClickDetector") then
  388. mouse.Target:FindFirstChildOfClass("ClickDetector").MaxActivationDistance = tonumber'inf'
  389. end
  390. sine = sine + 1
  391. soulhb.CFrame = kirb.CFrame
  392. came.CFrame = clerp(came.CFrame, trs.CFrame*CFrame.new(0, 1.5, 0), 0.575)
  393. if hum.Jump == true and j == false and atak == false then
  394. if canj == true then
  395. sittle = false
  396. alr.Parent = nil
  397. trs.Anchored = true
  398. poop.Part0 = nil
  399. poop.Part1 = nil
  400. siti.Value = false
  401. jump()
  402. end
  403. end
  404. hitfloor, hitpos = raycast(kirb.Position, (CFrame.new(kirb.Position, kirb.Position + Vector3.new(0, -3.5, 0))).lookVector, 3.25, p)
  405. if hitfloor then
  406. lastfloor = hitfloor
  407. end
  408. local mv = hum.MoveDirection
  409. local ecks = mv.x
  410. local Direction2 = hum.MoveDirection
  411. if hitfloor and hitfloor.CanCollide == true then
  412. f = false
  413. canj = true
  414. ebeb = 0.35
  415. --kirb.CFrame = CFrame.new(kirb.CFrame.x, (kirb.Size.y + 1) + hitfloor.CFrame.y + (hitfloor.Size.y / 2), kirb.CFrame.z)
  416. --kirb.CFrame = CFrame.new(kirb.CFrame.x, hitpos.y+2, kirb.CFrame.z)
  417. kirb.Position = hitpos+Vector3.new(0, 3, 0)
  418. if hitfloor:IsA("Seat") then
  419. seat(hitfloor)
  420. end
  421. end
  422. if hitfloor == nil and j == false or (hitfloor and hitfloor.CanCollide == false) and siti.Value == false and sittle == false then
  423. f = true
  424. canj = false
  425. ebeb = ebeb + 0.071
  426. kirb.CFrame = kirb.CFrame * CFrame.new(0, -ebeb, 0)
  427. end
  428. if hitfloor == nil and j == false or (hitfloor and hitfloor.CanCollide == false) then
  429. alr.Parent = nil
  430. trs.Anchored = true
  431. poop.Part0 = nil
  432. poop.Part1 = nil
  433. siti.Value = false
  434. end
  435. if siti.Value == true then
  436. spd = 0
  437. else
  438. spd = 0.275
  439. end
  440. kirb.Position = kirb.Position + Vector3.new(mv.x*spd, 0, mv.z*spd)
  441. if mv.z == 0 and mv.x == 0 and hitfloor ~= nil and siti.Value == false then
  442. Anim = "Idle"
  443. local spod = 0.15
  444. if atak == false then
  445. rs.C0 = clerp(rs.C0, RSnor * CFrame.Angles(0, 0, Rad(4 * Cos(sine/60))), spod)
  446. ls.C0 = clerp(ls.C0, LSnor * CFrame.Angles(0, 0, Rad(4 * Cos(sine/60))), spod)
  447. rh.C0 = clerp(rh.C0, RHnor * CFrame.Angles(0, 0, Rad(-4 * Cos(sine/60))), spod)
  448. lh.C0 = clerp(lh.C0, LHnor * CFrame.Angles(0, 0, Rad(-4 * Cos(sine/60))), spod)
  449. end
  450. end
  451. if mv.z ~= 0 and hitfloor ~= nil or mv.x ~= 0 and hitfloor ~= nil and siti.Value ~= true and sittle == false and Anim ~= "Sit" then
  452. Anim = "Moving"
  453. local spod = 0.15
  454. if atak == false and sittle == false and Anim ~= "Sit" then
  455. trs.CFrame = CFrame.new(trs.Position,trs.Position+hum.MoveDirection)
  456. rs.C0 = clerp(rs.C0, RSnor * CFrame.Angles(0, 0, Rad(45 * Cos(sine/5))), spod)
  457. ls.C0 = clerp(ls.C0, LSnor * CFrame.Angles(0, 0, Rad(45 * Cos(sine/5))), spod)
  458. rh.C0 = clerp(rh.C0, RHnor * CFrame.Angles(0, 0, Rad(-45 * Cos(sine/5))), spod)
  459. lh.C0 = clerp(lh.C0, LHnor * CFrame.Angles(0, 0, Rad(-45 * Cos(sine/5))), spod)
  460. end
  461. end
  462. if hitfloor == nil and siti.Value == false then
  463. Anim = "InAir"
  464. local spod = 0.15
  465. if atak == false then
  466. rs.C0 = clerp(rs.C0, RSnor * CFrame.Angles(0, 0, Rad(180)), spod)
  467. ls.C0 = clerp(ls.C0, LSnor * CFrame.Angles(0, 0, Rad(-180)), spod)
  468. rh.C0 = clerp(rh.C0, RHnor * CFrame.Angles(0, 0, Rad(0)), spod)
  469. lh.C0 = clerp(lh.C0, LHnor * CFrame.Angles(0, 0, Rad(0)), spod)
  470. end
  471. end
  472. if siti.Value == true then
  473. Anim = "Sit"
  474. local spod = 0.15
  475. if atak == false then
  476. rs.C0 = clerp(rs.C0, RSnor * CFrame.Angles(0, 0, Rad(-90)), spod)
  477. ls.C0 = clerp(ls.C0, LSnor * CFrame.Angles(0, 0, Rad(90)), spod)
  478. rh.C0 = clerp(rh.C0, RHnor * CFrame.Angles(0, 0, Rad(90)), spod)
  479. lh.C0 = clerp(lh.C0, LHnor * CFrame.Angles(0, 0, Rad(-90)), spod)
  480. end
  481. end
  482. --[[
  483. if NearNumber(Direction2.X,1) and NearNumber(Direction2.Z,0) then
  484. Direction = "Right"
  485. jointontors()
  486. elseif NearNumber(Direction2.X,Mid) and NearNumber(Direction2.Z,Mid) then
  487. Direction = "DownRight"
  488. jointontors()
  489. elseif NearNumber(Direction2.X,0) and NearNumber(Direction2.Z,1) then
  490. Direction = "Down"
  491. jointontors()
  492. elseif NearNumber(Direction2.X,-Mid) and NearNumber(Direction2.Z,Mid) then
  493. Direction = "DownLeft"
  494. jointontors()
  495. elseif NearNumber(Direction2.X,-1) and NearNumber(Direction2.Z,0) then
  496. Direction = "Left"
  497. jointontors()
  498. elseif NearNumber(Direction2.X,-Mid) and NearNumber(Direction2.Z,-Mid) then
  499. Direction = "UpLeft"
  500. jointontors()
  501. elseif NearNumber(Direction2.X,0) and NearNumber(Direction2.Z,-1) then
  502. Direction = "Up"
  503. jointontors()
  504. elseif NearNumber(Direction2.X,Mid) and NearNumber(Direction2.Z,-Mid) then
  505. Direction = "UpRight"
  506. jointontors()
  507. end
  508. local Movements = 10
  509. if LandTimer < 0 then
  510. Mv = 0.97
  511. Movements = 7
  512. end
  513. if Direction == "Right" then
  514. ori(Vector3.new(0,270,0))
  515. if Bla == false and Bump <= 0 then
  516. Torso.Velocity = Torso.Velocity + Vector3.new(1,0,0) * Movements
  517. jointontors()
  518. end
  519. elseif Direction == "DownRight" then
  520. ori(Vector3.new(0,225,0))
  521. if Bla == false and Bump <= 0 then
  522. Torso.Velocity = Torso.Velocity + Vector3.new(Mid,0,Mid) * Movements
  523. jointontors()
  524. end
  525. elseif Direction == "Down" then
  526. ori(Vector3.new(0,180,0))
  527. if Bla == false and Bump <= 0 then
  528. Torso.Velocity = Torso.Velocity + Vector3.new(0,0,1) * Movements
  529. jointontors()
  530. end
  531. elseif Direction == "DownLeft" then
  532. ori(Vector3.new(0,135,0))
  533. if Bla == false and Bump <= 0 then
  534. Torso.Velocity = Torso.Velocity + Vector3.new(-Mid,0,Mid) * Movements
  535. jointontors()
  536. end
  537. elseif Direction == "Left" then
  538. ori(Vector3.new(0,90,0))
  539. if Bla == false and Bump <= 0 then
  540. Torso.Velocity = Torso.Velocity + Vector3.new(-1,0,0) * Movements
  541. jointontors()
  542. end
  543. elseif Direction == "UpLeft" then
  544. ori(Vector3.new(0,45,0))
  545. if Bla == false and Bump <= 0 then
  546. Torso.Velocity = Torso.Velocity + Vector3.new(-Mid,0,-Mid) * Movements
  547. jointontors()
  548. end
  549. elseif Direction == "Up" then
  550. ori(Vector3.new(0,0,0))
  551. if Bla == false and Bump <= 0 then
  552. Torso.Velocity = Torso.Velocity + Vector3.new(0,0,-1) * Movements
  553. jointontors()
  554. end
  555. elseif Direction == "UpRight" then
  556. ori(Vector3.new(0,315,0))
  557. if Bla == false and Bump <= 0 then
  558. Torso.Velocity = Torso.Velocity + Vector3.new(Mid,0,-Mid) * Movements
  559. jointontors()
  560. end
  561. end
  562. ]]--
  563. --[[
  564. if mv.z > 0 then
  565. ori(Vector3.new(0, mv.x*90, 0))
  566. elseif mv.z < 0 then
  567. ori(Vector3.new(0, -mv.x*90, 0))
  568. elseif mv.x < 0 then
  569. ori(Vector3.new(0, mv.x*90, 0))
  570. elseif mv.x > 0 then
  571. ori(Vector3.new(0, -mv.x*90, 0))
  572. end
  573. ]]
  574. char.Parent = game:service("Workspace")
  575. end
Add Comment
Please, Sign In to add comment