Advertisement
wamandnj

Untitled

Apr 20th, 2019
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------------
  2. -----SO BASICALLY IM JEVIL-----
  3. -------------------------------
  4.  
  5. --The original script is made by mrfunnylaughs4. This edit is by youngmacka123.
  6.  
  7. --V3--
  8.  
  9. local plr = owner
  10. local char = plr.Character
  11. local hum = char:FindFirstChildOfClass("Humanoid")
  12. local idleanim = Instance.new("Animation")
  13. idleanim.Name = "Roblox Idle Animation"
  14. idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  15. local idleanimplay = hum:LoadAnimation(idleanim)
  16. idleanimplay:Play()
  17. wait(0.1)
  18. if char:FindFirstChild("Animate") then
  19.     char.Animate:Destroy()
  20. end
  21. local remote = Instance.new("RemoteEvent", char)
  22. remote.Name = "ReplicationEvent"
  23. local client = NLS([==[
  24.     local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  25.     local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  26.     spawn(function()
  27.         while game:GetService("RunService").Heartbeat:Wait() do
  28.             remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  29.         end
  30.     end)
  31.     game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  32.         if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  33.             remote:FireServer(1, input.KeyCode)
  34.         end
  35.     end)
  36.     mouse.Button1Down:Connect(function()
  37.         remote:FireServer(2)
  38.     end)
  39.     remote.OnClientEvent:Connect(function()
  40.         game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
  41.     end)
  42. ]==], char)
  43. local crabrave = Instance.new("Sound", char.Torso)
  44. local RS = char.Torso["Right Shoulder"]
  45. local LS = char.Torso["Left Shoulder"]
  46. local RH = char.Torso["Right Hip"]
  47. local LH = char.Torso["Left Hip"]
  48. local rootj = char.HumanoidRootPart.RootJoint
  49. local throwbutton = false
  50. local throw = false
  51. local normalanim = true
  52. local attackd = false
  53. local animpose = "Idle"
  54. local timepos = 0
  55. local sine = 0
  56. local RSnor = RS.C0
  57. local LSnor = LS.C0
  58. local RHnor = RH.C0
  59. local LHnor = LH.C0
  60. local rootjnor = rootj.C0
  61.  
  62. ---------------------------------
  63. --------------Set up-------------
  64. ---------------------------------
  65.  
  66. local sur = Instance.new("BillboardGui", char.Head)
  67. sur.Name = "Billboard"
  68. sur.Adornee = char.Head
  69. sur.Size = UDim2.new(10, 0, 5, 0)
  70. sur.StudsOffset = Vector3.new(0, 5, 0)
  71. local text = Instance.new("TextLabel", sur)
  72. text.Text = "SO BASICALLY IM J_EVIL"
  73. text.Size = UDim2.new(1, 0, 1, 0)
  74. text.TextScaled = true
  75. text.BackgroundTransparency = 1
  76. text.Font = Enum.Font.Arcade
  77. text.TextColor3 = Color3.new(123, 47, 123)
  78. text.TextStrokeTransparency = 0
  79.  
  80. char = game.Players.TameDoNotClick.Character
  81. jevilhat = Instance.new("Accessory", char)
  82. handle = Instance.new("Part")
  83. handle.Parent = jevilhat
  84. handle.Size = Vector3.new(1.38, 1.31, 1.5)
  85. hatattatchment = Instance.new("Attachment")
  86. hatattatchment.Parent = handle
  87. hatattatchment.Axis = Vector3.new(1, 0, 0)
  88. hatattatchment.SecondaryAxis = Vector3.new(0, 1, 0)
  89. hatattatchment.Position = Vector3.new(0, -0.2, -0.3)
  90. hatattatchment.WorldAxis = Vector3.new(0.995, -0, 0.096)
  91. hatattatchment.WorldOrientation = Vector3.new(-0.264, -5.525, -0.001)
  92. hatattatchment.WorldPosition = Vector3.new(0.007, 5.081, -8.3)
  93. hatattatchment.WorldSecondaryAxis= Vector3.new(0, 1, -0.005)
  94. hatattatchment.Name = "HatAttachment"
  95. originalsize = Instance.new("Vector3Value")
  96. originalsize.Value = Vector3.new(0, 1, -0.005)
  97. accessoryweld = Instance.new("Weld")
  98. accessoryweld.Parent = handle
  99. accessoryweld.Part0 = handle
  100. accessoryweld.Part1 = char.Head
  101. mesh = Instance.new("SpecialMesh")
  102. mesh.Parent = handle
  103. mesh.MeshType = "FileMesh"
  104. mesh.Scale = Vector3.new(1,1,1)
  105. mesh.MeshId = "rbxassetid://193760002"
  106. mesh.Offset = Vector3.new(0, 0.85, 0.31)
  107. mesh.TextureId = "rbxassetid://3050975223"
  108.    
  109. char["Right Leg"].BrickColor = BrickColor.new("Baby blue")
  110. char["Left Leg"].BrickColor = BrickColor.new("Baby blue")
  111. char["Head"].BrickColor = BrickColor.new("Baby blue")
  112. char:FindFirstChild("Shirt"):Destroy()
  113. char:FindFirstChild("Pants"):Destroy()
  114.  
  115. shirt = Instance.new("Shirt")
  116. shirt.Parent = char
  117. shirt.Name = "Jevil Shirt"
  118. shirt.ShirtTemplate = "rbxassetid://2616334189"
  119. pants = Instance.new("Pants")
  120. pants.Parent = char
  121. pants.Name = "Jevil Pants"
  122. pants.PantsTemplate = "http://www.roblox.com/asset/?id=2616204122"
  123.    
  124.     char.Head.face.Texture = "rbxassetid://1111587497"
  125. ---------------------------------
  126. -------------Attacks-------------
  127. ---------------------------------
  128.  
  129. remote.OnServerEvent:Connect(function(Player, number, key)
  130.     if number == 1 and plr.Name == Player.Name and attackd == false then
  131.         if key == Enum.KeyCode.Z then
  132.             sine = 0
  133.             attackd = true
  134.             normalanim = false
  135.             hum.WalkSpeed = 0
  136.             hum.JumpPower = 0
  137.             for i = 1, 15 do
  138.                 game:GetService("RunService").Heartbeat:Wait()
  139.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(1.2, 0, 0) + Vector3.new(0, -1.6, 0), 0.15)
  140.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, 1.1) + Vector3.new(0, 0, -0.3), 0.15)
  141.                 LS.C0 = LS.C0:Lerp(LSnor, 0.15)
  142.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  143.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  144.             end
  145.             for i = 1, 20 do
  146.                 game:GetService("RunService").Heartbeat:Wait()
  147.                 LS.C0 = LS.C0 * CFrame.Angles(0, 0, -0.06) + Vector3.new(0, 0, -0.03)
  148.             end
  149.             local banpart = Instance.new("Part", char)
  150.             banpart.Size = Vector3.new(1, 1, 1)
  151.             banpart.CanCollide = false
  152.             local mesh = Instance.new("SpecialMesh", banpart)
  153.             mesh.MeshType = "FileMesh"
  154.             mesh.MeshId = "rbxassetid://28937301"
  155.             mesh.TextureId = "rbxassetid://28937670"
  156.             mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  157.             local weld = Instance.new("Weld", banpart)
  158.             weld.Part0 = char["Left Arm"]
  159.             weld.Part1 = banpart
  160.             weld.C1 = CFrame.new(0, 1, 0)
  161.             for i = 1, 20 do
  162.                 game:GetService("RunService").Heartbeat:Wait()
  163.                 rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
  164.                 RS.C0 = RS.C0:Lerp(RSnor, 0.15)
  165.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, -4), 0.15)
  166.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  167.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  168.             end
  169.             throwbutton = true
  170.             throw = true
  171.             repeat game:GetService("RunService").Heartbeat:Wait()
  172.                 remote:FireClient(plr)
  173.             until throw == false
  174.             for i = 1, 15 do
  175.                 game:GetService("RunService").Heartbeat:Wait()
  176.                 LS.C0 = LS.C0:Lerp(LS.C0 * CFrame.Angles(0, 0, 0.01), i)
  177.             end
  178.             banpart.Parent = workspace
  179.             weld:Destroy()
  180.             banpart.CanCollide = true
  181.             banpart.Velocity = char.HumanoidRootPart.CFrame.LookVector * 60
  182.             local start = LS.C0
  183.             for i = 1, 0, -1 / 15 do
  184.                 game:GetService("RunService").Heartbeat:Wait()
  185.                 LS.C0 = LSnor:Lerp(start, i * i)
  186.             end
  187.             normalanim = true
  188.             attackd = false
  189.             hum.WalkSpeed = 16
  190.             hum.JumpPower = 50
  191.             banpart.Touched:Connect(function(hit)
  192.                 if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
  193.                     local character = hit.Parent
  194.                     character:FindFirstChildOfClass("Humanoid").Sit = true
  195.                     local s = Instance.new("Sound", character.Head)
  196.                     s.SoundId = "rbxassetid://28976727"
  197.                     s.Volume = 10
  198.                     s:Play()
  199.                 end
  200.             end)
  201.             spawn(function()
  202.                 wait(15)
  203.                 if banpart.Parent == workspace then
  204.                     banpart:Destroy()
  205.                 end
  206.             end)
  207.         end
  208.         if key == Enum.KeyCode.X then
  209.             attackd = true
  210.             local bpart = Instance.new("Part", workspace)
  211.             bpart.Size = Vector3.new(2.4, 3.5, 2.4)
  212.             bpart.Locked = true
  213.             bpart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2)
  214.             bpart.Velocity = Vector3.new(0, 50, 0) + char.HumanoidRootPart.CFrame.LookVector * 50
  215.             local mesh = Instance.new("SpecialMesh", bpart)
  216.             mesh.MeshType = "FileMesh"
  217.             mesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  218.             mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  219.             mesh.TextureId = "http://www.roblox.com/asset/?id=31082268"
  220.             local update = 0.4
  221.             while update > 0.1 do
  222.                 local sound = Instance.new("Sound", bpart)
  223.                 sound.SoundId = "rbxasset://sounds\\clickfast.wav"
  224.                 sound.Volume = 5
  225.                 sound:Play()
  226.                 wait(update)
  227.                 update = update * 0.9
  228.             end
  229.             for i = 1, 50 do
  230.                 local banpart = Instance.new("Part", workspace)
  231.                 banpart.Size = Vector3.new(1, 1, 1)
  232.                 banpart.CanCollide = true
  233.                 banpart.CFrame = bpart.CFrame
  234.                 local bCFrame = CFrame.new(0, 0, 0)
  235.                 local bVel = Vector3.new(0, 0, 0)
  236.                 local mesh = Instance.new("SpecialMesh", banpart)
  237.                 mesh.MeshType = "FileMesh"
  238.                 mesh.MeshId = "rbxassetid://28937301"
  239.                 mesh.TextureId = "rbxassetid://28937670"
  240.                 mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  241.                 local weld = Instance.new("Weld", banpart)
  242.                 weld.Part0 = bpart
  243.                 weld.Part1 = banpart
  244.                 spawn(function()
  245.                     wait(1)
  246.                     banpart.Touched:Connect(function(hit)
  247.                         if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
  248.                             local character = hit.Parent
  249.                             character:FindFirstChildOfClass("Humanoid").Sit = true
  250.                             local s = Instance.new("Sound", character.Head)
  251.                             s.SoundId = "rbxassetid://28976727"
  252.                             s.Volume = 10
  253.                             s:Play()
  254.                         end
  255.                     end)
  256.                 end)
  257.                 spawn(function()
  258.                     while wait() do
  259.                         if banpart.Parent ~= workspace then
  260.                             banpart = Instance.new("Part", workspace)
  261.                             banpart.Size = Vector3.new(1, 1, 1)
  262.                             banpart.CanCollide = true
  263.                             mesh = Instance.new("SpecialMesh", banpart)
  264.                             mesh.MeshType = "FileMesh"
  265.                             mesh.MeshId = "rbxassetid://28937301"
  266.                             mesh.TextureId = "rbxassetid://28937670"
  267.                             mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  268.                             banpart.CFrame = bCFrame
  269.                             banpart.Velocity = bVel
  270.                             banpart.Touched:Connect(function(hit)
  271.                                 if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
  272.                                     local character = hit.Parent
  273.                                     character:FindFirstChildOfClass("Humanoid").Sit = true
  274.                                     local s = Instance.new("Sound", character.Head)
  275.                                     s.SoundId = "rbxassetid://28976727"
  276.                                     s.Volume = 10
  277.                                     s:Play()
  278.                                 end
  279.                             end)
  280.                         else
  281.                             bCFrame = banpart.CFrame
  282.                             bVel = banpart.Velocity
  283.                         end
  284.                     end
  285.                 end)
  286.             end
  287.             local explosion = Instance.new("Explosion", bpart)
  288.             explosion.Position = bpart.Position
  289.             local sound2 = Instance.new("Sound", bpart)
  290.             sound2.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  291.             sound2.Volume = 5
  292.             sound2:Play()
  293.             bpart.CanCollide = false
  294.             attackd = false
  295.         end
  296.         if key == Enum.KeyCode.C then
  297.             sine = 0
  298.             attackd = true
  299.             normalanim = false
  300.             hum.WalkSpeed = 0
  301.             hum.JumpPower = 0
  302.             for i = 1, 20 do
  303.                 game:GetService("RunService").Heartbeat:Wait()
  304.                 rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
  305.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, 4), 0.15)
  306.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, -4), 0.15)
  307.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  308.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  309.             end
  310.             local tpart = Instance.new("Part", char)
  311.             tpart.Size = Vector3.new(5.523, 6.19, 22.966)
  312.             tpart.Anchored = true
  313.             tpart.BrickColor = BrickColor.new("Pine Cone")
  314.             tpart.Material = "Wood"
  315.             tpart.CanCollide = false
  316.             tpart.CFrame = char["Right Arm"].CFrame * CFrame.Angles(math.pi, -math.pi / 2, 0) * CFrame.new(0, 4, 1)
  317.             local mesh = Instance.new("SpecialMesh", tpart)
  318.             mesh.MeshType = "FileMesh"
  319.             mesh.MeshId = "rbxassetid://1760841786"
  320.             wait(0.5)
  321.             for i = 1, 15 do
  322.                 game:GetService("RunService").Heartbeat:Wait()
  323.                 RS.C0 = RS.C0:Lerp(RS.C0 * CFrame.Angles(0, 0, -0.01), i)
  324.                 LS.C0 = LS.C0:Lerp(LS.C0 * CFrame.Angles(0, 0, 0.01), i)
  325.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  326.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  327.                 tpart.CFrame = char["Right Arm"].CFrame * CFrame.Angles(math.pi, -math.pi / 2, 0) * CFrame.new(0, 4, 1)
  328.             end
  329.             tpart.Anchored = false
  330.             tpart.Velocity = char.HumanoidRootPart.CFrame.LookVector * 100
  331.             tpart.CanCollide = true
  332.             tpart.Parent = workspace
  333.             spawn(function()
  334.                 wait(0.3)
  335.                 tpart.Touched:Connect(function(hit)
  336.                     if hit.Size.X + hit.Size.Y + hit.Size.Z < 1000 then
  337.                         hit:BreakJoints()
  338.                         hit.Anchored = false
  339.                         hit.Velocity = tpart.Velocity
  340.                     end
  341.                 end)
  342.             end)
  343.             for i = 1, 20 do
  344.                 game:GetService("RunService").Heartbeat:Wait()
  345.                 rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
  346.                 RS.C0 = RS.C0:Lerp(RSnor, 0.15)
  347.                 LS.C0 = LS.C0:Lerp(LSnor, 0.15)
  348.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  349.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  350.             end
  351.             attackd = false
  352.             normalanim = true
  353.             hum.WalkSpeed = 16
  354.             hum.JumpPower = 50
  355.         end
  356.     elseif Player.Name == plr.Name and number == 2 and throw == true and throwbutton == true then
  357.         throwbutton = false
  358.         throw = false
  359.     end
  360. end)
  361.  
  362. ---------------------------------
  363. -----------Wrapping up-----------
  364. ---------------------------------
  365.  
  366. while game:GetService("RunService").Heartbeat:Wait() do
  367.     if normalanim then
  368.         sine = sine + 1
  369.     end
  370.     if crabrave.Parent == char.Torso then
  371.         crabrave.SoundId = "rbxassetid://2533880583"
  372.         crabrave.Playing = true
  373.         crabrave.Volume = 1
  374.         crabrave.Looped = true
  375.         timepos = crabrave.TimePosition
  376.     else
  377.         crabrave = Instance.new("Sound", char.Torso)
  378.         crabrave.TimePosition = timepos
  379.     end
  380.     if remote.Parent == char then
  381.         remote.Name = "ReplicationEvent"
  382.     else
  383.         remote = Instance.new("RemoteEvent", char)
  384.     end
  385.     local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  386.     if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
  387.         animpose = "Walking"
  388.     elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
  389.         animpose = "Jumping"
  390.     elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
  391.         animpose = "Falling"
  392.     else
  393.         animpose = "Idle"
  394.     end
  395.     if animpose == "Idle" and normalanim then
  396.         RS.C0 = RSnor * CFrame.Angles(0, 0, 1 + math.sin(sine / 5))
  397.         LS.C0 = LSnor * CFrame.Angles(0, 0, -1 + math.sin(sine / 5))
  398.         RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  399.         LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  400.         rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  401.     elseif animpose == "Walking" and normalanim then
  402.         RS.C0 = RSnor * CFrame.Angles(0, 0, 1 + math.sin(sine / 5))
  403.         LS.C0 = LSnor * CFrame.Angles(0, 0, -1 + math.sin(sine / 5))
  404.         RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 10)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  405.         LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 10)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  406.         rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  407.     elseif animpose == "Jumping" and normalanim then
  408.         rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
  409.         RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.15)
  410.         LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.15)
  411.         RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  412.         LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  413.     elseif animpose == "Falling" and normalanim then
  414.         rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
  415.         RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.15)
  416.         LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.15)
  417.         RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  418.         LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  419.     end
  420. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement