Advertisement
Guest User

CHRIS CJ DICK

a guest
Mar 28th, 2019
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has convert to FE by xI0Anger0Ix and XxTheAdminCretorxX
  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,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8.     print("thanks to xI0Anger0Ix and xxtheadmincreatorxx for converting this script. have a great time")
  9.     local rp = RealPlayer
  10.     script.Parent = rp.Character
  11.    
  12.     --RemoteEvent for communicating
  13.     local Event = Instance.new("RemoteEvent")
  14.     Event.Name = "UserInput_Event"
  15.  
  16.     --Fake event to make stuff like Mouse.KeyDown work
  17.     local function fakeEvent()
  18.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19.         t.connect = t.Connect
  20.         return t
  21.     end
  22.  
  23.     --Creating fake input objects with fake variables
  24.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28.     end}
  29.     --Merged 2 functions into one by checking amount of arguments
  30.     CAS.UnbindAction = CAS.BindAction
  31.  
  32.     --This function will trigger the events that have been :Connect()'ed
  33.    local function te(self,ev,...)
  34.        local t = m[ev]
  35.        if t and t._fakeEvent then
  36.            for _,f in pairs(t.Functions) do
  37.                f(...)
  38.            end
  39.        end
  40.    end
  41.    m.TrigEvent = te
  42.    UIS.TrigEvent = te
  43.  
  44.    Event.OnServerEvent:Connect(function(plr,io)
  45.        if plr~=rp then return end
  46.        m.Target = io.Target
  47.        m.Hit = io.Hit
  48.        if not io.isMouse then
  49.            local b = io.UserInputState == Enum.UserInputState.Begin
  50.            if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51.                return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52.            end
  53.            for _,t in pairs(CAS.Actions) do
  54.                for _,k in pairs(t.Keys) do
  55.                    if k==io.KeyCode then
  56.                        t.Function(t.Name,io.UserInputState,io)
  57.                    end
  58.                end
  59.            end
  60.            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61.            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62.        end
  63.    end)
  64.    Event.Parent = NLS([==[
  65.    local Player = game:GetService("Players").LocalPlayer
  66.    local Event = script:WaitForChild("UserInput_Event")
  67.  
  68.    local Mouse = Player:GetMouse()
  69.    local UIS = game:GetService("UserInputService")
  70.    local input = function(io,a)
  71.        if a then return end
  72.        --Since InputObject is a client-side instance, we create and pass table instead
  73.        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74.    end
  75.    UIS.InputBegan:Connect(input)
  76.    UIS.InputEnded:Connect(input)
  77.  
  78.    local h,t
  79.    --Give the server mouse data 30 times every second, but only if the values changed
  80.    --If player is not moving their mouse, client won't fire events
  81.     while wait(1/30) do
  82.         if h~=Mouse.Hit or t~=Mouse.Target then
  83.             h,t=Mouse.Hit,Mouse.Target
  84.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  85.         end
  86.     end]==],Player.Character)
  87.  
  88.     ----Sandboxed game object that allows the usage of client-side methods and services
  89.     --Real game object
  90.     local _rg = game
  91.  
  92.     --Metatable for fake service
  93.     local fsmt = {
  94.         __index = function(self,k)
  95.             local s = rawget(self,"_RealService")
  96.             if s then return s[k] end
  97.         end,
  98.         __newindex = function(self,k,v)
  99.             local s = rawget(self,"_RealService")
  100.             if s then s[k]=v end
  101.         end,
  102.         __call = function(self,...)
  103.             local s = rawget(self,"_RealService")
  104.             if s then return s(...) end
  105.         end
  106.     }
  107.     local function FakeService(t,RealService)
  108.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109.         return setmetatable(t,fsmt)
  110.     end
  111.  
  112.     --Fake game object
  113.     local g = {
  114.         GetService = function(self,s)
  115.             return self[s]
  116.         end,
  117.         Players = FakeService({
  118.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119.         },"Players"),
  120.         UserInputService = FakeService(UIS,"UserInputService"),
  121.         ContextActionService = FakeService(CAS,"ContextActionService"),
  122.     }
  123.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124.     g.service = g.GetService
  125.    
  126.     g.RunService = FakeService({
  127.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  128.         BindToRenderStep = function(self,name,_,fun)
  129.  
  130.         end,
  131.         UnbindFromRenderStep = function(self,name)
  132.             self._btrs[name]:Disconnect()
  133.         end,
  134.     },"RunService")
  135.  
  136.     setmetatable(g,{
  137.         __index=function(self,s)
  138.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  139.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140.         end,
  141.         __newindex = fsmt.__newindex,
  142.         __call = fsmt.__call
  143.     })
  144.     --Changing owner to fake player object to support owner:GetMouse()
  145.     game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148. local oc = oc or function(...) return ... end
  149.  
  150. function weld(p0,p1,c0,c1,par)
  151. local w = Instance.new("Weld",p0 or par)
  152. w.Part0 = p0
  153. w.Part1 = p1
  154. w.C0 = c0 or CFrame.new()
  155. w.C1 = c1 or CFrame.new()
  156. return w
  157. end
  158.  
  159. function lerp(a, b, t)
  160.     return a + (b - a)*t
  161. end
  162.  
  163. do
  164.         local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end
  165.          
  166.         local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end
  167.          
  168.         local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta  else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp        end
  169.  
  170.         function clerp(a,b,t)
  171.                 local qa = {QuaternionFromCFrame(a)}
  172.                 local qb = {QuaternionFromCFrame(b)}
  173.                 local ax, ay, az = a.x, a.y, a.z
  174.                 local bx, by, bz = b.x, b.y, b.z
  175.  
  176.                 local _t = 1-t
  177.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  178.         end
  179. end
  180. local his = {}
  181.  
  182. function ctween(tar,prop,c2,t,b)
  183.         local function doIt()
  184.         local now = tick()
  185.         his[tar] = now
  186.         local c1 = tar[prop]
  187.         for i=1,t do
  188.                 if his[tar] ~= now then return end
  189.                 tar[prop] = clerp(c1,c2,1/t*i)
  190.                 wait(1/60)
  191.         end
  192.         end
  193.         if b then coroutine.wrap(doIt)() else doIt() end
  194. end
  195.  
  196. function tickwave(time,length,offset)
  197.         return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  198. end
  199.  
  200. function playSound(id,parent,volume,pitch)
  201.         local sound = Instance.new("Sound",parent or workspace)
  202.         sound.SoundId = "http://www.roblox.com/asset?id="..id
  203.         sound.Volume = volume or 1
  204.         sound.Pitch = pitch or 1
  205.         coroutine.wrap(function()
  206.                 wait()
  207.                 sound:Play()
  208.                 wait(10)
  209.                 sound:Stop()
  210.                 sound:Destroy()
  211.         end)()
  212.         return sound
  213. end
  214.  
  215. local plr = game.Players.LocalPlayer
  216. local char = plr.Character
  217. local mouse = plr:GetMouse()
  218.  
  219. local nk = char.Torso.Neck
  220. local nk0 = CFrame.new(0,1,0) * CFrame.Angles(-math.pi/2,0,math.pi)
  221. local ra,la = char["Right Arm"], char["Left Arm"]
  222. ra:BreakJoints()
  223. la:BreakJoints()
  224. local rs = weld(char.Torso,ra,CFrame.new(1.25,.5,0), CFrame.new(-.25,.5,0),stuff)
  225. local ls = weld(char.Torso,la,CFrame.new(-1.25,.5,0), CFrame.new(.25,.5,0),stuff)
  226. ls.Part1.FrontSurface = "Hinge"
  227. rs.Part1.FrontSurface = "Hinge"
  228. local rs0 = rs.C0
  229. local ls0 = ls.C0
  230.  
  231. local color1 = BrickColor.new("Dark gray")
  232. local color2 = BrickColor.new("Navy blue")
  233.  
  234. local stuff = Instance.new("Model",char)
  235. pcall(function() char["Hammur"]:Destroy() end)
  236. stuff.Name = "Hammur"
  237. wait(.5)
  238. local handle = Instance.new("Part")
  239. handle.FormFactor = "Custom"
  240. handle.BrickColor = color1
  241. handle.Reflectance = .25
  242. handle.Size = Vector3.new(.5,5,.5)
  243. handle.TopSurface = "Smooth"
  244. handle.BottomSurface = "Smooth"
  245. handle.CanCollide = false
  246. handle.Parent = stuff
  247.  
  248. local grip = weld(char["Right Arm"],handle,CFrame.new(0,-.95,0)*CFrame.Angles(math.rad(-90),0,0),CFrame.new(0,-1.4,0))
  249. local grip0 = grip.C0
  250. local hamend = handle:Clone()
  251. Instance.new("BlockMesh",hamend)
  252. hamend.Parent = stuff
  253. hamend.Size = Vector3.new(2,2,3.5)
  254. local hamwel = weld(handle,hamend,CFrame.new(0,3,0))
  255. local hamsd1 = hamend:Clone()
  256. hamsd1.Mesh.Scale = Vector3.new(1,1,1)
  257. hamsd1.Parent = stuff
  258. hamsd1.Size = Vector3.new(2.3,2.3,.3)
  259. weld(hamend,hamsd1,CFrame.new(0,0,1.75))
  260. local hamsd2 = hamsd1:Clone()
  261. hamsd2.Parent = stuff
  262. weld(hamend,hamsd2,CFrame.new(0,0,-1.75))
  263. local hamp = hamsd1:Clone()
  264. hamp.Parent = stuff
  265. hamp.Size = Vector3.new(.2,.2,3.5)
  266. weld(hamend,hamp,CFrame.new(.95,.95,0))
  267. hamp = hamp:Clone()
  268. hamp.Parent = stuff
  269. weld(hamend,hamp,CFrame.new(.95,-.95,0))
  270. hamp = hamp:Clone()
  271. hamp.Parent = stuff
  272. weld(hamend,hamp,CFrame.new(-.95,-.95,0))
  273. hamp = hamp:Clone()
  274. hamp.Parent = stuff
  275. weld(hamend,hamp,CFrame.new(-.95,.95,0))
  276. hamp = hamp:Clone()
  277. hamp.BrickColor = color2
  278. hamp.Reflectance = .2
  279. hamp.Size = Vector3.new(.2,.2,2.5)
  280. hamp.Parent = stuff
  281. weld(hamend,hamp,CFrame.new(0,.95,0))
  282. hamp = hamp:Clone()
  283. hamp.Parent = stuff
  284. weld(hamend,hamp,CFrame.new(0,-.95,0))
  285. hamp = hamp:Clone()
  286. hamp.Parent = stuff
  287. weld(hamend,hamp,CFrame.new(.95,0,0))
  288. hamp = hamp:Clone()
  289. hamp.Parent = stuff
  290. weld(hamend,hamp,CFrame.new(-.95,0,0))
  291. hamp = handle:Clone()
  292. hamp.BrickColor = color2
  293. hamp.Reflectance = .2
  294. hamp.Parent = stuff
  295. hamp.Size = Vector3.new(.4,.2,.4)
  296. Instance.new("CylinderMesh",hamp)
  297. weld(hamend,hamp,CFrame.new(0,-.955,1.2))
  298. hamp = hamp:Clone()
  299. hamp.Parent = stuff
  300. weld(hamend,hamp,CFrame.new(0,-.955,-1.2))
  301. hamp = hamp:Clone()
  302. hamp.Parent = stuff
  303. weld(hamend,hamp,CFrame.new(0,.955,1.2))
  304. hamp = hamp:Clone()
  305. hamp.Parent = stuff
  306. weld(hamend,hamp,CFrame.new(0,.955,-1.2))
  307. hamp = hamp:Clone()
  308. hamp.Parent = stuff
  309. weld(hamend,hamp,CFrame.new(.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  310. hamp = hamp:Clone()
  311. hamp.Parent = stuff
  312. weld(hamend,hamp,CFrame.new(.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  313. hamp = hamp:Clone()
  314. hamp.Parent = stuff
  315. weld(hamend,hamp,CFrame.new(-.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  316. hamp = hamp:Clone()
  317. hamp.Parent = stuff
  318. weld(hamend,hamp,CFrame.new(-.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  319. hamp = hamp:Clone()
  320. hamp.Parent = stuff
  321. weld(hamend,hamp,CFrame.new(.6,.955,0))
  322. hamp = hamp:Clone()
  323. hamp.Parent = stuff
  324. weld(hamend,hamp,CFrame.new(-.6,.955,0))
  325. hamp = hamp:Clone()
  326. hamp.Parent = stuff
  327. weld(hamend,hamp,CFrame.new(.6,-.955,0))
  328. hamp = hamp:Clone()
  329. hamp.Parent = stuff
  330. weld(hamend,hamp,CFrame.new(-.6,-.955,0))
  331. hamp = hamp:Clone()
  332. hamp.Parent = stuff
  333. weld(hamend,hamp,CFrame.new(-.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  334. hamp = hamp:Clone()
  335. hamp.Parent = stuff
  336. weld(hamend,hamp,CFrame.new(-.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  337. hamp = hamp:Clone()
  338. hamp.Parent = stuff
  339. weld(hamend,hamp,CFrame.new(.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  340. hamp = hamp:Clone()
  341. hamp.Parent = stuff
  342. weld(hamend,hamp,CFrame.new(.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  343. local luacyl = hamp:Clone()
  344. luacyl.BrickColor = BrickColor.Blue()
  345. luacyl.Parent = stuff
  346. luacyl.Mesh.Scale = Vector3.new(1,.2,1)
  347. luacyl.Size = Vector3.new(2,.2,2)
  348. weld(hamsd1,luacyl,CFrame.new(0,0,.14) * CFrame.Angles(math.rad(90),0,0))
  349. hamp = luacyl:Clone()
  350. hamp.BrickColor = BrickColor.White()
  351. hamp.Parent = stuff
  352. hamp.Size = Vector3.new(.7,.2,.7)
  353. weld(luacyl,hamp,CFrame.new(.35,.01,-.35))
  354. local luamoon = luacyl:Clone()
  355. luamoon.Parent = stuff
  356. luamoon.Size = Vector3.new(.7,.2,.7)
  357. local mnw = weld(luacyl,luamoon,CFrame.new(1.2,.02,-1.2))
  358. for r = 1,180,10 do
  359.         local r2 = 2 * (math.pi/180*r)
  360.         local l = hamsd1:Clone()
  361.         l.Parent = stuff
  362.         l.BrickColor = luacyl.BrickColor
  363.         l.Size = Vector3.new(.3,.2,.2)
  364.         l.Mesh.Scale = Vector3.new(1,.3,.3)
  365.         weld(luacyl,l,CFrame.new(Vector3.new(math.sin(r2)*1.7,0,math.cos(r2)*1.7),Vector3.new()))
  366. end
  367. hamp = hamend:Clone()
  368. hamp.BrickColor = color2
  369. hamp.Reflectance = .2
  370. hamp.Size = Vector3.new(.2,.2,3.5)
  371. hamp.Mesh.Scale = Vector3.new(.25,.25,1)
  372. hamp.Parent = stuff
  373. weld(hamend,hamp,CFrame.new(-1.05,.95,0))
  374. hamp = hamp:Clone()
  375. hamp.Parent = stuff
  376. weld(hamend,hamp,CFrame.new(-.95,1.05,0))
  377. hamp = hamp:Clone()
  378. hamp.Parent = stuff
  379. weld(hamend,hamp,CFrame.new(1.05,.95,0))
  380. hamp = hamp:Clone()
  381. hamp.Parent = stuff
  382. weld(hamend,hamp,CFrame.new(.95,1.05,0))
  383. hamp = hamp:Clone()
  384. hamp.Parent = stuff
  385. weld(hamend,hamp,CFrame.new(1.05,-.95,0))
  386. hamp = hamp:Clone()
  387. hamp.Parent = stuff
  388. weld(hamend,hamp,CFrame.new(.95,-1.05,0))
  389. hamp = hamp:Clone()
  390. hamp.Parent = stuff
  391. weld(hamend,hamp,CFrame.new(-1.05,-.95,0))
  392. hamp = hamp:Clone()
  393. hamp.Parent = stuff
  394. weld(hamend,hamp,CFrame.new(-.95,-1.05,0))
  395. for x = -1,1 do
  396. for y = -1,1 do
  397. hamp = hamp:Clone()
  398. hamp.Mesh.Scale = Vector3.new(1,1,1)
  399. hamp.Size = Vector3.new(.5,.5,.2)
  400. hamp.Parent = stuff
  401. weld(hamsd2,hamp,CFrame.new(x*.7,y*.7,-.1))
  402. end
  403. end
  404.  
  405. rs.C0 = rs0 * CFrame.Angles(math.rad(70),math.rad(50),math.rad(-20))
  406. ls.C0 = ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(110),math.rad(0),math.rad(00)) * CFrame.Angles(0,math.rad(60),0)
  407.  
  408. function endScript()
  409.         pcall(function() runcon:disconnect() end)
  410.         pcall(function() kdcon:disconnect() end)
  411.         pcall(function() kucon:disconnect() end)
  412.         pcall(game.Destroy,stuff)
  413.         pcall(game.Destroy,bg)
  414.         pcall(game.Destroy,bv)
  415. end
  416.  
  417. local spintime = 3
  418. local idling = true
  419.  
  420. runcon = game:GetService("RunService").Stepped:connect(oc(function()
  421.         if not stuff:IsDescendantOf(workspace) then
  422.                 endScript()
  423.         end
  424.         local an = (tick()%spintime)*360/spintime
  425.         mnw.C0 = CFrame.Angles(0,math.rad(an),0) * CFrame.new(0,.04,1.7)
  426.         if idling then
  427.                 rs.C0 = clerp(rs.C0,rs0 * CFrame.Angles(math.rad(70+tickwave(3,5)),math.rad(50),math.rad(-20)),.4)
  428.                 ls.C0 = clerp(ls.C0,ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(115+tickwave(3,5)),math.rad(0),math.rad(-5)) * CFrame.Angles(0,math.rad(60),0),.4)
  429.                 nk.C0 = clerp(nk.C0,nk0 * CFrame.Angles(tickwave(4,-.1),0,0),.4)
  430.                 grip.C0 = clerp(grip.C0,grip0,.4)
  431.         end
  432. end))
  433.  
  434. function cfot(tar,cf,t)
  435.         coroutine.wrap(function()
  436.                 for i=1,t do
  437.                         tar.CFrame = tar.CFrame * cf
  438.                         wait(1/30)
  439.                 end
  440.         end)()
  441. end
  442.  
  443. function DoDamage(hum,dmg)
  444.         if hum.Health == 0 then return end
  445.         local a,b = ypcall(function()
  446.                 --hum:TakeDamage(dmg)
  447.                 hum.Health = hum.Health - dmg
  448.                 if not hum.Parent:FindFirstChild("Torso") then return end
  449.                 local m = Instance.new("Model",workspace)
  450.                 m.Name = -dmg
  451.                 local h = Instance.new("Humanoid",m)
  452.                 h.MaxHealth = 0
  453.                 local p = Instance.new("Part",m)
  454.                 p.Name = "Head"
  455.                 p.FormFactor = "Custom"
  456.                 p.Size = Vector3.new(.2,.2,.2)
  457.                 p.Transparency = 0.97
  458.                 p.CanCollide = false
  459.                 p.Anchored = true
  460.                 p:BreakJoints()
  461.                 game.Debris:AddItem(m,5)
  462.                 p.CFrame = CFrame.new(hum.Parent.Torso.Position) * CFrame.new(math.random(-2,2),2.5,math.random(-2,2))
  463.                 local rAm = math.random(3,6)/100
  464.                 coroutine.wrap(function()
  465.                 for i=1,300 do
  466.                 p.CFrame = p.CFrame * CFrame.new(0,rAm,0)
  467.                 wait()
  468.                 end
  469.                 p:Destroy()
  470.                 end)()
  471.         end)
  472.         if not a then print(b) end
  473. end
  474.  
  475. local atdeb = false
  476. local basiccombo = 0
  477. local basiccombotimer = 0
  478. bg = Instance.new("BodyGyro",char.Torso)
  479. bg.maxTorque = Vector3.new(1,0,1)*9e10
  480. bg.P = 10000
  481. bg.D = 500
  482. bv = Instance.new("BodyVelocity",char.Torso)
  483. bv.maxForce = Vector3.new()
  484. bv.P = 50000
  485.  
  486. kucon = mouse.KeyUp:connect(oc(function(k)
  487.         if k == "0" and sprint then
  488.                 pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed / 1.5 end)
  489.                 sprint = false
  490.         end
  491. end))
  492.  
  493. kdcon = mouse.KeyDown:connect(oc(function(k)
  494.         if k == "0" and not sprint then
  495.                 pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 1.5 end)
  496.                 sprint = true
  497.         end
  498.         if k == "f" then
  499.                 if atdeb then return end
  500.                 atdeb = true
  501.                 idling = false
  502.                 playSound(105374058,hamend,1,1)
  503.              ---   bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  504.                -- ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  505.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)),7)
  506.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  507.                 ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  508.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(60)),13)
  509.                 playSound(92597296,hamend,1,1.07)
  510.                 local s = playSound(96626016,hamend)
  511.                 s.Volume = 0
  512.                 local hitcon
  513.                 hitcon = hamend.Touched:connect(function(hit)
  514.                         s.Volume = 1
  515.                         if not hit.Anchored then
  516.                                 hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  517.                         end
  518.                         local hum = hit.Parent:FindFirstChild("Humanoid")
  519.                         if hum and not hum:IsDescendantOf(char) then
  520.                                 DoDamage(hum,30)
  521.                                 hum.PlatformStand = true
  522.                                 wait(.6)
  523.                                 hum.PlatformStand = false
  524.                         end
  525.                 end)
  526.                 bg.maxTorque = Vector3.new(1,1,1)*9e10
  527.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(30)),4,true)
  528.                 ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(35),0,0),4,true)
  529.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(-30)),4)
  530.                 if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  531.                         s.Volume = 1
  532.                 end
  533.                 wait(.2)
  534.                 bg.maxTorque = Vector3.new(1,0,1)*9e10
  535.                 hitcon:disconnect()
  536.                 atdeb = false
  537.                 idling = true
  538.         end
  539.         if k == "q" then
  540.                 if atdeb then return end
  541.                 atdeb = true
  542.                 idling = false
  543.                 playSound(105374058,hamend,1,1)
  544.                 bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  545.                 ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-30),math.rad(-25),math.rad(-15)),9,true)
  546.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)),7,true)
  547.                 ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  548.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)),7)
  549.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  550.                 ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  551.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(-30)),13)
  552.                 playSound(92597296,hamend,1,1.07)
  553.                 local s = playSound(96626016,hamend)
  554.                 s.Volume = 0
  555.                 local hitcon
  556.                 hitcon = hamend.Touched:connect(function(hit)
  557.                         s.Volume = 1
  558.                         if not hit.Anchored then
  559.                                 hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  560.                         end
  561.                         local hum = hit.Parent:FindFirstChild("Humanoid")
  562.                         if hum and not hum:IsDescendantOf(char) then
  563.                                 DoDamage(hum,30)
  564.                                 hum.PlatformStand = true
  565.                                 wait(.6)
  566.                                 hum.PlatformStand = false
  567.                         end
  568.                 end)
  569.                 bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  570.                 wait(.05)
  571.                 bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(-20),0,0)
  572.                 bg.maxTorque = Vector3.new(1,1,1)*9e10
  573.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(55),math.rad(5),math.rad(50)),7,true)
  574.                 ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(5),0,0),4,true)
  575.                 ctween(rs,"C0",rs0*CFrame.new(-.9,0,-.9) * CFrame.Angles(math.rad(50),math.rad(5),math.rad(-50)),7)
  576.                 if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  577.                         s.Volume = 1
  578.                 end
  579.                 wait(.2)
  580.                 bg.maxTorque = Vector3.new(1,0,1)*9e10
  581.                 hitcon:disconnect()
  582.                 atdeb = false
  583.                 idling = true
  584.         end
  585.         if k == "r" then
  586.                 if atdeb then return end
  587.                 atdeb = true
  588.                 idling = false
  589.                 ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)),7,true)
  590.                 ctween(grip,"C0",grip0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-60))*CFrame.Angles(0,math.rad(180),0),9,true)
  591.                 bg.maxTorque = Vector3.new(1,1,1)*9e10
  592.                 bg.cframe = char.Torso.CFrame
  593.                 ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(-30)),7,true)
  594.                 local s = playSound(92597296,hamend,1,1.07)
  595.                 s.Looped = true
  596.                 local sndmd = {}
  597.                 local hitcon
  598.                 hitcon = hamend.Touched:connect(function(hit)
  599.                         if not sndmd[hit] then sndmd[hit] = playSound(10730819,hamend) end
  600.                        
  601.                         if not hit.Anchored then
  602.                                 hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*60
  603.                         end
  604.                         local hum = hit.Parent:FindFirstChild("Humanoid")
  605.                         if hum and not hum:IsDescendantOf(char) then
  606.                                 DoDamage(hum,math.random(4,6))
  607.                                 hum.Sit = true
  608.                                 wait(2)
  609.                                 hum.Sit = false
  610.                         end
  611.                 end)
  612.                 for i=1,20 do
  613.                         bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(-1440/20),0)
  614.                         wait(.1)
  615.                 end
  616.                 hitcon:disconnect()
  617.                 bg.maxTorque = Vector3.new(1,0,1)*9e10
  618.                 s:Stop()
  619.                 s:Destroy()
  620.                 atdeb = false
  621.                 idling = true
  622.         end
  623.         if k == "e" then
  624.                 if atdeb then return end
  625.                 basiccombo = (tick()-basiccombotimer > .5 or basiccombo == 2) and 1 or basiccombo + 1
  626.                 idling = false
  627.                 atdeb = true
  628.                 if basiccombo == 1 then
  629.                         ctween(ls,"C0",ls0 * CFrame.new(.2,.2,-.1) * CFrame.Angles(math.rad(120),math.rad(0),math.rad(5)) * CFrame.Angles(0,math.rad(60),0),7,true)
  630.                         ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(70),math.rad(-30)),7)
  631.                         bg.maxTorque = Vector3.new(1,1,1)*9e10
  632.                         bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(-40),0)
  633.                         playSound(92597296,hamend,1,1.2)
  634.                         local ac
  635.                         local hitcon
  636.                         hitcon = hamend.Touched:connect(function(hit)
  637.                                 if not ac then ac = playSound(10730819,hamend,1,1) end
  638.                                 if not hit.Anchored then
  639.                                         hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*50
  640.                                 end
  641.                                 local hum = hit.Parent:FindFirstChild("Humanoid")
  642.                                 if hum and not hum:IsDescendantOf(char) then
  643.                                         DoDamage(hum,10)
  644.                                 end
  645.                         end)
  646.                         ctween(ls,"C0",ls0 * CFrame.new(1,.2,-1) * CFrame.Angles(math.rad(115),math.rad(0),math.rad(40)) * CFrame.Angles(0,math.rad(60),0),6,true)
  647.                         ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(80),math.rad(-30))* CFrame.Angles(math.rad(-50),0,0),6,true)
  648.                         wait(.1)
  649.                         bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(40),0)
  650.                         hitcon:disconnect()
  651.                 elseif basiccombo == 2 then
  652.                         ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(5),math.rad(0),math.rad(70)),10,true)
  653.                         ctween(grip,"C0",grip0*CFrame.Angles(math.rad(10),0,0),12,true)
  654.                         ctween(rs,"C0",rs0*CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),10,true)
  655.                         wait(.2)
  656.                         playSound(92597296,hamend,1,.7)
  657.                         wait(.1)
  658.                         bg.maxTorque = Vector3.new(1,1,1)*9e10
  659.                         bg.cframe = char.Torso.CFrame
  660.                         bv.maxForce = Vector3.new(1,0,1)*9e5
  661.                         bv.velocity = bg.cframe.lookVector * 70
  662.                         coroutine.wrap(function() for i=1,25 do bv.velocity = bv.velocity*.9 wait(1/30) end bv.maxForce = Vector3.new() end)()
  663.                         local thrustcon
  664.                         thrustcon = hamend.Touched:connect(function(hit)
  665.                                 if not hit.Anchored then
  666.                                         hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-40
  667.                                 end
  668.                                 local hum = hit.Parent:FindFirstChild("Humanoid")
  669.                                 if hum and not hum:IsDescendantOf(char) then
  670.                                         DoDamage(hum,5)
  671.                                         --thrustcon:disconnect()
  672.                                         hum.Sit = true
  673.                                         ctween(grip,"C0",grip0*CFrame.Angles(math.rad(30),0,0),5,true)
  674.                                         if not ac then ac = playSound(92597296,hamend,1,1.15) end
  675.                                         local tor = hum.Parent:FindFirstChild("Torso")
  676.                                         if tor and not tor:FindFirstChild("torv") then
  677.                                                 --tor.Velocity = bg.cframe.lookVector*30 + Vector3.new(0,100,0)
  678.                                                 local torv = Instance.new("BodyVelocity",tor)
  679.                                                 torv.maxForce = Vector3.new(1,1,1)*9e9
  680.                                                 torv.P = 2000
  681.                                                 torv.velocity = bg.cframe.lookVector*20 + Vector3.new(0,120,0)
  682.                                                 torv.Name = "torv"
  683.                                                 local torav = Instance.new("BodyAngularVelocity",tor)
  684.                                                 torav.maxTorque = Vector3.new(1,1,1)*9e9
  685.                                                 torav.P = 5000
  686.                                                 torav.angularvelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2
  687.                                                 coroutine.wrap(function()
  688.                                                         for i=1,torv.velocity.Y/196.22*30 do
  689.                                                                 hum.Sit = true
  690.                                                                 torv.velocity = torv.velocity - Vector3.new(0,196.22/30,0)
  691.                                                                 wait(1/30)
  692.                                                         end
  693.                                                         torv:Destroy()
  694.                                                         torav:Destroy()
  695.                                                         tor.Velocity = Vector3.new()
  696.                                                 end)()
  697.                                         end
  698.                                 end
  699.                         end)
  700.                         ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(80),math.rad(0),math.rad(50)),12,true)
  701.                         ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-70),0,0),12,true)
  702.                         ctween(rs,"C0",rs0*CFrame.new(-.6,0,-.7) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-10)),12,true)
  703.                         Delay(.3,function() thrustcon:disconnect() end)
  704.                        
  705.                 end
  706.                 wait(.1)
  707.                 bg.maxTorque = Vector3.new(1,0,1)*9e10
  708.                
  709.                 basiccombotimer = tick()
  710.                 atdeb = false
  711.                 idling = true
  712.                
  713.         end -- 96626016, 92597296
  714.         bg.cframe = CFrame.new(char.Torso.Position,char.Torso.Position+char.Torso.CFrame.lookVector*Vector3.new(1,0,1))
  715. end))
  716.  
  717. char.Humanoid.MaxHealth = 4048
  718. char.Humanoid.WalkSpeed = 20
  719. wait(.3)
  720. char.Humanoid.Health = 4048
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement