Advertisement
Guest User

yes xddd

a guest
Aug 19th, 2018
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --//Paste script below this line.
  143. wait(1/60)
  144. print('Made by Slenercat5')-- yo m8 this is old but i figured why not re upload sense the old link broke
  145. print('Megumin')
  146. print('F for Hero Mode')
  147. print('Click to Use Explosion Magic')
  148.  
  149.  
  150. lerp = function(a, b, t)
  151.  
  152. return a + (b - a) * t
  153. end
  154. Lerp = function(c1, c2, al)
  155.  
  156. local com1 = {c1.X, c1.Y, c1.Z, c1:toEulerAnglesXYZ()}
  157. local com2 = {c2.X, c2.Y, c2.Z, c2:toEulerAnglesXYZ()}
  158. for i,v in pairs(com1) do
  159. com1[i] = v + (com2[i] - v) * al
  160. end
  161. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  162. end
  163.  
  164. sine=0
  165. change=0
  166.  
  167. -- this is my secound script using character animations based on lerping
  168. -- if you found this i hope you enjoy :)
  169. -- attacks
  170. --click[hold] for punching
  171. --q for teleport(within 100 studs)
  172. --f for super jump(Temporarily down)
  173. wait(1 / 60)
  174. local jklmaoR=0
  175. Effects = { }
  176. local Player = game.Players.localPlayer
  177. local Character = Player.Character
  178. local Humanoid = Character.Humanoid
  179. Humanoid.WalkSpeed = 30
  180. local Mouse = Player:GetMouse()
  181. local LeftArm = Character["Left Arm"]
  182. local RightArm = Character["Right Arm"]
  183. local LeftLeg = Character["Left Leg"]
  184. local RightLeg = Character["Right Leg"]
  185. local Head = Character.Head
  186. local Torso = Character.Torso
  187. local Camera = game.Workspace.CurrentCamera
  188. local RootPart = Character.HumanoidRootPart
  189. local RootJoint = RootPart.RootJoint
  190. local attack = false
  191. local Anim = 'Idle'
  192. local Create = LoadLibrary("RbxUtility").Create
  193. local velocity = RootPart.Velocity.y
  194. Character.Animate.Disabled=false
  195. local sine = 0
  196. local change = 1
  197. local ms=Player:GetMouse()
  198. local DORARA=false
  199. local sforce=false
  200. local fcount=0
  201.  
  202. Character.Humanoid.Health=10000000000000000000000000000000000000000000000000000000000000
  203.  
  204. torso=Character:findFirstChild('Torso')
  205. root=Character:FindFirstChild('HumanoidRootPart')
  206. function clerp(a, b, t)
  207. return a:lerp(b, t)
  208. end
  209.  
  210. Humanoid.Animator.Parent = nil
  211. Character.Animate.Parent = nil
  212.  
  213. local newMotor = function(part0, part1, c0, c1)
  214. local w = Create('Motor'){
  215. Parent = part0,
  216. Part0 = part0,
  217. Part1 = part1,
  218. C0 = c0,
  219. C1 = c1,
  220. }
  221. return w
  222. end
  223.  
  224.  
  225. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  226. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  227.  
  228. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  229. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  230. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  231. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  232. RootJoint.C1 = CFrame.new(0, 0, 0)
  233. RootJoint.C0 = CFrame.new(0, 0, 0)
  234. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  235. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  236.  
  237. local rarmc1 = RW.C1
  238. local larmc1 = LW.C1
  239. local rlegc1 = RH.C1
  240. local llegc1 = LH.C1
  241.  
  242. local resetc1 = false
  243.  
  244.  
  245.  
  246.  
  247.  
  248. function PlayAnimationFromTable(table, speed, bool)
  249. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  250. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  251. RW.C0 = clerp(RW.C0, table[3], speed)
  252. LW.C0 = clerp(LW.C0, table[4], speed)
  253. RH.C0 = clerp(RH.C0, table[5], speed)
  254. LH.C0 = clerp(LH.C0, table[6], speed)
  255. if bool == true then
  256. if resetc1 == false then
  257. resetc1 = true
  258. RootJoint.C1 = RootJoint.C1
  259. Torso.Neck.C1 = Torso.Neck.C1
  260. RW.C1 = rarmc1
  261. LW.C1 = larmc1
  262. RH.C1 = rlegc1
  263. LH.C1 = llegc1
  264. end
  265. end
  266. end
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. ArtificialHB = Create("BindableEvent", script){
  276. Parent = script,
  277. Name = "Heartbeat",
  278. }
  279.  
  280. script:WaitForChild("Heartbeat")
  281.  
  282. frame = 1 / 35
  283. tf = 0
  284. allowframeloss = false
  285. tossremainder = false
  286. lastframe = tick()
  287. script.Heartbeat:Fire()
  288.  
  289.  
  290.  
  291.  
  292.  
  293. game:GetService("RunService").Heartbeat:connect(function(s, p)
  294. tf = tf + s
  295. if tf >= frame then
  296. if allowframeloss then
  297. script.Heartbeat:Fire()
  298. lastframe = tick()
  299. else
  300. for i = 1, math.floor(tf / frame) do
  301. script.Heartbeat:Fire()
  302. end
  303. lastframe = tick()
  304. end
  305. if tossremainder then
  306. tf = 0
  307. else
  308. tf = tf - frame * math.floor(tf / frame)
  309. end
  310. end
  311. end)
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318. function swait(num)
  319. if num == 0 or num == nil then
  320. ArtificialHB.Event:wait()
  321. else
  322. for i = 0, num do
  323. ArtificialHB.Event:wait()
  324. end
  325. end
  326. end
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. function RemoveOutlines(part)
  334. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  335. end
  336. function ShowDamage(Pos, Text, Time, Color)
  337. local Rate = (1 / 30)
  338. local Pos = (Pos or Vector3.new(0, 0, 0))
  339. local Text = (Text or "")
  340. local Time = (Time or 2)
  341. local Color = (Color or Color3.new(1, 0, 1))
  342. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  343. EffectPart.Anchored = true
  344. local BillboardGui = Create("BillboardGui"){
  345. Size = UDim2.new(3, 0, 3, 0),
  346. Adornee = EffectPart,
  347. Parent = EffectPart,
  348. }
  349. local TextLabel = Create("TextLabel"){
  350. BackgroundTransparency = 1,
  351. Size = UDim2.new(1, 0, 1, 0),
  352. Text = Text,
  353. Font = "SciFi",
  354. TextColor3 = Color,
  355. TextScaled = true,
  356. Parent = BillboardGui,
  357. }
  358. game.Debris:AddItem(EffectPart, (Time))
  359. EffectPart.Parent = game:GetService("Workspace")
  360. delay(0, function()
  361. local Frames = (Time / Rate)
  362. for Frame = 1, Frames do
  363. wait(Rate)
  364. local Percent = (Frame / Frames)
  365. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  366. TextLabel.TextTransparency = Percent
  367. end
  368. if EffectPart and EffectPart.Parent then
  369. EffectPart:Destroy()
  370. end
  371. end)
  372. end
  373. Sound=false
  374. function Damage(hit,Dag)
  375. if hit.Parent==Character or hit.Parent==workspace or hit.Parent.ClassName=='Asseccory' then
  376. return
  377. else
  378. wait(.1)
  379. local Hum=hit.Parent:FindFirstChild('Humanoid')
  380. wait(.1)
  381. if Hum~=nil then
  382. -- print(hit.Parent.name..' is getting hurt')
  383. if Nock==true then
  384. hit.Parent.Torso.Velocity=Character.HumanoidRootPart.CFrame.lookVector*100
  385. end
  386. ShowDamage(hit.Position,Dag)
  387. local DORA = CFuncs.Sound.Create("383548205", hit, 1, 1)
  388. Sound=true
  389. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-Dag
  390. wait(.1)
  391. else
  392. return
  393. end
  394.  
  395. end
  396. end
  397.  
  398. CFuncs = {
  399. Part = {
  400. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  401. local Part = Create("Part"){
  402. Parent = Parent,
  403. Reflectance = Reflectance,
  404. Transparency = Transparency,
  405. CanCollide = false,
  406. Locked = true,
  407. BrickColor = BrickColor.new(tostring(BColor)),
  408. Name = Name,
  409. Size = Size,
  410. Material = Material,
  411. }
  412. RemoveOutlines(Part)
  413. return Part
  414. end;
  415. };
  416.  
  417. Mesh = {
  418. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  419. local Msh = Create(Mesh){
  420. Parent = Part,
  421. Offset = OffSet,
  422. Scale = Scale,
  423. }
  424. if Mesh == "SpecialMesh" then
  425. Msh.MeshType = MeshType
  426. Msh.MeshId = MeshId
  427. end
  428. return Msh
  429. end;
  430. };
  431.  
  432. Weld = {
  433. Create = function(Parent, Part0, Part1, C0, C1)
  434. local Weld = Create("Weld"){
  435. Parent = Parent,
  436. Part0 = Part0,
  437. Part1 = Part1,
  438. C0 = C0,
  439. C1 = C1,
  440. }
  441. return Weld
  442. end;
  443. };
  444.  
  445. Sound = {
  446. Create = function(id, par, vol, pit)
  447. local Sound = Create("Sound"){
  448. Volume = vol,
  449. Pitch = pit or 1,
  450. SoundId = "rbxassetid://" .. id,
  451. Parent = par or workspace,
  452. }
  453. Sound:play()
  454. return Sound
  455. end;
  456. };
  457.  
  458. Decal = {
  459. Create = function(Color, Texture, Transparency, Name, Parent)
  460. local Decal = Create("Decal"){
  461. Color3 = Color,
  462. Texture = "rbxassetid://" .. Texture,
  463. Transparency = Transparency,
  464. Name = Name,
  465. Parent = Parent,
  466. }
  467. return Decal
  468. end;
  469. };
  470.  
  471. BillboardGui = {
  472. Create = function(Parent, Image, Position, Size)
  473. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  474. BillPar.CFrame = CFrame.new(Position)
  475. local Bill = Create("BillboardGui"){
  476. Parent = BillPar,
  477. Adornee = BillPar,
  478. Size = UDim2.new(1, 0, 1, 0),
  479. SizeOffset = Vector2.new(Size, Size),
  480. }
  481. local d = Create("ImageLabel", Bill){
  482. Parent = Bill,
  483. BackgroundTransparency = 1,
  484. Size = UDim2.new(1, 0, 1, 0),
  485. Image = "rbxassetid://" .. Image,
  486. }
  487. return BillPar
  488. end
  489. };
  490.  
  491. ParticleEmitter = {
  492. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  493. local Particle = Create("ParticleEmitter"){
  494. Parent = Parent,
  495. Color = ColorSequence.new(Color1, Color2),
  496. LightEmission = LightEmission,
  497. Size = Size,
  498. Texture = Texture,
  499. Transparency = Transparency,
  500. ZOffset = ZOffset,
  501. Acceleration = Accel,
  502. Drag = Drag,
  503. LockedToPart = LockedToPart,
  504. VelocityInheritance = VelocityInheritance,
  505. EmissionDirection = EmissionDirection,
  506. Enabled = Enabled,
  507. Lifetime = LifeTime,
  508. Rate = Rate,
  509. Rotation = Rotation,
  510. RotSpeed = RotSpeed,
  511. Speed = Speed,
  512. VelocitySpread = VelocitySpread,
  513. }
  514. return Particle
  515. end;
  516.  
  517.  
  518.  
  519.  
  520.  
  521. };
  522.  
  523. CreateTemplate = {
  524.  
  525. };
  526. }
  527.  
  528. lp=Player
  529.  
  530.  
  531. for _,v in pairs(lp.Character:GetChildren()) do
  532. if v.className=='Shirt' or v.className=='Pants' or v.className=='Accessory' then
  533. v:remove()
  534. end
  535. if v.className=='Part' then
  536. v.BrickColor=BrickColor.new('Pastel brown')
  537. end
  538. end
  539. function AutoWeld(Foop, OOF)
  540. local W = Instance.new("Weld")
  541. W.Part0 = Foop
  542. W.Part1 = OOF
  543. local CJ = CFrame.new(Foop.Position)
  544. local C0 = Foop.CFrame:inverse()*CJ
  545. local C1 = OOF.CFrame:inverse()*CJ
  546. W.C0 = C0
  547. W.C1 = C1
  548. W.Name='o0o'
  549. W.Parent = Foop
  550. end
  551.  
  552.  
  553. Shirt=Instance.new("Shirt",lp.Character)
  554. Shirt.ShirtTemplate='rbxassetid://692946861'
  555. Pants=Instance.new("Pants",lp.Character)
  556. Pants.PantsTemplate='rbxassetid://692946962'
  557.  
  558. lp.Character.Head.face.Texture='http://www.roblox.com/asset/?id=1190881618'
  559. D2=Instance.new('Decal',lp.Character.Head)
  560. D2.Texture='http://www.roblox.com/asset/?id=26926115'
  561.  
  562. mec=Instance.new('CharacterMesh',lp.Character)
  563. mec.BodyPart='Torso'
  564. mec.MeshId='48112070'
  565.  
  566.  
  567.  
  568.  
  569. h2=Instance.new('Part',lp.Character)
  570. h2.CanCollide=false
  571. h2.BrickColor=BrickColor.new('Dark stone grey')
  572. h2.CFrame=lp.Character.Head.CFrame*CFrame.new(0,-.3,0.1)
  573. m3=Instance.new('SpecialMesh',h2)
  574. m3.MeshId='http://www.roblox.com/asset/?id=283714534'
  575. m3.TextureId='http://www.roblox.com/asset/?id=398616339'
  576.  
  577.  
  578.  
  579. hb=Instance.new('Part',lp.Character)
  580. hb.CFrame=lp.Character.Head.CFrame*CFrame.new(0,0.3,-0.1)
  581. hb.CanCollide=false
  582. mb=Instance.new('SpecialMesh',hb)
  583. mb.MeshId='rbxassetid://74969506'
  584. mb.TextureId='rbxassetid://74226311'
  585.  
  586. h5=Instance.new('Part',lp.Character)
  587. h5.CFrame=lp.Character.Head.CFrame*CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0)
  588. h5.CanCollide=false
  589. m6=Instance.new('SpecialMesh',h5)
  590. m6.Scale=Vector3.new(1.2,1.2,1.2)
  591. m6.MeshId='rbxassetid://110214262'
  592. m6.TextureId='http://www.roblox.com/asset/?id=110212521'
  593.  
  594.  
  595. AutoWeld(hb,lp.Character.Head)
  596.  
  597. AutoWeld(h2,lp.Character.Head)
  598. AutoWeld(h5,lp.Character.Head)
  599.  
  600. base = Instance.new("ScreenGui",Player.PlayerGui)
  601. bbg = Instance.new("BillboardGui",Player.Character.Head)
  602. bbg.Size = UDim2.new(0,200,0,50)
  603. bbg.StudsOffset = Vector3.new(0,3,0)
  604.  
  605. bbgTl = Instance.new("TextLabel",bbg)
  606. bbgTl.BackgroundTransparency = 1
  607. bbgTl.Size = UDim2.new(10,0,1,0)
  608. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  609. bbgTl.Font = "Code"
  610. bbgTl.Text = " "
  611. bbgTl.TextSize = 25
  612. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  613. bbgTl.TextColor3 = Color3.new(0,0,0)
  614. bbgTl.TextStrokeTransparency = 0
  615. bbgTl.TextWrapped = true
  616.  
  617. function Chat(msg)
  618. bbgTl.Text = msg
  619. wait(1)
  620. if bbgTl.Text == msg then
  621. bbgTl.Text = " "
  622. end
  623. end
  624. Chat('Megumin by slenercat5')
  625.  
  626.  
  627. KML=CFuncs.Sound.Create(167135038,Character.Head,1,1)-- secret-->1108274211
  628. KML.Looped=true
  629. KML:stop()
  630. Explosion=CFuncs.Sound.Create(762570073,Character.Head,1,1)
  631. Explosion:stop()
  632. reload=false
  633. scoobis=false
  634. scoobismesh='rbxassetid://1107996700'
  635. scoobistexture='rbxassetid://1107996710'
  636. Nock=true
  637. ms.KeyDown:connect(function(k)
  638. k=k:lower()
  639. if k=='f' then
  640. if scoobis==false and reload==false and taunt==false and attack==false then
  641. scoobis=true
  642. KML:Play()
  643. hb.Transparency=1
  644. for _,v in pairs(Staff) do
  645. v.Transparency=0
  646. end
  647. reload=true
  648. wait(1)
  649. reload=false
  650. elseif scoobis==true and reload==false then
  651. KML:stop()
  652. hb.Transparency=0
  653. for _,v in pairs(Staff) do
  654. v.Transparency=1
  655. end
  656. scoobis=false
  657. Character.Head.Mesh.MeshType='Head'
  658. Character.Head.Mesh.Scale=Vector3.new(1.25, 1.25, 1.25)
  659.  
  660. reload=true
  661. wait(1)
  662. reload=false
  663.  
  664. end
  665. elseif k=='g' then
  666. if scoobis==false then
  667. if attack==false then
  668. if taunt then
  669. taunt=false
  670. TauntS:Stop()
  671. else
  672. taunt=true
  673. TauntS:Play()
  674. end
  675. print(taunt)
  676. end
  677. end
  678. end
  679.  
  680.  
  681. end)
  682.  
  683. --Particles--
  684.  
  685.  
  686.  
  687.  
  688. ----------
  689.  
  690.  
  691.  
  692.  
  693.  
  694. TauntS=Instance.new('Sound',Character.Head)
  695. TauntS.SoundId='rbxassetid://665015838'
  696. TauntS.Looped=true
  697. KML.Volume=.3
  698. Lead=CFuncs.Sound.Create(530138502,Character.Head,1,1)
  699. Lead:Stop()
  700. function Attack()
  701. Lead:Play()
  702. KML:Stop()
  703.  
  704. Dip=Instance.new('Part',Character)
  705. Dip.Transparency=1
  706. Dip.Size=Vector3.new(20,1,20)
  707. Dip.Anchored=true
  708. deo=Instance.new('Decal',Dip)
  709. deo.Texture='http://www.roblox.com/asset/?id=352764483'
  710. deo.Transparency=0
  711. deo.Face='Top'
  712. Dip.CFrame=Character.HumanoidRootPart.CFrame*CFrame.new(0,-2,0)
  713. Bp=Instance.new('Part',Dip)
  714. Bp.Name='BP'
  715. Bp.Anchored=true
  716. Bp.Transparency=1
  717. Bp.CFrame=Dip.CFrame*CFrame.new(-10,0,0)
  718. Bp2=Instance.new('Part',Dip)
  719. Bp2.Anchored=true
  720. Bp2.Name='BP2'
  721. Bp2.Transparency=1
  722. Bp2.CFrame=Dip.CFrame*CFrame.new(10,0,0)
  723. ac=Instance.new('Attachment',Bp)
  724. ac2=Instance.new('Attachment',Bp2)
  725.  
  726. local keypoints = {}
  727.  
  728. for i = 0,1,0.1 do
  729. local color = Color3.fromHSV(i,1,1)
  730. local keypoint = ColorSequenceKeypoint.new(i,color)
  731. table.insert(keypoints,keypoint)
  732. end
  733.  
  734. local particle = Instance.new('Beam',Bp)
  735. particle.Color = ColorSequence.new(keypoints)
  736. particle.Texture='rbxassetid://1135136643'
  737. particle.Attachment0=ac
  738. particle.Attachment1=AC
  739. particle.Width0=6
  740. particle.Width1=9
  741. particle.CurveSize0=-10
  742. particle.CurveSize1=10
  743. particle.LightEmission=1
  744.  
  745. local particle2 = Instance.new('Beam',Bp2)
  746. particle2.Color = ColorSequence.new(keypoints)
  747. particle2.LightEmission=1
  748. particle2.Texture='rbxassetid://1135136643'
  749. particle2.Attachment0=ac2
  750. particle2.Attachment1=AC
  751. particle2.CurveSize0=10
  752. particle2.CurveSize1=10
  753. particle2.Width0=6
  754. particle2.Width1=9
  755.  
  756. particle3=Instance.new('ParticleEmitter',Dip)
  757. particle3.Color = ColorSequence.new(keypoints)
  758. particle3.LightEmission=1
  759. particle3.Texture='rbxassetid://187012669'
  760. particle3.Size=NumberSequence.new(.2)
  761. particle3.Acceleration=Vector3.new(0,10,0)
  762. particle3.EmissionDirection='Bottom'
  763. particle3.SpreadAngle=Vector2.new(90,90)
  764. HK=Instance.new('Part',Character)
  765. HK.CanCollide=false
  766. HK.Shape='Ball'
  767. HK.Size=Vector3.new(2,2,2)
  768. HK.Material='Neon'
  769. HK.BrickColor=BrickColor.new('Gold')
  770. HK.Transparency=.5
  771. HK.CFrame=Character['Left Arm'].CFrame*CFrame.new(0,-1,-2)
  772. AutoWeld(HK,Character['Left Arm'])
  773. attack = true
  774. -- RootPart.CFrame = clerp(RootPart.CFrame,stand.HumanoidRootPart.CFrame*CFrame.new(0,0,-5), .1)
  775. StageTime=0
  776. Stage=1
  777. chatfunc('I am Megumin,Controller of the finest power Crimson Demons posses,')
  778. while Stage==1 do
  779. for i = 0, 1, 0.7 do
  780. swait()
  781. PlayAnimationFromTable({
  782. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  783. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  784. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  785. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(20, -.5, 0),
  786. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  787. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  788. },.5,false)
  789. StageTime=StageTime+.02
  790. if StageTime>3.5 then
  791. Stage=Stage+1
  792. end
  793. end
  794. end
  795. Stage=2
  796. -- wait(4)
  797. StageTime=0
  798. chatfunc(', and I command explosion magic!')
  799.  
  800.  
  801. while Stage==2 do
  802. for i = 0, 1, 0.7 do
  803. swait()
  804. PlayAnimationFromTable({
  805. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  806. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(-.5, 0.5, 0),
  807. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  808. CFrame.new(-1.5, 0, -0) * CFrame.new(0, .5, 0) * CFrame.Angles(20.5, -.5, 0),
  809. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  810. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  811. },.5,false)
  812. StageTime=StageTime+.02
  813. if StageTime>3.5 then
  814. Stage=Stage+1
  815. end
  816. if StageTime>1 and StageTime<1.1 then
  817. chatfunc('The Devil King fancies himself superior to us and dares call himself "strongest"!')
  818. end
  819. end
  820. end
  821.  
  822.  
  823. chatfunc('I shall obliterate his vile presence with our strongest of magics!')
  824.  
  825. StageTime=0
  826. Stage=3
  827. while Stage==3 do
  828. for i = 0, 1, 0.7 do
  829. swait()
  830. PlayAnimationFromTable({
  831. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  832. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  833. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  834. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(20, -.5, 0),
  835. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  836. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  837. },.5,false)
  838. end
  839. StageTime=StageTime+.03
  840. if StageTime>1.7 then
  841. Stage=Stage+1
  842. end
  843. end
  844.  
  845. StageTime=0
  846. for i = 0, 1, 0.7 do
  847. swait()
  848. PlayAnimationFromTable({
  849. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  850. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  851. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  852. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 1, 0) * CFrame.Angles(21, -.5, 0),
  853. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  854. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  855. },.5,false)
  856. end
  857. chatfunc('Explosion!')
  858. wait()
  859. Explosion:Play()
  860. HK:Remove()
  861. G=Instance.new('Part',Character)
  862. G.Size=Vector3.new(20,20,20)
  863. G.CanCollide=false
  864. G.Shape='Ball'
  865. G.Position=ms.Hit.p
  866. G.Transparency=.4
  867. G.Material='Neon'
  868. G.Anchored=true
  869. GEK=Instance.new('Explosion',G)
  870. GEK.BlastRadius=20
  871. GEK.BlastPressure=2
  872. GEK.DestroyJointRadiusPercent=2
  873. FF=Instance.new('ForceField',Character)
  874. FF.Visible=false
  875. Beam=Instance.new('Part',Character)
  876. Beam.BrickColor=BrickColor.new('Gold')
  877. Beam.Transparency=.5
  878. Beam.Anchored=true
  879. Beam.Material='Neon'
  880. local distance = (G.Position - Dis.Position).magnitude
  881. Beam.Size = Vector3.new(2, distance, 2)
  882. Beam.CFrame = CFrame.new(Dis.Position) * CFrame.new(0, -distance/2, 0)
  883.  
  884. GEK.Hit:connect(function(h)
  885. if h.Parent~=Character then
  886. h.Velocity=Vector3.new(math.random(-30,30),20,math.random(-30,30))
  887. end
  888. end)
  889. GEK.ExplosionType=Enum.ExplosionType.NoCraters
  890. GEK.Position=G.Position
  891. CFuncs.Sound.Create(539294959,G,1,1)
  892.  
  893. G.BrickColor=BrickColor.new('Gold')
  894. con1=G.Touched:connect(function(h)
  895. if h.Parent~=Character then
  896. h:remove()
  897. end
  898. end)
  899. K=Instance.new('BodyGyro',G)
  900. K.P=Vector3.new(0,100,0)
  901. wait(1)
  902. FF:remove()
  903. Dip:Remove()
  904. wait(1)
  905. G:remove()
  906. Beam:remove()
  907. bbgTl.Text=" "
  908. attack = false
  909. collapse=true
  910. end
  911.  
  912. reload2=false
  913.  
  914. collapse=false
  915. taunt=false
  916. Mouse.Button1Down:connect(function()
  917. if scoobis==true and reload2==false and taunt==false then
  918. reload2=true
  919. Attack()
  920. scoobis=false
  921. KML:stop()
  922. for _,v in pairs(Staff) do
  923. v.Transparency=1
  924. end
  925. hb.Transparency=0
  926. wait(5)
  927. collapse=false
  928. reload2=false
  929.  
  930.  
  931. end
  932. end)
  933. Staff={
  934.  
  935. }
  936.  
  937. Part=Instance.new("Part",Character)
  938. Part.Size= Vector3.new(
  939. 1, 2, 1
  940. )
  941. Part.Shape=
  942. Enum.PartType.Block
  943. Part.Name="Base"
  944. Part.Transparency=1
  945. Part.BrickColor= BrickColor.new("Medium stone grey")
  946. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  947. 0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0
  948. )
  949. AutoWeld(Part,Character["Left Arm"])
  950. Part.CanCollide=false
  951. Part.Material=
  952. Enum.Material.SmoothPlastic
  953.  
  954. -------------------------------------------------------------
  955. Part=Instance.new("Part",Character)
  956. Part.Size= Vector3.new(
  957. 4.88999748, 0.270000011, 0.38500011
  958. )
  959. Part.Shape=
  960. Enum.PartType.Block
  961. Part.Name="Stick"
  962. Part.BrickColor= BrickColor.new("Burnt Sienna")
  963. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  964. 0.0716470033, -1.0380317, 0.778614879, 0, 0, -1, 0, -1, -0, -1, 0, -0
  965. )
  966. AutoWeld(Part,Character["Left Arm"])
  967. Part.CanCollide=false
  968. Part.Material=
  969. Enum.Material.SmoothPlastic
  970. table.insert(Staff,Part)
  971.  
  972. -------------------------------------------------------------
  973. Part=Instance.new("Part",Character)
  974. Part.Size= Vector3.new(
  975. 0.910000563, 0.289999932, 0.38500011
  976. )
  977. Part.Shape=
  978. Enum.PartType.Block
  979. Part.Name="Stick"
  980. Part.BrickColor= BrickColor.new("Burnt Sienna")
  981. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  982. -0.188353002, -1.0380317, -1.88138556, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  983. )
  984. AutoWeld(Part,Character["Left Arm"])
  985. Part.CanCollide=false
  986. Part.Material=
  987. Enum.Material.SmoothPlastic
  988. table.insert(Staff,Part)
  989.  
  990. -------------------------------------------------------------
  991. Part=Instance.new("Part",Character)
  992. Part.Size= Vector3.new(
  993. 0.910000563, 0.289999902, 0.38500011
  994. )
  995. Part.Shape=
  996. Enum.PartType.Block
  997. Part.Name="Stick"
  998. Part.BrickColor= BrickColor.new("Burnt Sienna")
  999. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1000. -0.448352933, -1.0380317, -2.52138495, 0.0150980018, 0, -0.999886096, 0, -1, 0, -0.999886096, 0, -0.0150980027
  1001. )
  1002. AutoWeld(Part,Character["Left Arm"])
  1003. Part.CanCollide=false
  1004. Part.Material=
  1005. Enum.Material.SmoothPlastic
  1006. table.insert(Staff,Part)
  1007.  
  1008. -------------------------------------------------------------
  1009. Part=Instance.new("Part",Character)
  1010. Part.Size= Vector3.new(
  1011. 0.640000582, 0.269999981, 0.38500011
  1012. )
  1013. Part.Shape=
  1014. Enum.PartType.Block
  1015. Part.Name="Stick"
  1016. Part.BrickColor= BrickColor.new("Burnt Sienna")
  1017. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1018. -0.277138978, -1.02803171, -3.09968996, -0.657677054, 0, -0.75330013, 0, 1, 0, 0.75330013, 0, -0.657677054
  1019. )
  1020. AutoWeld(Part,Character["Left Arm"])
  1021. Part.CanCollide=false
  1022. Part.Material=
  1023. Enum.Material.SmoothPlastic
  1024. table.insert(Staff,Part)
  1025.  
  1026. -------------------------------------------------------------
  1027. Part=Instance.new("Part",Character)
  1028. Part.Size= Vector3.new(
  1029. 0.840000451, 0.229999989, 0.38500011
  1030. )
  1031. Part.Shape=
  1032. Enum.PartType.Block
  1033. Part.Name="Stick"
  1034. Part.BrickColor= BrickColor.new("Burnt Sienna")
  1035. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1036. 0.15343301, -1.02803171, -3.08046007, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  1037. )
  1038. AutoWeld(Part,Character["Left Arm"])
  1039. Part.CanCollide=false
  1040. Part.Material=
  1041. Enum.Material.SmoothPlastic
  1042. table.insert(Staff,Part)
  1043.  
  1044. -------------------------------------------------------------
  1045. Part=Instance.new("Part",Character)
  1046. Part.Size= Vector3.new(
  1047. 0.470000386, 0.209999919, 0.935000181
  1048. )
  1049. Part.Shape=
  1050. Enum.PartType.Block
  1051. Part.Name="Stick"
  1052. Part.BrickColor= BrickColor.new("Burnt Sienna")
  1053. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1054. 0.433368087, -1.02803171, -3.25790405, -0.91565901, 0, -0.401955992, 0, -1, 0, -0.401955992, 0, 0.91565901
  1055. )
  1056. AutoWeld(Part,Character["Left Arm"])
  1057. Part.CanCollide=false
  1058. Part.Material=
  1059. Enum.Material.SmoothPlastic
  1060. table.insert(Staff,Part)
  1061.  
  1062. -------------------------------------------------------------
  1063. Part=Instance.new("Part",Character)
  1064. Part.Size= Vector3.new(
  1065. 0.470000386, 0.189999968, 0.535000205
  1066. )
  1067. Part.Shape=
  1068. Enum.PartType.Block
  1069. Part.Name="Stick"
  1070. Part.BrickColor= BrickColor.new("Burnt Sienna")
  1071. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1072. 0.588867128, -1.02803171, -3.81795764, -0.99974674, 0, -0.0225039944, 0, -1, 0, -0.0225039944, 0, 0.99974674
  1073. )
  1074. AutoWeld(Part,Character["Left Arm"])
  1075. Part.CanCollide=false
  1076. Part.Material=
  1077. Enum.Material.SmoothPlastic
  1078. table.insert(Staff,Part)
  1079.  
  1080. -------------------------------------------------------------
  1081. Part=Instance.new("Part",Character)
  1082. Part.Size= Vector3.new(
  1083. 0.22999993, 0.578461468, 0.473846316
  1084. )
  1085. Part.Shape=
  1086. Enum.PartType.Block
  1087. Part.Name="Ring"
  1088. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  1089. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1090. -0.298082978, -1.0380317, -2.00398445, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  1091. )
  1092. AutoWeld(Part,Character["Left Arm"])
  1093. Part.CanCollide=false
  1094. Part.Material=
  1095. Enum.Material.Glass
  1096. table.insert(Staff,Part)
  1097.  
  1098. -------------------------------------------------------------
  1099. Part=Instance.new("Part",Character)
  1100. Part.Size= Vector3.new(
  1101. 0.22999993, 0.578461468, 0.473846316
  1102. )
  1103. Part.Shape=
  1104. Enum.PartType.Block
  1105. Part.Name="Ring"
  1106. Part.BrickColor= BrickColor.new("Br. yellowish orange")
  1107. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1108. -0.118083, -1.0380317, -1.77398527, -0.657677054, 0, -0.75330013, 0, -1, 0, -0.75330013, 0, 0.657677054
  1109. )
  1110. AutoWeld(Part,Character["Left Arm"])
  1111. Part.CanCollide=false
  1112. Part.Material=
  1113. Enum.Material.Glass
  1114. table.insert(Staff,Part)
  1115.  
  1116. -------------------------------------------------------------
  1117. Part=Instance.new("Part",Character)
  1118. Part.Size= Vector3.new(
  1119. 2.91999722, 0.340163469, 0.458857328
  1120. )
  1121. Part.Shape=
  1122. Enum.PartType.Block
  1123. Part.Name="Bandage"
  1124. Part.BrickColor= BrickColor.new("Lily white")
  1125. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1126. 0.0716470033, -1.0380317, 0.543615103, 0, 0, -1, 0, -1, -0, -1, 0, -0
  1127. )
  1128. AutoWeld(Part,Character["Left Arm"])
  1129. Part.CanCollide=false
  1130. Part.Material=
  1131. Enum.Material.SmoothPlastic
  1132. table.insert(Staff,Part)
  1133.  
  1134. -------------------------------------------------------------
  1135. Part=Instance.new("Part",Character)
  1136. Part.Size= Vector3.new(
  1137. 0.669999778, 0.669999778, 0.669999778
  1138. )
  1139. Part.Shape=
  1140. Enum.PartType.Ball
  1141. Part.Name="Ball"
  1142. Part.BrickColor= BrickColor.new("Really red")
  1143. Part.CFrame=Character["Left Arm"].CFrame*CFrame.new(
  1144. 0.141646966, -1.0380317, -2.46138406, 0, 0, -1, 0, -1, -0, -1, 0, -0
  1145. )
  1146. AutoWeld(Part,Character["Left Arm"])
  1147. Part.CanCollide=false
  1148. Part.Material=
  1149. Enum.Material.Glass
  1150. table.insert(Staff,Part)
  1151. -------------------------------------------------------------
  1152. for _,v in pairs(Staff) do
  1153. v.Transparency=1
  1154. end
  1155.  
  1156. function rayCast(Position, Direction, Range, Ignore)
  1157. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1158. end
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1166. sref.Anchored = true
  1167.  
  1168. local m = Create("Model"){
  1169. Parent = Character,
  1170. Name = "WeaponModel",
  1171. }
  1172. local shield=false
  1173.  
  1174. function chatfunc(text)
  1175. local chat = coroutine.wrap(function()
  1176. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1177. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1178. end
  1179. local naeeym2 = Instance.new("BillboardGui",Character)
  1180. naeeym2.Size = UDim2.new(0,100,0,40)
  1181. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1182. naeeym2.Adornee = Character.Head
  1183. naeeym2.Name = "TalkingBillBoard"
  1184. local tecks2 = Instance.new("TextLabel",naeeym2)
  1185. tecks2.BackgroundTransparency = 1
  1186. tecks2.BorderSizePixel = 0
  1187. tecks2.Text = ""
  1188. tecks2.Font = "Fantasy"
  1189. tecks2.FontSize = "Size32"
  1190. tecks2.TextStrokeTransparency = 0
  1191. tecks2.TextColor3 = Color3.new(.6,0,0)
  1192. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1193. tecks2.Size = UDim2.new(1,0,0.5,0)
  1194. local shk = coroutine.wrap(function()
  1195. while tecks2 ~= nil do
  1196. wait(.05)
  1197. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  1198. end
  1199. end)
  1200. shk()
  1201. for i = 1,string.len(text),1 do
  1202. tecks2.Text = string.sub(text,1,i)
  1203. wait(0.01)
  1204. end
  1205. wait(1)
  1206. for i = 1, 5 do
  1207. wait(.01)
  1208. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1209. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1210. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1211. end
  1212. naeeym2:Destroy()
  1213. end)
  1214. chat()
  1215. end
  1216.  
  1217. Player.Chatted:connect(function(msg)
  1218. if attack==false then
  1219. chatfunc(msg)
  1220. end
  1221. end)
  1222.  
  1223.  
  1224.  
  1225. Dis=Instance.new('Part',Character)
  1226. Dis.Transparency=1
  1227. Dis.Size=Vector3.new(20,1,20)
  1228. Dis.Anchored=true
  1229. Dis.CanCollide=false
  1230. dek=Instance.new('Decal',Dis)
  1231. dek.Face='Bottom'
  1232. dek.Texture='http://www.roblox.com/asset/?id=352764483'
  1233. dek.Transparency=1
  1234. AC=Instance.new('Attachment',Dis)
  1235. Dis.Name='Dis'
  1236. light=Instance.new('SurfaceLight',Character.Torso)
  1237. lightp=0
  1238. light.Face='Top'
  1239. while true do
  1240. light.Color=Color3.new(lightp,lightp,lightp)
  1241.  
  1242. if taunt==true then
  1243. lightp=TauntS.PlaybackLoudness/500
  1244. light.Enabled=true
  1245. else
  1246. lightp=0
  1247. light.Enabled=false
  1248. end
  1249. if attack==false then
  1250. dek.Transparency=1
  1251. else
  1252. dek.Transparency=0
  1253. end
  1254. Dis.CFrame=CFrame.new(ms.Hit.p.X,ms.Hit.p.Y,ms.Hit.p.Z)*CFrame.new(0,20,0)*CFrame.Angles(0,sine/2,0)
  1255. swait()
  1256. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1257. Character['Left Arm'].LocalTransparencyModifier=0
  1258. Character['Right Arm'].LocalTransparencyModifier=0
  1259. Character['Right Leg'].LocalTransparencyModifier=0
  1260. Character['Left Leg'].LocalTransparencyModifier=0
  1261. Character['Torso'].LocalTransparencyModifier=0
  1262.  
  1263. wait()
  1264. sine=sine+change
  1265. change=.1
  1266. if taunt==true and collapse==false then
  1267. if attack == false then
  1268. change = 2
  1269. PlayAnimationFromTable({
  1270. CFrame.new(-0, -0.331043243, -0.246173918) * CFrame.new(0,0+ math.cos(sine/2)*3, 0) * CFrame.Angles(0, math.rad(15 * math.cos(sine / 4)), 0),
  1271. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(15 * math.cos(sine/4)), 0),
  1272. CFrame.new(1.5 , 0 + .2 * math.cos(sine / 4 ) / 2, 0 - 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 4)), math.rad(3), math.rad(0)),
  1273. CFrame.new(-1.5 , 0 - .2 * math.cos(sine / 4) / 2, 0 + 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 4)), math.rad(-3), math.rad(0)),
  1274. CFrame.new(.5 , -1.64 - 1 * math.cos(sine / 4) / 2, 0 + 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 4)), math.rad(-3), math.rad(0)),
  1275. CFrame.new(-.5 , -1.64 + 1 * math.cos(sine / 4 ) / 2, 0 - 1 * math.sin(sine / 4) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 4)), math.rad(3), math.rad(0)),
  1276. ---root.RotVelocity.Y /20
  1277. }, .2, false)
  1278.  
  1279. end
  1280. end
  1281. if collapse==false then
  1282. if taunt==false then
  1283. Character.Humanoid.WalkSpeed=20
  1284. local speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1285.  
  1286.  
  1287. local TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1288. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1289. velocity = RootPart.Velocity.y
  1290. sine = sine + change
  1291. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1292. if RootPart.Velocity.y > 1 and hit == nil then
  1293. Anim = "Jump"
  1294. if attack == false then
  1295. PlayAnimationFromTable({
  1296. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1297. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1298. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1299. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1300. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1301. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1302. }, .3, false)
  1303. end
  1304. elseif RootPart.Velocity.y < -1 and hit == nil then
  1305. Anim = "Fall"
  1306. if attack == false then
  1307. PlayAnimationFromTable({
  1308. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1309. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1310. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1313. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1314. }, .3, false)
  1315. end
  1316. elseif Torsovelocity < 1 and hit ~= nil then
  1317. Anim = "Idle"
  1318. if attack == false then
  1319. change = 1
  1320. PlayAnimationFromTable({
  1321. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, .5, 0),
  1322. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -.5, 0),
  1323. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1324. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1325. CFrame.new(0.5,-1.8, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1326. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1327. }, .3, false)
  1328. end
  1329. elseif Torsovelocity > 2 and hit ~= nil then
  1330. Anim = "Walk"
  1331. if attack == false then
  1332. change = 2
  1333. PlayAnimationFromTable({
  1334. CFrame.new(-0, -0.331043243, -0.246173918) * CFrame.new(0, .1, 0) * CFrame.Angles(-.2, math.rad(-15 * math.cos(sine / 8)), 0+root.RotVelocity.Y/15),
  1335. CFrame.new(0, 1.4999913, 6.55651093e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(.2, math.rad(15 * math.cos(sine / 8)), 0),
  1336. CFrame.new(1.5 , 0 + .2 * math.cos(sine / 8 ) / 2, 0 - 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1337. CFrame.new(-1.5 , 0 - .2 * math.cos(sine / 8) / 2, 0 + 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1338. CFrame.new(.5 , -1.64 - 1 * math.cos(sine / 8) / 2, 0 + 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1339. CFrame.new(-.5 , -1.64 + 1 * math.cos(sine / 8 ) / 2, 0 - 1 * math.sin(sine / 8) ) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1340. ---root.RotVelocity.Y /20
  1341. }, .2, false)
  1342. end
  1343. end
  1344. end
  1345. elseif collapse==true then
  1346. Character.Humanoid.WalkSpeed=0
  1347. PlayAnimationFromTable({
  1348. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885) * CFrame.new(0, -3, 0) * CFrame.Angles(-1.5, 0, 0),
  1349. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1350. CFrame.new(1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.5),
  1351. CFrame.new(-1.5, 0, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -.5),
  1352. CFrame.new(0.5,-1.8, 0) * CFrame.new(0.4, 0, 0) * CFrame.Angles(0, 0, .5),
  1353. CFrame.new(-0.5,-1.8 ,0) * CFrame.new(-0.4, 0, 0) * CFrame.Angles(0, 0, -.5),
  1354. }, .2, false)
  1355. elseif attack==true then
  1356. Character.Humanoid.WalkSpeed=0
  1357.  
  1358. end
  1359. end
  1360. --https://www.hastebin.com/raw/fahamuqecu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement