Advertisement
wamandnj

Untitled

Oct 15th, 2018
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. local mp = owner
  88. while wait() do if mp.Character then break end end
  89. local disable = nil
  90. if mp:FindFirstChild("disable") then
  91.     disable = mp.disable
  92. else
  93.     disable = Instance.new("BoolValue",mp)
  94.     disable.Name = "disable"
  95.     disable.Value = false
  96. end
  97. local mpc = mp.Character
  98. local rs = mpc.Torso["Right Shoulder"]
  99. local ls = mpc.Torso["Left Shoulder"]
  100. local rh = mpc.Torso["Right Hip"]
  101. local lh = mpc.Torso["Left Hip"]
  102. local neck = mpc.Torso.Neck
  103. local spam = false
  104. local susano = false
  105. local sharingan = false
  106. local mana = 100
  107. local torso,ta,head,neck,sr,rw,sl,lw = nil,nil,nil,nil,nil,nil,nil,nil
  108. local charge = false
  109. function chat(text)
  110.     game:GetService("Chat"):Chat(mpc.Head, text)
  111. end
  112. function fw(wf)
  113.     game:GetService("RunService").Stepped:wait(wf)
  114. end
  115. mouse.KeyDown:connect(function(key)
  116. if disable.Value == true then return end
  117. ypcall(function()
  118.     if key == "f" and spam == false and mana>=25 then
  119.         spam = true
  120.         for i=1,15 do
  121.             rs.C0 = rs.C0 * CFrame.Angles(0,0,0.1)
  122.             fw(0.25)
  123.         end
  124.         mana=mana-25
  125.         chat("Rasengan!")
  126.         local ras = Instance.new("Part",workspace)
  127.         ras.Name = "Rasengan"
  128.         ras.FormFactor = "Custom"
  129.         ras.Size = Vector3.new(2, 2, 2)
  130.         ras.TopSurface = "Smooth"
  131.         ras.BottomSurface = "Smooth"
  132.         ras.BrickColor = BrickColor.new("Cyan")
  133.         local rm = Instance.new("SpecialMesh",ras)
  134.         rm.MeshType = "Sphere"
  135.         rm.Scale = Vector3.new(1.25,1.25,1.25)
  136.         local weld = Instance.new("Weld",ras)
  137.         weld.Part0 = mpc["Right Arm"]
  138.         weld.Part1 = ras
  139.         weld.C0 = CFrame.new(0,-2,0)
  140.         local once = false
  141.         mpc.Humanoid.WalkSpeed = 100
  142.         ras.Touched:connect(function(hit)
  143.             if once == true then return end
  144.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= mp.Name then
  145.                 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 40
  146.                 hit.Parent.Humanoid.Sit = true
  147.                 if hit.Parent:FindFirstChild("Torso") then
  148.                     hit.Parent.Torso.Velocity = mpc.Torso.CFrame.lookVector*80
  149.                 end
  150.                 mpc.Humanoid.WalkSpeed = 16
  151.                 ras:remove()               
  152.                 once = true
  153.                 for i=1,15 do
  154.                     rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  155.                     fw(0.25)
  156.                 end
  157.                 chat("Haa!")   
  158.             end    
  159.         end)
  160.         if once == false then
  161.             wait(5)
  162.             if once == false then
  163.                 ras:remove()
  164.                 mpc.Humanoid.WalkSpeed = 16
  165.                 for i=1,15 do
  166.                     rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  167.                     fw(0.25)
  168.                 end        
  169.             end
  170.         end
  171.         spam = false
  172.     elseif key == "g" and spam == false and mana>=40 then
  173.         spam = true
  174.         mana = mana - 40
  175.         chat("Katon: FireBall Jutsu!")
  176.         for i=1,15 do
  177.             rs.C0 = rs.C0 * CFrame.Angles(0,0,0.1)
  178.             ls.C0 = ls.C0 * CFrame.Angles(0,0,-0.1)
  179.             fw(0.25)
  180.         end
  181.         for i=1,10 do
  182.             rs.C0 = rs.C0 * CFrame.Angles(0.1,0,0)
  183.             ls.C0 = ls.C0 * CFrame.Angles(0.1,0,0)
  184.             fw(0.25)
  185.         end
  186.         local fb = Instance.new("Part",workspace)
  187.         fb.Shape = "Ball"
  188.         fb.BrickColor = BrickColor:Red()
  189.         fb.Size = Vector3.new(15,15,15)
  190.         fb.TopSurface = "Smooth"
  191.         fb.BottomSurface = "Smooth"
  192.         fb.CFrame = mpc.Torso.CFrame * CFrame.new(0,7.5,-15)
  193.         local fire = Instance.new("Fire",fb)
  194.         fire.Color = Color3.new(255,0,0)
  195.         fire.SecondaryColor = Color3.new(255,0,0)
  196.         fire.Heat = 40
  197.         fire.Size = 40
  198.         local dir = Instance.new("BodyVelocity",fb)
  199.         dir.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  200.         dir.velocity = mpc.Torso.CFrame.lookVector*80      
  201.         local once = false
  202.         fb.Touched:connect(function(hit)
  203.             if once == true then return end
  204.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Humanoid") and hit.Parent:FindFirstChild("Torso") and hit.Parent.Name ~= mp.Name then
  205.                 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 60
  206.                 once = true
  207.                 dir:remove()
  208.                 chat("Hmph..")
  209.                 fb.Anchored = true
  210.                 fb.Size = Vector3.new(50,50,50)
  211.                 fb.CFrame = hit.Parent.Torso.CFrame
  212.                 wait(5)
  213.                 fb:remove()
  214.             end
  215.         end)
  216.         if once ~= true then
  217.             wait(5)
  218.             fb:remove()
  219.         end
  220.         for i=1,10 do
  221.             rs.C0 = rs.C0 * CFrame.Angles(-0.1,0,0)
  222.             ls.C0 = ls.C0 * CFrame.Angles(-0.1,0,0)
  223.             fw(0.25)
  224.         end
  225.         for i=1,15 do
  226.             rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  227.             ls.C0 = ls.C0 * CFrame.Angles(0,0,0.1)
  228.             fw(0.25)
  229.         end
  230.         spam = false
  231.     elseif key == "q" and spam == false and mana>=20 then
  232.         spam = true
  233.         mana = mana - 80
  234.         chat("Headhunter")
  235.         mpc.Humanoid.WalkSpeed = 20
  236.         local once = false
  237.         local t = nil      
  238.         mpc.Torso.Touched:connect(function(hit)
  239.             if once == true then return end
  240.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Torso") and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= mp.Name then
  241.                 once = true
  242.                 hit.Parent.Torso.Anchored = true
  243.                 mpc.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(0,0,10)
  244.                 wait(0.15)
  245.                 hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(0,-3.5,0)
  246.                 t = hit.Parent.Torso
  247.                 chat("Hmph")
  248.             end
  249.         end)
  250.         wait(5)
  251.         mpc.Humanoid.WalkSpeed = 16
  252.         if once == true then
  253.             wait(1.5)
  254.             t.Parent.Humanoid.Health = t.Parent.Humanoid.Health - 10
  255.             t.CFrame = t.CFrame * CFrame.new(0,3.5,0)
  256.             t.Anchored = false
  257.         else
  258.             once = true    
  259.         end
  260.         spam = false
  261.     elseif key == "c" and spam == false and mana<100 then
  262.         spam = true
  263.         local fire = Instance.new("Fire",mpc.Torso)
  264.         fire.Heat = 0
  265.         fire.Size = 5
  266.         fire.Color = Color3.new(0,0,255)
  267.         for i=1,10 do
  268.             rs.C0 = rs.C0 * CFrame.Angles(0,0,0.1)
  269.             ls.C0 = ls.C0 * CFrame.Angles(0,0,-0.1)
  270.             fw(0.25)
  271.         end
  272.         for i=1,10 do
  273.             rs.C0 = rs.C0 * CFrame.Angles(0.1,0,0)
  274.             ls.C0 = ls.C0 * CFrame.Angles(0.1,0,0)
  275.             fw(0.25)
  276.         end
  277.         charge = true
  278.     elseif key == "e" and spam == false and mana>=20 then
  279.         spam = true
  280.         chat("64 Palms and 32 Trigrams!")
  281.         mana=mana-80
  282.         for i=1,15 do
  283.             rs.C0 = rs.C0 * CFrame.Angles(0,0,0.1)
  284.         end
  285.        
  286.         local once = false
  287.         local finished = false
  288.         mpc["Right Arm"].Touched:connect(function(hit)
  289.             if once == true then return end
  290.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Torso") and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= mp.Name then
  291.                 once = true
  292.                 for i=1,15 do
  293.                     ls.C0 = ls.C0 * CFrame.Angles(0,0,-0.1)
  294.                 end
  295.                 hit.Parent.Torso.Anchored = true           
  296.                 for i=1,64,2 do
  297.                     chat(tostring(i))
  298.                     ls.C0 = ls.C0 * CFrame.new(0,-1,0)
  299.                     rs.C0 = rs.C0 * CFrame.new(0,-1,0)
  300.                     fw(0.25)
  301.                     chat(tostring(i+1))
  302.                     ls.C0 = ls.C0 * CFrame.new(0,1,0)
  303.                     rs.C0 = rs.C0 * CFrame.new(0,1,0)
  304.                     hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 3
  305.                     fw(0.25)
  306.                 end
  307.                 chat("HAA!")
  308.                 hit.Parent.Torso.Anchored = false
  309.                 wait()
  310.                 hit.Parent.Humanoid.Sit = true
  311.                 hit.Parent.Torso.Velocity = mpc.Torso.CFrame.lookVector*80
  312.                 for i=1,15 do
  313.                     rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  314.                 end
  315.                 for i=1,15 do
  316.                     ls.C0 = ls.C0 * CFrame.Angles(0,0,0.1)
  317.                 end
  318.                 finished = true
  319.             end
  320.         end)
  321.         wait(3)
  322.         if once == true then
  323.             while wait() do
  324.                 if finished == true then
  325.                     break
  326.                 end
  327.             end
  328.         else
  329.             for i=1,15 do
  330.                 rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  331.             end
  332.             finished = true
  333.             once = true
  334.         end
  335.         spam = false
  336.     elseif key == "h" and spam == false and mana==100 then
  337.         if susano == false then
  338.             spam = true
  339.             mana=mana-100
  340.             chat("Susano'o!")
  341.             wait(1)
  342.             local model = mpc
  343.             torso = Instance.new("Part",model)
  344.             torso.Name = "Torso"
  345.             torso.Transparency = 0.4
  346.             torso.BrickColor = BrickColor.new(107)
  347.             torso.Size = Vector3.new(25.4,29,17.6)
  348.             torso.CFrame = mpc.Torso.CFrame * CFrame.new(0,26,0)
  349.             torso.TopSurface = "Smooth"
  350.             torso.BottomSurface = "Smooth"
  351.             ta = Instance.new("Weld",torso)
  352.             ta.Part0 = mpc.Torso
  353.             ta.Part1 = torso
  354.             ta.C0 = CFrame.new(0,torso.Size/2,0)
  355.             head = Instance.new("Part",model)
  356.             head.Name = "Head"
  357.             head.Transparency = 0.4
  358.             head.BrickColor = BrickColor.new(107)
  359.             head.TopSurface = "Smooth"
  360.             head.BottomSurface = "Smooth"
  361.             head.Size = Vector3.new(25.4,14.2,17.6)
  362.             neck = Instance.new("Weld",head)
  363.             neck.Part0 = torso
  364.             neck.Part1 = head
  365.             neck.C0 = CFrame.new(0,(29/2)+7,0)
  366.             local cool = Instance.new("SpecialMesh",head)
  367.             cool.MeshType = "FileMesh"
  368.             cool.MeshId = "http://www.roblox.com/asset/?id=1090446"
  369.             cool.Scale = Vector3.new(10, 7, 10)
  370.             cool.TextureId = "http://www.roblox.com/asset/?id=36761415"
  371.             sr = Instance.new("Part",model)
  372.             sr.Name = "Right Arm"
  373.             sr.Transparency = 0.04
  374.             sr.BrickColor = BrickColor.new(107)
  375.             sr.TopSurface = "Smooth"
  376.             sr.BottomSurface = "Smooth"
  377.             sr.FormFactor = "Custom"
  378.             sr.Size = Vector3.new(12,29,17.6)
  379.             rw = Instance.new("Weld",sr)
  380.             rw.Part0 = torso
  381.             rw.Part1 = sr
  382.             rw.C0 = CFrame.new(25.4-7,0,0)
  383.             sl = Instance.new("Part",model)
  384.             sl.Name = "Left Arm"
  385.             sl.Transparency = 0.04
  386.             sl.BrickColor = BrickColor.new(107)
  387.             sl.TopSurface = "Smooth"
  388.             sl.BottomSurface = "Smooth"
  389.             sl.FormFactor = "Custom"
  390.             sl.Size = Vector3.new(12,29,17.6)
  391.             lw = Instance.new("Weld",sl)
  392.             lw.Part0 = torso
  393.             lw.Part1 = sl
  394.             lw.C0 = CFrame.new(-25.4+7,0,0)
  395.             mpc.Humanoid.WalkSpeed = 30
  396.             susano = true
  397.             spam = false
  398.         else
  399.             spam = true
  400.             ta:remove() neck:remove() rw:remove() lw:remove() torso:remove() head:remove() sr:remove() sl:remove()
  401.             susano = false
  402.             spam = false
  403.         end
  404.     elseif key == "k" and spam == false and susano == true then
  405.         spam = true
  406.         for i=1,60 do
  407.             rw.C0 = rw.C0 * CFrame.Angles(0.01,0,0)
  408.             fw(0.25)
  409.         end
  410.         local once = false
  411.         sr.Touched:connect(function(hit)
  412.             if once == true then return end
  413.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Torso") and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= mp.Name then
  414.                 once = true
  415.                 hit.Parent.Humanoid.Sit = true
  416.                 hit.Parent.Torso.Velocity = mpc.Torso.CFrame.lookVector*math.random(80,100)
  417.                 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(60,80)
  418.                 for i=1,60 do
  419.                     rw.C0 = rw.C0 * CFrame.Angles(-0.01,0,0)
  420.                     fw(0.25)
  421.                 end
  422.             end
  423.         end)
  424.         wait(5)
  425.         if once == false then
  426.             for i=1,60 do
  427.                 rw.C0 = rw.C0 * CFrame.Angles(-0.01,0,0)
  428.                 fw(0.25)
  429.             end
  430.             once = true
  431.         end
  432.         spam = false
  433.         elseif key == "j" and spam == false and susano == true then
  434.         spam = true
  435.         for i=1,60 do
  436.             lw.C0 = lw.C0 * CFrame.Angles(0.01,0,0)
  437.             fw(0.25)
  438.         end
  439.         local once = false
  440.         sl.Touched:connect(function(hit)
  441.             if once == true then return end
  442.             if hit.Parent.ClassName == "Model" and hit.Parent:FindFirstChild("Torso") and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= mp.Name then
  443.                 once = true
  444.                 hit.Parent.Humanoid.Sit = true
  445.                 hit.Parent.Torso.Velocity = mpc.Torso.CFrame.lookVector*math.random(80,100)
  446.                 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(60,80)
  447.                 for i=1,60 do
  448.                     lw.C0 = lw.C0 * CFrame.Angles(-0.01,0,0)
  449.                     fw(0.25)
  450.                 end
  451.             end
  452.         end)
  453.         wait(5)
  454.         if once == false then
  455.             for i=1,60 do
  456.                 lw.C0 = lw.C0 * CFrame.Angles(-0.01,0,0)
  457.                 fw(0.25)
  458.             end
  459.             once = true
  460.         end
  461.         spam = false
  462.     elseif key == "r" then
  463.         if sharingan == false then 
  464.             mpc.Head.face.Texture = "http://www.roblox.com/asset/?id=73586045"
  465.             sharingan = true
  466.             for k,v in pairs(workspace:GetChildren()) do
  467.                 if v.ClassName == "Model" and v:FindFirstChild("Torso") and v.Name ~= mp.Name then
  468.                     local bg = Instance.new("BillboardGui",workspace.CurrentCamera)
  469.                     bg.Name = "psw"
  470.                     bg.Size = UDim2.new(1,0,1)
  471.                     bg.AlwaysOnTop = true
  472.                     bg.Adornee = v.Torso
  473.                     local frame = Instance.new("Frame",bg)
  474.                     frame.Size = UDim2.new(0,10,0,10)
  475.                     frame.BackgroundColor3 = Color3.new(21,0,0)
  476.                     frame.BorderColor3 = Color3.new(0,0,0)
  477.                     frame.BorderSizePixel = 5
  478.                 end
  479.             end
  480.         else
  481.             mpc.Head.face.Texture = "rbxasset://textures/face.png"
  482.             sharingan = false
  483.             workspace.CurrentCamera:ClearAllChildren()
  484.         end
  485.     end
  486. end)
  487. end)
  488.  
  489. mouse.KeyUp:connect(function(key)
  490. if disable.Value == true then return end
  491. ypcall(function()
  492.     if key == "c" and charge == true then
  493.         charge = false     
  494.         mpc.Torso.Fire:remove()
  495.         for i=1,10 do
  496.             rs.C0 = rs.C0 * CFrame.Angles(-0.1,0,0)
  497.             ls.C0 = ls.C0 * CFrame.Angles(-0.1,0,0)
  498.             fw(0.25)
  499.         end
  500.         for i=1,10 do
  501.             rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.1)
  502.             ls.C0 = ls.C0 * CFrame.Angles(0,0,0.1)
  503.             fw(0.25)
  504.         end
  505.         spam = false
  506.     end
  507. end)
  508. end)
  509.  
  510. game:GetService("RunService").Stepped:connect(function()
  511.     if charge == true and mana<100 then
  512.         mana = mana + 1
  513.         wait(1)
  514.     end
  515. end)
  516.  
  517. game:GetService("RunService").Stepped:connect(function()
  518.     ypcall(function()
  519.         if mana<=0 then    
  520.             mp.PlayerGui.Main.Chakra.Text = "Chakra: 0"
  521.         else
  522.             mp.PlayerGui.Main.Chakra.Text = "Chakra: "..mana
  523.         end
  524.     end)
  525. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement