Advertisement
Liu-2

Jasino - [ Roblox ]

Jun 20th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.11 KB | None | 0 0
  1. --- [[ Jasino ]] ---
  2. --- the shellnut jason
  3. -- by fo43123
  4.  
  5. local me = game:GetService('Players').LocalPlayer
  6. local char = me.Character
  7. local hum = char:WaitForChild('Humanoid')
  8. local root = char:WaitForChild('HumanoidRootPart')
  9. local ts = char:WaitForChild('Torso')
  10. local hd = char:WaitForChild('Head')
  11. local rad = math.rad
  12. local act = false
  13. local sine = 0
  14. local change = 1
  15. local mse = me:GetMouse()
  16. if hum.Parent ~= nil then
  17. hum.WalkSpeed = 12
  18. hum.JumpPower = 0
  19. local jason = Instance.new('Part', root)
  20. jason.Size = Vector3.new(4.73, 9.1, 2)
  21. jason.CanCollide = false
  22. local jasonmesh = Instance.new('SpecialMesh', jason)
  23. jasonmesh.Scale = Vector3.new(.2, .2, .2)
  24. jasonmesh.MeshId = 'rbxassetid://524848109'
  25. jasonmesh.TextureId = 'rbxassetid://524848207'
  26. local machete = Instance.new('Part', jason)
  27. machete.CanCollide = false
  28. machete.Size = Vector3.new(0.14, 4.84, 0.46)
  29. local machetemesh = Instance.new('SpecialMesh', machete)
  30. machetemesh.Scale = Vector3.new(.023, .023, .023)
  31. machetemesh.MeshId = 'rbxassetid://441575918'
  32. machetemesh.TextureId = 'rbxassetid://441575955'
  33. local b1 = Instance.new('Part', jason)
  34. local tr = Instance.new('Trail', machete)
  35. tr.Transparency = NumberSequence.new(0)
  36. tr.Lifetime = .1
  37. local at0 = Instance.new('Attachment', machete)
  38. local at1 = Instance.new('Attachment', machete)
  39. at0.Position = Vector3.new(0, 2.112, 0.153)
  40. at1.Position = Vector3.new(0, -1.289, 0.153)
  41. tr.Attachment0 = at0
  42. tr.Attachment1 = at1
  43. b1.Shape = 'Ball'
  44. b1.Material = 'Neon'
  45. b1.BrickColor = BrickColor.new('Really red')
  46. b1.Transparency = .1
  47. b1.Size = Vector3.new(0.17, 0.17, 0.17)
  48. local b2 = Instance.new('Part', jason)
  49. b2.Shape = 'Ball'
  50. b2.Material = 'Neon'
  51. b2.BrickColor = BrickColor.new('Really red')
  52. b2.Transparency = .1
  53. b2.Size = Vector3.new(0.17, 0.17, 0.17)
  54. local b1weld = Instance.new('Weld', jason)
  55. b1weld.Part0 = jason
  56. b1weld.Part1 = b1
  57. b1weld.C0 = CFrame.new(0.163, 3.965, -0.399)
  58. local b2weld = Instance.new('Weld', jason)
  59. b2weld.Part0 = jason
  60. b2weld.Part1 = b2
  61. b2weld.C0 = CFrame.new(-0.17, 3.965, -0.399)
  62. w1 = Instance.new('Weld')
  63. w1.Parent = ts
  64. w1.Part0 = ts
  65. w1.Part1 = jason
  66. w1.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(rad(0), rad(0), rad(0))
  67. w2 = Instance.new('Weld')
  68. w2.Parent = jason
  69. w2.Part0 = jason
  70. w2.Part1 = machete
  71. w2.C0 = CFrame.new(2.257, -.2, -1.929) * CFrame.Angles(rad(-90), rad(180), rad(0))
  72. hum.CameraOffset = Vector3.new(0, 1.5, 0)
  73. local rootlerp = Instance.new('ManualWeld', root)
  74. rootlerp.Part0 = ts
  75. rootlerp.Part1 = jason
  76. for i,v in pairs(char:GetChildren()) do
  77.     if v:IsA('Part') and v ~= jason then
  78.         v.Transparency = 1
  79.     end
  80. end
  81.  
  82. if hd.Parent ~= nil then
  83.     local face = hd:WaitForChild('face')
  84.         if face then
  85.         face.Transparency = 1
  86.     end
  87. end
  88.  
  89. for i,v in pairs(char:GetChildren()) do
  90.     if v:IsA('Accessory') then
  91.         v.Parent = nil
  92.     end
  93. end
  94.  
  95. hum.MaxHealth = 'inf'
  96. hum.Health = 'inf'
  97. hum.HealthChanged:connect(function()
  98.     hum.MaxHealth = 'inf'
  99.     hum.Health = 'inf'
  100. end)
  101.  
  102. function player(var)
  103.     if var.Parent then
  104.         if var.Parent:FindFirstChildOfClass('Humanoid') then
  105.             if var.Parent:FindFirstChild('Torso') and var.Parent:FindFirstChild('Head') then
  106.                 if var.Parent:IsA('Model') then
  107.                     if var.Parent.Name ~= me.Name then
  108.                         return var
  109.                     end
  110.                 end
  111.             end
  112.         end
  113.     end
  114. end
  115.  
  116. function tp()
  117.     act = true
  118.     local nani = Instance.new('Sound', root)
  119.     nani.SoundId = 'rbxassetid://130984217'
  120.     nani.Volume = 3
  121.     root.CFrame = CFrame.new(mse.Hit.p + Vector3.new(0, 3, 0)) * CFrame.Angles(0, rad(root.Orientation.Y), 0)
  122.     nani:Play()
  123.     game.Debris:AddItem(nani, nani.PlaybackSpeed + 1.3)
  124.     jason.Transparency = 1
  125.     machete.Transparency = 1
  126.     b1.Transparency = 1
  127.     b2.Transparency = 1
  128.     tr.Transparency = NumberSequence.new(1)
  129.     wait(.35)
  130.     b1.Transparency = .1
  131.     b2.Transparency = .1
  132.     tr.Transparency = NumberSequence.new(0)
  133.     jason.Transparency = 0
  134.     machete.Transparency = 0
  135.     wait(nani.PlaybackSpeed + 1.3)
  136.     act = false
  137. end
  138.  
  139. function slash()
  140.     act = true
  141.     machete.Touched:connect(function(hit)
  142.         if act then
  143.             if player(hit) then
  144.                 player(hit).Parent:BreakJoints()
  145.             end
  146.         end
  147.     end)
  148.     for i = 1, 15 do
  149.         rj.C0 = rj.C0:lerp(rj0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .1)
  150.         swait()
  151.     end
  152.     for i = 1, 15 do
  153.         rj.C0 = rj.C0:lerp(rj0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .15)
  154.         swait()
  155.     end
  156.     wait(.3)
  157.     act = false
  158. end
  159.  
  160. function ireallydontlikeyou()
  161.     act = true
  162.     local machete2 = machete:Clone()
  163.     machete2.Parent = char
  164.     local bv = Instance.new('BodyVelocity', machete2)
  165.     bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  166.     bv.Velocity = mse.Hit.lookVector*100
  167.     game.Debris:AddItem(machete2, 3)
  168.     machete2.Touched:connect(function(hit)
  169.         if act then
  170.             if player(hit) then
  171.                 player(hit).Parent:BreakJoints()
  172.             end
  173.         end
  174.     end)
  175.     wait()
  176.     act = false
  177. end
  178.  
  179. mse.Button1Down:connect(function()
  180.     if act == false then
  181.         slash()
  182.     end
  183. end)
  184.  
  185. mse.KeyDown:connect(function(ee)
  186.     if ee == 'r' then
  187.         if act == false then
  188.             tp()
  189.         end
  190.     end
  191.     if ee == 'f' then
  192.         if act == false then
  193.             ireallydontlikeyou()
  194.         end
  195.     end
  196. end)
  197.  
  198. function swait(t)
  199.     if t == 0 or t == nil then
  200.         game:GetService('RunService').Stepped:Wait()
  201.     else
  202.         for i = 0, t do
  203.             game:GetService('RunService').Stepped:Wait()
  204.         end
  205.     end
  206. end
  207.  
  208. gy = Instance.new('BodyGyro', root)
  209. gy.D = 450
  210. gy.P = 50000
  211. gy.MaxTorque = Vector3.new(0, 90000, 0)
  212. rj = root['RootJoint']
  213. rj0 = rj.C0
  214. v3 = Vector3.new
  215. sin = math.sin
  216. local anim = char:FindFirstChild('Animate')
  217. if anim then
  218.     anim:Destroy()
  219. end
  220. while true do
  221.     sine = sine + change
  222.     if root.Velocity.Magnitude < 2 then
  223.         change = 1
  224.         hum.CameraOffset = hum.CameraOffset:lerp(v3(0, 1.5, 0), 0.1)
  225.         rj.C0 = rj.C0:lerp(rj0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  226.     elseif root.Velocity.Magnitude < 20 then
  227.         change = 1
  228.         hum.CameraOffset = hum.CameraOffset:lerp(v3(0, 1.5 + sin(sine/3), 0), 0.1)
  229.         rj.C0 = rj.C0:lerp(rj0 * CFrame.Angles(math.rad(10 * math.sin(sine/3)), math.rad(0) - root.RotVelocity.Y / 35, math.rad(6 * math.cos(sine/3))), .1)
  230.     end
  231.     gy.CFrame = CFrame.new(root.Position, mse.Hit.p)
  232.     swait()
  233. end
  234. else
  235.     error('cannot recognize humanoid')
  236. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement