Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.11 KB | None | 0 0
  1. -----------------------
  2. --HOKUTO, NO SHINKEN!--
  3. ----------------------------------------------------------------
  4. --By CKbackup (Sugarie Saffron) --
  5. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  6. --Discord: Sugarie Saffron#4705 --
  7. ----------------------------------------------------------------
  8.  
  9. print([[
  10. --Hokuto Shinken (Divine Fist of the North Star)--
  11. By CKbackup (Sugarie Saffron)
  12. YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
  13. Discord: Sugarie Saffron#4705
  14. --------------------------------
  15. As I've been demoted from my SB
  16. Mod rank in VSB, I don't see the
  17. need to hold this back any longer.
  18.  
  19. Also, if the anims look weird or
  20. the weapon looks out of place,
  21. it's because it's actually modeled
  22. off a scaled rig with a package.
  23. It looks better with the Boy
  24. package.
  25. --------------------------------
  26. (Keys)
  27. M - Mute/Play Music
  28. F - Energy Particles
  29.  
  30. K/L - Change the You Wa Shock song
  31. to either the new/old instrumental ver.
  32.  
  33. (Hold) Click - Hundred Crack Fist
  34. Q - Teleport
  35. Z - Tell those you've struck that
  36. they're already dead
  37. ]])
  38. player = game.Players.LocalPlayer
  39. mouse = player:GetMouse()
  40. chara = player.Character
  41. equipped = false
  42. del = false
  43. attacking = false
  44. atkd = false
  45. hum = chara:FindFirstChildOfClass("Humanoid")
  46. debby = game.Debris
  47. ws = 10
  48. hum.WalkSpeed = 10
  49.  
  50. ArtificialHB = Instance.new("BindableEvent", script)
  51. ArtificialHB.Name = "Heartbeat"
  52. script:WaitForChild("Heartbeat")
  53. frame = 0.03333333333333
  54. tf = 0
  55. allowframeloss = false
  56. tossremainder = false
  57. lastframe = tick()
  58. script.Heartbeat:Fire()
  59. game:GetService("RunService").Heartbeat:connect(function(s, p)
  60. tf = tf + s
  61. if tf >= frame then
  62. if allowframeloss then
  63. script.Heartbeat:Fire()
  64. lastframe = tick()
  65. else
  66. for i = 1, math.floor(tf / frame) do
  67. script.Heartbeat:Fire()
  68. end
  69. lastframe = tick()
  70. end
  71. if tossremainder then
  72. tf = 0
  73. else
  74. tf = tf - frame * math.floor(tf / frame)
  75. end
  76. end
  77. end)
  78. function swait(num)
  79. if num == 0 or num == nil then
  80. ArtificialHB.Event:wait()
  81. else
  82. for i = 0, num*30 do
  83. ArtificialHB.Event:wait()
  84. end
  85. end
  86. end
  87.  
  88. New = function(Object, Parent, Name, Data)
  89. local Object = Instance.new(Object)
  90. for Index, Value in pairs(Data or {}) do
  91. Object[Index] = Value
  92. end
  93. Object.Parent = Parent
  94. Object.Name = Name
  95. return Object
  96. end
  97.  
  98. RightArm = New("Model",chara,"RightArm",{})
  99. MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  100. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  101. Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  102. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  103. Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  104. LeftArm = New("Model",chara,"LeftArm",{})
  105. MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  106. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  107. EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  108. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  109. Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  110.  
  111. lach = LeftArm:GetChildren()
  112. rach = RightArm:GetChildren()
  113.  
  114. local pemit = Instance.new("ParticleEmitter")
  115. pemit.Name = "beter"
  116. pemit.Enabled = false
  117. pemit.LightEmission = 1
  118. pemit.Size = NumberSequence.new(1,0)
  119. pemit.Transparency = NumberSequence.new(0,1)
  120. pemit.Texture = "rbxassetid://745304849"
  121. pemit.Lifetime = NumberRange.new(.5)
  122. pemit.Acceleration = Vector3.new(0,20,0)
  123. pemit.Rate = 200
  124. pemit.Rotation = NumberRange.new(0,360)
  125. pemit.Speed = NumberRange.new(2)
  126. pemit.RotSpeed = NumberRange.new(100)
  127. pemit.VelocitySpread = 100
  128. pemit.ZOffset = -.5
  129.  
  130. for i, v in pairs(chara:GetChildren()) do
  131. if v ~= chara.HumanoidRootPart and v:IsA("BasePart") then
  132. pemit:Clone().Parent = v
  133. end
  134. if v:IsA("ShirtGraphic") or v:IsA("Shirt") or v:IsA("Pants") then
  135. v:Destroy()
  136. end
  137. if v.Name == "Chest" then
  138. for a, t in pairs(v:GetChildren()) do
  139. if t ~= v.MainPart and t ~= v.Tail then
  140. t:Destroy()
  141. end
  142. end
  143. end
  144. if v.Name == "FakeHeadM" then
  145. v.FakeHead.Normal.Texture = "http://www.roblox.com/asset/?id=1000657824"
  146. for a, t in pairs(v:GetChildren()) do
  147. if t.Name == "SpecPart" then
  148. t:Destroy()
  149. end
  150. end
  151. end
  152. end
  153.  
  154. ShadowHead = New("Part",chara,"ShadowHeads",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  155. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.3, 1.5, 1.3),})
  156. Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  157. ShadowHead.Transparency = 1
  158.  
  159. --LACM = New("CharacterMesh",chara,"LACM",{MeshId = "32328397",BodyPart = "LeftArm"})
  160. --LLCM = New("CharacterMesh",chara,"LLCM",{MeshId = "319336109",BodyPart = "LeftLeg"})
  161. --RACM = New("CharacterMesh",chara,"RACM",{MeshId = "32328563",BodyPart = "RightArm"})
  162. --RLCM = New("CharacterMesh",chara,"RLCM",{MeshId = "319336155",BodyPart = "RightLeg"})
  163. --TOCM = New("CharacterMesh",chara,"TOCM",{MeshId = "32328670",BodyPart = "Torso"})
  164.  
  165. local shi = Instance.new("Shirt",chara)
  166. shi.ShirtTemplate = "http://www.roblox.com/asset/?id=1188791280"
  167. local pan = Instance.new("Pants",chara)
  168. pan.PantsTemplate = "http://www.roblox.com/asset/?id=1188789468"
  169. local gshi = Instance.new("ShirtGraphic",nil)
  170. gshi.Graphic = "http://www.roblox.com/asset/?id=114844135"
  171.  
  172. --Sounds--
  173. function LoadSnd(id,loop,vol,pit)
  174. local snd = New("Sound",chara.Head,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  175. return snd
  176. end
  177. --AtataSnd = LoadSnd(130767866,false,1,1)
  178. --DeadSnd = LoadSnd(992192914,false,1,1)
  179. Music = LoadSnd(1072454168,true,1,1)
  180. Music.Parent = chara
  181.  
  182. --Play Sound in Part--
  183. function PlaySnd(snd,part,pitch,vol)
  184. local sound = Instance.new("Sound",part)
  185. sound.PlayOnRemove = true
  186. sound.SoundId = "rbxassetid://"..snd
  187. sound.PlaybackSpeed = pitch
  188. sound.Volume = vol
  189. sound:Destroy()
  190. end
  191. ---------------------------------------------
  192. local naeeym2 = Instance.new("BillboardGui",char)
  193. naeeym2.AlwaysOnTop = true
  194. naeeym2.Size = UDim2.new(5,35,2,35)
  195. naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
  196. naeeym2.Adornee = hed
  197. naeeym2.Name = "Name"
  198. local tecks2 = Instance.new("TextLabel",naeeym2)
  199. tecks2.BackgroundTransparency = 1
  200. tecks2.TextScaled = true
  201. tecks2.BorderSizePixel = 0
  202. tecks2.Text = "Fist Of the North Star"
  203. tecks2.Font = "Fantasy"
  204. tecks2.TextSize = 30
  205. tecks2.TextStrokeTransparency = 0
  206. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  207. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  208. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  209. tecks2.Parent = naeeym2
  210. ----------------------------------------------
  211.  
  212. function CamShake(par,magni,env,dur)
  213. coroutine.wrap(function()
  214. for i=0,dur*60 do
  215. swait()
  216. hum.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10)
  217. end
  218. hum.CameraOffset = Vector3.new(0,0,0)
  219. end)()
  220. end
  221.  
  222. --function PlaySnd2(snd,part)
  223. --local sound = snd:Clone()
  224. --sound.Parent = part
  225. --sound.PlayOnRemove = true
  226. --sound:Destroy()
  227. --end
  228.  
  229. maincol = "White"
  230.  
  231. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  232. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  233. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  234. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  235. return TEff
  236. end
  237.  
  238. RPunchT = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
  239. LPunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0)
  240. RKickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
  241. LKickT = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
  242.  
  243. --Punch Hit Effect--
  244. function PunchEff(pos)
  245. local p = Instance.new("Part",game.Workspace)
  246. p.Size = Vector3.new(1,1,1)
  247. p.BrickColor = BrickColor.new(maincol)
  248. p.Material = "Neon"
  249. p.Anchored = true
  250. p.CanCollide = false
  251. p.CFrame = pos
  252. CamShake(p,10,.7,.1)
  253. local pm = Instance.new("SpecialMesh",p)
  254. pm.MeshType = "Sphere"
  255. coroutine.resume(coroutine.create(function()
  256. for i = 0,1,.05 do
  257. swait()
  258. p.Transparency = i
  259. pm.Scale = Vector3.new(2*i,2*i,2*i)
  260. end
  261. swait()
  262. p:Destroy()
  263. end))
  264. end
  265. function BigHitEff(pos)
  266. for i = 1, 5 do
  267. local p = Instance.new("Part",game.Workspace)
  268. p.Size = Vector3.new(1,1,1)
  269. p.BrickColor = BrickColor.new("White")
  270. p.Material = "Neon"
  271. p.Anchored = true
  272. p.CanCollide = false
  273. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  274. local pm = Instance.new("SpecialMesh",p)
  275. pm.MeshType = "Sphere"
  276. pm.Scale = Vector3.new(.5,0,.5)
  277. local disp = coroutine.wrap(function()
  278. for i = 0,1,.05 do
  279. swait()
  280. p.Transparency = i
  281. pm.Scale = Vector3.new(2*i,2*i,2*i)
  282. end
  283. swait()
  284. p:Destroy()
  285. end)
  286. disp()
  287. local p = Instance.new("Part",game.Workspace)
  288. p.Size = Vector3.new(1,1,1)
  289. p.BrickColor = BrickColor.new("White")
  290. p.Material = "Neon"
  291. p.Anchored = true
  292. p.CanCollide = false
  293. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  294. CamShake(p,10,1,.4)
  295. local pm = Instance.new("SpecialMesh",p)
  296. pm.MeshType = "Sphere"
  297. pm.Scale = Vector3.new(.5,.5,.5)
  298. local disp = coroutine.wrap(function()
  299. for i = 0,1,.05 do
  300. swait()
  301. p.Transparency = i
  302. pm.Scale = Vector3.new(.5*i,.5*i,.5*i)
  303. pm.Offset = Vector3.new(0,8*i,0)
  304. end
  305. swait()
  306. p:Destroy()
  307. end)
  308. disp()
  309. end
  310. end
  311.  
  312. --Damage Function--
  313. function dealdmg(dude)
  314. if dude ~= chara and dude:IsDescendantOf(chara) == false then
  315. if dude:FindFirstChild("IsAlreadyDead") == nil then
  316. local vall = Instance.new("ObjectValue",dude)
  317. vall.Name = "IsAlreadyDead"
  318. local faceg = Instance.new("BillboardGui",dude)
  319. faceg.Name = "IsAlreadyDeadBillBoardGui"
  320. faceg.Size = UDim2.new(4,0,4,0)
  321. faceg.Adornee = dude.Head
  322. faceg.StudsOffset = Vector3.new(0,5.5,0)
  323. local simgl = Instance.new("ImageLabel",faceg)
  324. simgl.Position = UDim2.new(0,0,0,0)
  325. simgl.Size = UDim2.new(1,0,1,0)
  326. simgl.Image = "http://www.roblox.com/asset/?id=47110473"
  327. simgl.BackgroundTransparency = 1
  328. end
  329. local vall = Instance.new("ObjectValue",dude)
  330. vall.Name = "IsHit"
  331. debby:AddItem(vall,.01)
  332. local bfos = Instance.new("BodyVelocity",dude.Head)
  333. bfos.P = 200000
  334. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  335. bfos.Velocity = Vector3.new(0,0,0) --+ chara.HumanoidRootPart.CFrame.lookVector * kbx
  336. game.Debris:AddItem(bfos,.5)
  337. end
  338. end
  339.  
  340. --Explode Hitbox--
  341. function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
  342. local E = Instance.new("Explosion")
  343. E.Position = pos
  344. E.Parent = game.Workspace
  345. E.BlastRadius = rad
  346. E.BlastPressure = 0
  347. E.Visible = false
  348. E.Hit:connect(function(hit)
  349. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
  350. dealdmg(hit.Parent,damage,env,toim,kby,kbx)
  351. end
  352. end)
  353. end
  354. function PExHitbox()
  355. local E = Instance.new("Explosion",workspace)
  356. E.Position = chara.HumanoidRootPart.Position + chara.HumanoidRootPart.CFrame.lookVector*3
  357. E.BlastRadius = 1
  358. E.BlastPressure = 0
  359. E.Visible = false
  360. debby:AddItem(E,.05)
  361. E.Hit:connect(function(hit)
  362. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
  363. if punchactive == true then
  364. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil and hit.Parent.Name ~= "Salvo_Starly" then
  365. dealdmg(hit.Parent)
  366. PlaySnd(386946017,hit.Parent.Head,math.random(8,12)/10,1)
  367. PunchEff(hit.CFrame + Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)))
  368. end
  369. end
  370. if hpunchactive == true then
  371. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent.Name ~= "Salvo_Starly" then
  372. dealdmg(hit.Parent)
  373. PlaySnd(200633636,hit.Parent.Head,1,1)
  374. BigHitEff(hit.CFrame)
  375. coroutine.resume(coroutine.create(function()
  376. if hit.Parent.Head:FindFirstChildOfClass("BodyVelocity") then
  377. hit.Parent.Head:FindFirstChildOfClass("BodyVelocity"):Destroy()
  378. end
  379. local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
  380. bfos.P = 100000
  381. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  382. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 100
  383. game.Debris:AddItem(bfos,.5)
  384. hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  385. swait(2)
  386. hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  387. end))
  388. end
  389. end
  390. end
  391. end)
  392. end
  393.  
  394. --Punch Touch--
  395. dela = .05
  396. punchactive = false
  397. function punchhit(hit)
  398. if punchactive == true then
  399. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  400. dealdmg(hit.Parent)
  401. PlaySnd(153092227,hit.Parent.Head,1,1)
  402. PunchEff(hit.CFrame)
  403. end
  404. end
  405. end
  406. Emit2Part.Touched:connect(punchhit)
  407. EmitPart.Touched:connect(punchhit)
  408.  
  409. --Chat Function--
  410. function chatfunc(text,dude)
  411. coroutine.resume(coroutine.create(function()
  412. if dude:FindFirstChild("TalkingBillBoard")~= nil then
  413. dude:FindFirstChild("TalkingBillBoard"):destroy()
  414. end
  415. local naeeym2 = Instance.new("BillboardGui",chara)
  416. naeeym2.Size = UDim2.new(0,100,0,40)
  417. naeeym2.StudsOffset = Vector3.new(0,3,0)
  418. naeeym2.Adornee = dude.Head
  419. naeeym2.Name = "TalkingBillBoard"
  420. local tecks2 = Instance.new("TextLabel",naeeym2)
  421. tecks2.BackgroundTransparency = 1
  422. tecks2.BorderSizePixel = 0
  423. tecks2.Text = ""
  424. tecks2.Font = "Fantasy"
  425. tecks2.FontSize = "Size24"
  426. tecks2.TextStrokeTransparency = 0
  427. tecks2.TextColor3 = Color3.new(1,1,1)
  428. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  429. tecks2.Size = UDim2.new(1,0,0.5,0)
  430. coroutine.resume(coroutine.create(function()
  431. for i = 1,string.len(text),1 do
  432. tecks2.Text = string.sub(text,1,i)
  433. swait(0.01)
  434. end
  435. swait(1)
  436. for i = 1, 5 do
  437. swait(.01)
  438. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  439. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  440. tecks2.TextTransparency = tecks2.TextTransparency + .2
  441. end
  442. naeeym2:Destroy()
  443. end))
  444. end))
  445. end
  446.  
  447. --function onChatted(msg)
  448. --chatfunc(msg,chara)
  449. --end
  450. --player.Chatted:connect(onChatted)
  451.  
  452. --Clerp Animations--
  453. TC = chara.HumanoidRootPart.RootJoint
  454. HC = chara.Torso.Neck
  455. RAC = chara.Torso["Right Shoulder"]
  456. LAC = chara.Torso["Left Shoulder"]
  457. RLC = chara.Torso["Right Hip"]
  458. LLC = chara.Torso["Left Hip"]
  459. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  460. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  461. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  462. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  463. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  464. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  465. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  466. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  467. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  468. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  469. grp = Instance.new("Model",chara)
  470. RW = nil
  471. LW = nil
  472. RLW = nil
  473. LLW = nil
  474.  
  475. function AddLegWelds()
  476. RLW = Instance.new("Weld",chara["Right Leg"])
  477. RLW.Part1 = HC.Parent
  478. RLW.Part0 = chara["Right Leg"]
  479. RLW.C0 = RLWF
  480. LLW = Instance.new("Weld",chara["Left Leg"])
  481. LLW.Part1 = HC.Parent
  482. LLW.Part0 = chara["Left Leg"]
  483. LLW.C0 = LLWF
  484. end
  485.  
  486. function AddArmWelds()
  487. RW = Instance.new("Weld",HC.Parent)
  488. RW.Part1 = HC.Parent
  489. RW.Part0 = chara["Right Arm"]
  490. RW.C0 = RWF
  491. LW = Instance.new("Weld",HC.Parent)
  492. LW.Part1 = HC.Parent
  493. LW.Part0 = chara["Left Arm"]
  494. LW.C0 = LWF
  495. end
  496.  
  497. function DestroyLegWelds()
  498. RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
  499. LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  500. RLW:Destroy()
  501. LLW:Destroy()
  502. end
  503.  
  504. function DestroyArmWelds()
  505. RAC = New("Motor6D",chara.Torso,"Right Shoulder",{Part0 = chara.Torso,Part1 = chara["Right Arm"],C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)})
  506. LAC = New("Motor6D",chara.Torso,"Left Shoulder",{Part0 = chara.Torso,Part1 = chara["Left Arm"],C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)})
  507. RW:Destroy()
  508. LW:Destroy()
  509. end
  510.  
  511. function clerp(a,b,c)
  512. return a:lerp(b,c)
  513. end
  514.  
  515. ITCF = TCF
  516. IHCF = HCF
  517. IRWF = RWF
  518. ILWF = LWF
  519.  
  520. function res()
  521. TC.C0 = ITCF
  522. HC.C0 = IHCF
  523. end
  524. res()
  525.  
  526. --Teleport--
  527. function Teleport()
  528. PlaySnd(153613030,chara.Head,1,1)
  529. for i, v in pairs(chara:GetChildren()) do
  530. if v:IsA("BasePart") then
  531. local trace = Instance.new("Part",game.Workspace)
  532. trace.Size = v.Size
  533. trace.Position = v.Position
  534. trace.CFrame = v.CFrame
  535. trace.Anchored = true
  536. trace.CanCollide = false
  537. trace.BrickColor = BrickColor.new("White")
  538. trace.Material = "Neon"
  539. coroutine.resume(coroutine.create(function()
  540. for i = 0,1,.1 do
  541. swait()
  542. trace.Transparency = i
  543. end
  544. trace:Destroy()
  545. end))
  546. end
  547. end
  548. chara.Torso.CFrame = mouse.Hit + Vector3.new(0,3,0)
  549. end
  550.  
  551. --Keys--
  552. holdingdown = false
  553. function onButton1Down()
  554. holdingdown = true
  555. if del == false then
  556. del = true
  557. AddArmWelds()
  558. for i = 0,.6,.1 do
  559. swait()
  560. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,.6-i)
  561. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0),IHCF,.6-i)
  562. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-20)),IRWF,.6-i)
  563. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.6-i)
  564. end
  565. punchactive = true
  566. local AtataSnd = LoadSnd(130767866,false,1,1)
  567. AtataSnd:Play() --PlaySnd(130767866,chara.Head,1,1)
  568. chatfunc("ATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATA",chara)
  569. local punches = 0
  570. repeat
  571. swait()
  572. RW.C0 = (RWF + Vector3.new(math.rad(-10,10),math.random(1,2),math.random(0,1))) * CFrame.fromEulerAnglesXYZ(math.rad(-100+math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  573. LW.C0 = (LWF + Vector3.new(math.rad(-10,10),math.random(1,2),math.random(0,1))) * CFrame.fromEulerAnglesXYZ(math.rad(-100+math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  574. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(math.random(-10,10)),0)
  575. coroutine.resume(coroutine.create(function()
  576. local part1 = Instance.new("Part",workspace)
  577. part1.Size = Vector3.new(1,2,1)
  578. part1.CanCollide = false
  579. part1.Anchored = true
  580. part1.BrickColor = chara["Right Arm"].BrickColor
  581. part1.CFrame = chara["Right Arm"].CFrame
  582. local part2 = Instance.new("Part",workspace)
  583. part2.Size = Vector3.new(1,2,1)
  584. part2.CanCollide = false
  585. part2.Anchored = true
  586. part2.BrickColor = chara["Left Arm"].BrickColor
  587. part2.CFrame = chara["Left Arm"].CFrame
  588. if chara:FindFirstChildOfClass("CharacterMesh") then
  589. local mh = Instance.new("SpecialMesh",part1)
  590. mh.MeshId = "rbxassetid://279174886"
  591. mh.Scale = Vector3.new(1.1,1.1,1.1)
  592. local mh = Instance.new("SpecialMesh",part2)
  593. mh.MeshId = "rbxassetid://279174949"
  594. mh.Scale = Vector3.new(1.1,1.1,1.1)
  595. end
  596. coroutine.resume(coroutine.create(function()
  597. for i = .4,1,.1 do
  598. swait()
  599. part1.Transparency = i
  600. part2.Transparency = i
  601. end
  602. part1:Destroy()
  603. part2:Destroy()
  604. end))
  605. end))
  606. PExHitbox()
  607. punches = punches + 1
  608. until holdingdown == false or punches >= 230
  609. punchactive = false
  610. LW.C0 = ILWF
  611. AtataSnd:Stop()
  612. AtataSnd.TimePosition = 7.5
  613. AtataSnd:Play()
  614. hpunchactive = true
  615. chatfunc("WATAU!",chara)
  616. for i = 0,.6,.2 do
  617. swait()
  618. TC.C0 = clerp((TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),.6-i)
  619. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),.6-i)
  620. RW.C0 = clerp((RWF + Vector3.new(0,1,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),.6-i)
  621. end
  622. PExHitbox()
  623. swait()
  624. TC.C0 = (TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0)
  625. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0)
  626. RW.C0 = (RWF + Vector3.new(0,1,1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0)
  627. swait(.2)
  628. hpunchactive = false
  629. punchactive = false
  630. swait(.5)
  631. for i = 0,.6,.1 do
  632. swait()
  633. TC.C0 = clerp((TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),ITCF,.4+i)
  634. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),IHCF,.4+i)
  635. RW.C0 = clerp((RWF + Vector3.new(0,1,1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),IRWF,.4+i)
  636. LW.C0 = ILWF
  637. end
  638. DestroyArmWelds()
  639. walking = false
  640. AtataSnd.TimePosition = 0
  641. debby:AddItem(AtataSnd,2)
  642. del = false
  643. end
  644. end
  645. function onButton2Down()
  646. if del == false then
  647. del = true
  648. AddArmWelds()
  649. ShadowHead.Transparency = 0
  650. for i = 0,.6,.05 do
  651. swait()
  652. TC.C0 = ITCF
  653. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i)
  654. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  655. LW.C0 = ILWF
  656. end
  657. RW.C0 = (RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  658. local DeadSnd = LoadSnd(992192914,false,1,1)
  659. DeadSnd:Play() --PlaySnd(992192914,workspace,1,1)
  660. chatfunc("You are already dead.",chara)
  661. swait(2.8)
  662. local dudes = {}
  663. for i, v in pairs(workspace:GetDescendants()) do
  664. if v:IsA("ObjectValue") and v.Name == "IsAlreadyDead" and v.Parent:FindFirstChildOfClass("Humanoid") then
  665. table.insert(dudes,v.Parent)
  666. end
  667. end
  668. if #dudes == 0 then
  669. DeadSnd:Destroy()
  670. end
  671. for no = 1, #dudes do
  672. coroutine.resume(coroutine.create(function()
  673. dudes[no].IsAlreadyDead:Destroy()
  674. dudes[no].IsAlreadyDeadBillBoardGui:Destroy()
  675. if dudes[no]:FindFirstChildOfClass("Humanoid").Health > 1 then
  676. chatfunc("What?!",dudes[no])
  677. end
  678. debby:AddItem(DeadSnd,6)
  679. swait(.5)
  680. for i, v in pairs(dudes[no]:GetChildren()) do
  681. if v:IsA("BasePart") then
  682. v.Anchored = true
  683. end
  684. end
  685. for oa = 1, 60 do
  686. local effp = Instance.new("Part",workspace)
  687. effp.CanCollide = false
  688. effp.BottomSurface = 0
  689. effp.TopSurface = 0
  690. effp.Size = Vector3.new(1,1,1)
  691. effp.Anchored = true
  692. effp.CFrame = (dudes[no].Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
  693. effp.Material = "Neon"
  694. effp.BrickColor = BrickColor.new("White")
  695. local efm = Instance.new("BlockMesh",effp)
  696. CamShake(effp,20,.4,.1)
  697. coroutine.resume(coroutine.create(function()
  698. for a = 0,1,.05 do
  699. efm.Scale = Vector3.new(1-a,1000*a,1-a)
  700. effp.Transparency = a
  701. swait()
  702. end
  703. effp:Destroy()
  704. end))
  705. swait(.05)
  706. end
  707. dudes[no]:BreakJoints()
  708. for oa = 1, 5 do
  709. local effp = Instance.new("Part",workspace)
  710. effp.CanCollide = false
  711. effp.BottomSurface = 0
  712. effp.TopSurface = 0
  713. effp.Size = Vector3.new(1,1,1)
  714. effp.Anchored = true
  715. effp.CFrame = (dudes[no].Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
  716. effp.Material = "Neon"
  717. effp.BrickColor = BrickColor.new("White")
  718. local efm = Instance.new("BlockMesh",effp)
  719. CamShake(effp,20,1,.4)
  720. coroutine.resume(coroutine.create(function()
  721. for a = 0,1,.01 do
  722. efm.Scale = Vector3.new(2-a*2,1000*a,2-a*2)
  723. effp.Transparency = a
  724. swait()
  725. end
  726. effp:Destroy()
  727. end))
  728. end
  729. for i, v in pairs(dudes[no]:GetChildren()) do
  730. if v:IsA("BasePart") then
  731. v.Anchored = false
  732. end
  733. end
  734. for a, v in pairs(dudes[no]:GetChildren()) do
  735. if v:IsA("BasePart") then
  736. local bodpos = Instance.new("BodyPosition",v)
  737. bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  738. v.BrickColor = BrickColor.new("Really white")
  739. v.Material = "Neon"
  740. end
  741. end
  742. for d = 0,1,.1 do
  743. for i, v in pairs(dudes[no]:GetChildren()) do
  744. if v:IsA("BasePart") then
  745. v.Transparency = d
  746. swait()
  747. end
  748. end
  749. end
  750. for i, v in pairs(dudes[no]:GetChildren()) do
  751. if v:IsA("BasePart") then
  752. v:Destroy()
  753. end
  754. end
  755. end))
  756. end
  757. for i = 0,.6,.05 do
  758. swait()
  759. TC.C0 = ITCF
  760. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i)
  761. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.6-i)
  762. LW.C0 = ILWF
  763. end
  764. ShadowHead.Transparency = 1
  765. DestroyArmWelds()
  766. walking = false
  767. del = false
  768. end
  769. end
  770.  
  771. rage = false
  772. if mouse then
  773. mouse.Button1Down:connect(onButton1Down)
  774. mouse.Button1Up:connect(function()
  775. holdingdown = false
  776. end)
  777. mouse.KeyDown:connect(function(key)
  778. if key == "z" then
  779. onButton2Down()
  780. elseif key == "f" then
  781. if rage == false then
  782. for i, v in pairs(chara:GetDescendants()) do
  783. if v.Name == "beter" then
  784. v.Enabled = true
  785. end
  786. end
  787. rage = true
  788. elseif rage == true then
  789. for i, v in pairs(chara:GetDescendants()) do
  790. if v.Name == "beter" then
  791. v.Enabled = false
  792. end
  793. end
  794. rage = false
  795. end
  796. elseif key == "q" then
  797. Teleport()
  798. elseif key == "m" then
  799. if Music.IsPlaying == true then
  800. Music:Stop()
  801. elseif Music.IsPlaying == false then
  802. Music:Play()
  803. end
  804. elseif key == "k" then
  805. Music.SoundId = "rbxassetid://548642448"
  806. elseif key == "l" then
  807. Music.SoundId = "rbxassetid://1072454168"
  808. end
  809. end)
  810. --mouse.KeyUp:connect(onKeyUp)
  811. end
  812.  
  813. --Loop Function--
  814. walking = false
  815. toim = 0
  816. while true do
  817. swait()
  818. hum.Name = "hoomanood"
  819. hum.Health = math.huge
  820. hum.MaxHealth = math.huge
  821. --if gkeydown == true then
  822. --coroutine.resume(coroutine.create(function()
  823. --onButton1Down()
  824. --end))
  825. --end
  826. toim = toim + .1
  827. if del == false then attacking = false elseif del == true then attacking = true end
  828. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  829. if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then
  830. for i = 0,1,.25 do
  831. swait()
  832. if del == false and attacking == false then
  833. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,i)
  834. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i)
  835. --RW.C0 = IRWF
  836. --LW.C0 = IRWF
  837. end
  838. end
  839. walking = false
  840. elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then
  841. for i = 0,1,.25 do
  842. swait()
  843. if del == false and attacking == false then
  844. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,1-i)
  845. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,1-i)
  846. --RW.C0 = IRWF
  847. --LW.C0 = ILWF
  848. end
  849. end
  850. walking = true
  851. else
  852. end
  853. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement