Advertisement
HenloMyDude

BHRemake

Dec 17th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.40 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("hi")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. plr = owner
  8. char = plr.Character
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. hed = char.Head
  12. root = char.HumanoidRootPart
  13. hum = char.Humanoid
  14. dancin = false
  15.  
  16. clerp = function(toclerp, cf, number)
  17. local joint = toclerp
  18. joint.C0 = joint.C0:Lerp(cf, number)
  19. end
  20.  
  21. clerp2 = function(toclerp, cf)
  22. local joint = toclerp
  23. joint.C0 = cf
  24. end
  25.  
  26. clerp3 = function(toclerp, cf, number)
  27. local joint = toclerp
  28. joint.C1 = joint.C1:Lerp(cf, number)
  29. end
  30.  
  31. Swait,swait = function(number)
  32. if number == 0 or number == nil then
  33. game:GetService("RunService").Heartbeat:Wait()
  34. else
  35. for i = 1,number do
  36. game:GetService("RunService").Heartbeat:Wait()
  37. end
  38. end
  39. end
  40.  
  41. ezweld = function(p, a, b, cf)
  42. local weld = Instance.new("Weld",p)
  43. weld.Part0 = a
  44. weld.Part1 = b
  45. weld.C0 = cf
  46. return weld
  47. end
  48.  
  49. NewSound = function(p, id, pit, vol, loop)
  50. local Sound = Instance.new("Sound",p)
  51. Sound.Pitch = pit
  52. Sound.Volume = vol
  53. Sound.SoundId = "rbxassetid://" ..id
  54. Sound.Looped = loop
  55. Sound:Play()
  56. return Sound
  57. end
  58.  
  59. IT = Instance.new
  60. Rad = math.rad
  61. Cos = math.cos
  62. Sin = math.sin
  63. BrickC = BrickColor.new
  64. C3 = Color3.new
  65. VT = Vector3.new
  66.  
  67. anim = "Idle"
  68. attack = false
  69. local RS = char.Torso["Right Shoulder"]
  70. local LS = char.Torso["Left Shoulder"]
  71. local RH = char.Torso["Right Hip"]
  72. local LH = char.Torso["Left Hip"]
  73. local neck = char.Torso["Neck"]
  74. local anim = "Idle"
  75. local animate = char.Animate
  76. local root = char.HumanoidRootPart
  77. local rootj = root.RootJoint
  78. local timepos = 0
  79. local sine = 0
  80. local RSnor = RS.C0
  81. local LSnor = LS.C0
  82. local RHnor = RH.C0
  83. local LHnor = LH.C0
  84. local RSnor2 = RS.C1
  85. local LSnor2 = LS.C1
  86. local RHnor2 = RH.C1
  87. local LHnor2 = LH.C1
  88. local rootjnor = rootj.C0
  89. local necknor = neck.C0
  90. local tors = char.Torso
  91. hum.Animator:remove()
  92. mouse = plr:GetMouse()
  93. hold = false
  94. Debris = game:GetService("Debris")
  95.  
  96. sped = 16
  97. hee = 15
  98.  
  99. function RayCast(Position, Direction, Range, Ignore)
  100. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  101. end
  102.  
  103. for i,v in pairs (char:GetDescendants()) do
  104. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Decal") or v:IsA("Texture") then
  105. v:remove()
  106. end
  107. if v:IsA("Part") then
  108. v.Transparency = 1
  109. end
  110. end
  111.  
  112. cors = {}
  113. mas = Instance.new("Model",game:GetService("Lighting"))
  114. Model0 = Instance.new("Model")
  115. Part1 = Instance.new("Part")
  116. Weld2 = Instance.new("Weld")
  117. Weld3 = Instance.new("Weld")
  118. Weld4 = Instance.new("Weld")
  119. Part5 = Instance.new("Part")
  120. CylinderMesh6 = Instance.new("CylinderMesh")
  121. ParticleEmitter7 = Instance.new("ParticleEmitter")
  122. Model8 = Instance.new("Model")
  123. Part9 = Instance.new("Part")
  124. CylinderMesh10 = Instance.new("CylinderMesh")
  125. Part11 = Instance.new("Part")
  126. CylinderMesh12 = Instance.new("CylinderMesh")
  127. Model0.Name = "Wand"
  128. Model0.Parent = mas
  129. Model0.PrimaryPart = Part1
  130. Part1.Name = "Base"
  131. Part1.Parent = Model0
  132. Part1.CFrame = CFrame.new(99.6891098, 0.100066148, 124.775757, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  133. Part1.Position = Vector3.new(99.6891098, 0.100066148, 124.775757)
  134. Part1.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  135. Part1.BottomSurface = Enum.SurfaceType.Smooth
  136. Part1.CanCollide = false
  137. Part1.Material = Enum.Material.SmoothPlastic
  138. Part1.TopSurface = Enum.SurfaceType.Smooth
  139. Weld2.Name = "Joint"
  140. Weld2.Parent = Part1
  141. Weld2.C0 = CFrame.new(-4.76837158e-06, -4.57763672e-05, -1.69998741, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  142. Weld2.Part0 = Part1
  143. Weld2.Part1 = Part5
  144. Weld2.part1 = Part5
  145. Weld3.Name = "BTWeld"
  146. Weld3.Parent = Part1
  147. Weld3.C1 = CFrame.new(7.62939453e-06, -0.499984741, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  148. Weld3.Part0 = Part1
  149. Weld3.Part1 = Part11
  150. Weld3.part1 = Part11
  151. Weld4.Name = "BTWeld"
  152. Weld4.Parent = Part1
  153. Weld4.C1 = CFrame.new(7.62939453e-06, 0.700012207, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  154. Weld4.Part0 = Part1
  155. Weld4.Part1 = Part9
  156. Weld4.part1 = Part9
  157. Part5.Name = "Head"
  158. Part5.Parent = Model0
  159. Part5.CFrame = CFrame.new(99.6891022, 0.100020371, 123.075768, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  160. Part5.Orientation = Vector3.new(-90, 0, 0)
  161. Part5.Position = Vector3.new(99.6891022, 0.100020371, 123.075768)
  162. Part5.Rotation = Vector3.new(-90, 0, 0)
  163. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  164. Part5.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
  165. Part5.BottomSurface = Enum.SurfaceType.Smooth
  166. Part5.BrickColor = BrickColor.new("Institutional white")
  167. Part5.CanCollide = false
  168. Part5.Material = Enum.Material.SmoothPlastic
  169. Part5.TopSurface = Enum.SurfaceType.Smooth
  170. Part5.brickColor = BrickColor.new("Institutional white")
  171. CylinderMesh6.Parent = Part5
  172. ParticleEmitter7.Name = "Sparkles"
  173. ParticleEmitter7.Parent = Part5
  174. ParticleEmitter7.Speed = NumberRange.new(5, 15)
  175. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  176. ParticleEmitter7.Enabled = false
  177. ParticleEmitter7.LightEmission = 1
  178. ParticleEmitter7.Texture = "rbxassetid://1053546634"
  179. ParticleEmitter7.Transparency = NumberSequence.new(1,0,1)
  180. ParticleEmitter7.ZOffset = -0.10000000149012
  181. ParticleEmitter7.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  182. ParticleEmitter7.Drag = 15
  183. ParticleEmitter7.Lifetime = NumberRange.new(1, 1)
  184. ParticleEmitter7.Rate = 45
  185. ParticleEmitter7.SpreadAngle = Vector2.new(360, 360)
  186. ParticleEmitter7.VelocitySpread = 360
  187. Model8.Name = "Union"
  188. Model8.Parent = Model0
  189. Part9.Parent = Model8
  190. Part9.CFrame = CFrame.new(99.6891022, 0.100020371, 125.475769, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  191. Part9.Orientation = Vector3.new(-90, 0, 0)
  192. Part9.Position = Vector3.new(99.6891022, 0.100020371, 125.475769)
  193. Part9.Rotation = Vector3.new(-90, 0, 0)
  194. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  195. Part9.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
  196. Part9.Anchored = true
  197. Part9.BottomSurface = Enum.SurfaceType.Smooth
  198. Part9.BrickColor = BrickColor.new("Institutional white")
  199. Part9.Material = Enum.Material.SmoothPlastic
  200. Part9.TopSurface = Enum.SurfaceType.Smooth
  201. Part9.brickColor = BrickColor.new("Institutional white")
  202. CylinderMesh10.Parent = Part9
  203. Part11.Parent = Model8
  204. Part11.CFrame = CFrame.new(99.6891022, 0.100020371, 124.275772, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  205. Part11.Orientation = Vector3.new(-90, 0, 0)
  206. Part11.Position = Vector3.new(99.6891022, 0.100020371, 124.275772)
  207. Part11.Rotation = Vector3.new(-90, 0, 0)
  208. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  209. Part11.Size = Vector3.new(0.200000003, 2.19999981, 0.200000003)
  210. Part11.Anchored = true
  211. Part11.BottomSurface = Enum.SurfaceType.Smooth
  212. Part11.BrickColor = BrickColor.new("Really black")
  213. Part11.Material = Enum.Material.SmoothPlastic
  214. Part11.TopSurface = Enum.SurfaceType.Smooth
  215. Part11.brickColor = BrickColor.new("Really black")
  216. CylinderMesh12.Parent = Part11
  217. for i,v in pairs(mas:GetChildren()) do
  218. v.Parent = nil
  219. pcall(function() v:MakeJoints() end)
  220. end
  221. for i,v in pairs(Model0:GetChildren()) do
  222. if v:IsA("Part") then
  223. v.Anchored = false
  224. end
  225. end
  226. for i,v in pairs(Model8:GetChildren()) do
  227. v.Anchored = false
  228. end
  229. mas:Destroy()
  230. for i,v in pairs(cors) do
  231. spawn(function()
  232. pcall(v)
  233. end)
  234. end
  235.  
  236. WAND = Model0
  237.  
  238. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  239. local NEWWELD = Instance.new(TYPE)
  240. NEWWELD.Part0 = PART0
  241. NEWWELD.Part1 = PART1
  242. NEWWELD.C0 = C0
  243. NEWWELD.C1 = C1
  244. NEWWELD.Parent = PARENT
  245. return NEWWELD
  246. end
  247.  
  248. local wand = Instance.new("Model",char)
  249.  
  250. function SpawnWand(ARM)
  251. local STAFF = WAND:Clone()
  252. STAFF.Parent = wand
  253. local WELD = CreateWeldOrSnapOrMotor("Weld", ARM, ARM, STAFF.Base, CFrame.new(0,-1.2,0), CFrame.new(0,0,0))
  254. return STAFF,WELD,STAFF.Head.Sparkles
  255. end
  256.  
  257. SpawnWand(la)
  258.  
  259. local sang = NewSound(root, 1583302174, 1, 10, true)
  260.  
  261. local part = Instance.new("Part",char)
  262. part.Size = Vector3.new(0.1, 0.1, 0.1)
  263. part.CanCollide = false
  264. part.BrickColor = BrickColor.new("Maroon")
  265. local mesh = Instance.new("SpecialMesh",part)
  266. mesh.MeshId = "rbxassetid://63717022"
  267. mesh.Scale = Vector3.new(1.6, 2.5, 1.6)
  268. local weld = ezweld(char, part, tors, CFrame.new(0, -1, -0.5) * CFrame.Angles(Rad(180), Rad(180), 0))
  269.  
  270. local part = Instance.new("Part",char)
  271. part.Size = Vector3.new(0.1, 0.1, 0.1)
  272. part.CanCollide = false
  273. part.BrickColor = BrickColor.new("Magenta")
  274. part.Material = "Neon"
  275. local mesh = Instance.new("SpecialMesh",part)
  276. mesh.MeshId = "rbxassetid://63717022"
  277. mesh.Scale = Vector3.new(1.58, 2.5, 1.58)
  278. mesh.VertexColor = Vector3.new(0.8, 0.8, 0.8)
  279. local weld = ezweld(char, part, tors, CFrame.new(0, -1.05, -0.48) * CFrame.Angles(Rad(180), Rad(180), 0))
  280.  
  281. local part = Instance.new("Part",char)
  282. part.Size = Vector3.new(0.1, 0.1, 0.1)
  283. part.CanCollide = false
  284. part.BrickColor = BrickColor.new("Really black")
  285. part.Material = "Concrete"
  286. local mesh = Instance.new("SpecialMesh",part)
  287. mesh.MeshId = "rbxassetid://28463033"
  288. mesh.Scale = Vector3.new(1, 1, 1)
  289. mesh.VertexColor = Vector3.new(0.8, 0.8, 0.8)
  290. local weld = ezweld(char, part, tors, CFrame.new(0, -0.18, 0.55) * CFrame.Angles(Rad(0), Rad(0), 0))
  291.  
  292. local part = Instance.new("Part",char)
  293. part.Size = Vector3.new(0.1, 0.1, 0.1)
  294. part.CanCollide = false
  295. part.BrickColor = BrickColor.new("Really black")
  296. part.Material = "Concrete"
  297. local mesh = Instance.new("SpecialMesh",part)
  298. mesh.MeshId = "rbxassetid://1147595316"
  299. mesh.TextureId = "rbxassetid://1147597253"
  300. mesh.Offset = Vector3.new(0, 0.25, 0)
  301. mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  302. mesh.VertexColor = Vector3.new(1, 1, 1)
  303. local weld = ezweld(char, part, hed, CFrame.new(0, -0.075, -0.5) * CFrame.Angles(Rad(0), Rad(180), 0))
  304.  
  305. local HAT = Instance.new("Model",char)
  306.  
  307. local parth = Instance.new("Part",HAT)
  308. parth.Size = Vector3.new(0.1, 0.1, 0.1)
  309. parth.CanCollide = false
  310. parth.BrickColor = BrickColor.new("Maroon")
  311. parth.Material = "Plastic"
  312. local mesh = Instance.new("SpecialMesh",parth)
  313. mesh.MeshId = "rbxassetid://57475891"
  314. mesh.Offset = Vector3.new(0, 0.25, 0)
  315. mesh.Scale = Vector3.new(0.9, 0.9, 0.9)
  316. mesh.VertexColor = Vector3.new(1, 1, 1)
  317. local HATWELD = ezweld(char, parth, hed, CFrame.new(0, -1, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  318.  
  319. local part = Instance.new("Part",HAT)
  320. part.Name = "Base"
  321. part.Size = Vector3.new(0.1, 0.1, 0.1)
  322. part.CanCollide = false
  323. part.BrickColor = BrickColor.new("Magenta")
  324. part.Material = "Concrete"
  325. local mesh = Instance.new("SpecialMesh",part)
  326. mesh.MeshId = "rbxassetid://57475891"
  327. mesh.Offset = Vector3.new(0, 0.25, 0)
  328. mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  329. mesh.VertexColor = Vector3.new(1, 1, 1)
  330. local weld = ezweld(char, part, parth, CFrame.new(0, 0.075, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  331.  
  332. local sp = Instance.new("Part",char)
  333. sp.Size = Vector3.new(1.8, 2.3, 0.5)
  334. sp.CanCollide = false
  335. sp.Transparency = 1
  336. local sparkle = Instance.new("ParticleEmitter",sp)
  337. sparkle.Texture = "rbxassetid://1053546634"
  338. sparkle.LockedToPart = true
  339. sparkle.Name = "Sparkles"
  340. sparkle.Enabled = true
  341. sparkle.Transparency = NumberSequence.new(1, 0, 1)
  342. sparkle.Size = NumberSequence.new(0.4)
  343. sparkle.Lifetime = NumberRange.new(1, 4)
  344. sparkle.LightEmission = NumberSequence.new(1)
  345. sparkle.EmissionDirection = "Top"
  346. sparkle.VelocityInheritance = NumberSequence.new(0)
  347. sparkle.Rotation = NumberRange.new(0, 360)
  348. sparkle.RotSpeed = NumberRange.new(0)
  349. sparkle.Acceleration = Vector3.new(0, 0.15, 0)
  350. sparkle.Speed = NumberRange.new(0)
  351. sparkle.SpreadAngle = Vector2.new(45, 45)
  352. sparkle.Rate = 15
  353. sparkle.LightEmission = 1
  354. sparkle.ZOffset = -0.1
  355. local weld = ezweld(char, sp, tors, CFrame.new(0, 0.7, -0.25) * CFrame.Angles(Rad(0), Rad(0), 0))
  356.  
  357. local part = Instance.new("Part",char)
  358. part.Size = Vector3.new(1.156, 0.308, 1.156)
  359. part.CanCollide = false
  360. part.BrickColor = BrickColor.new("Crimson")
  361. part.Material = "Concrete"
  362. local mesh = Instance.new("SpecialMesh",part)
  363. mesh.MeshType = "Sphere"
  364. mesh.Offset = Vector3.new(0, -0.7, 0)
  365. local weld = ezweld(char, part, ra, CFrame.new(0, -0.38, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  366.  
  367. local part = Instance.new("Part",char)
  368. part.Size = Vector3.new(1.156, 0.231, 1.156)
  369. part.CanCollide = false
  370. part.BrickColor = BrickColor.new("Crimson")
  371. part.Material = "Concrete"
  372. local mesh = Instance.new("CylinderMesh",part)
  373. mesh.Offset = Vector3.new(0, -0.75, 0)
  374. local weld = ezweld(char, part, ra, CFrame.new(0, -0.31, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  375.  
  376. local part = Instance.new("Part",char)
  377. part.Size = Vector3.new(1.233, 0.154, 1.233)
  378. part.CanCollide = false
  379. part.BrickColor = BrickColor.new("Cocoa")
  380. part.Material = "Concrete"
  381. local mesh = Instance.new("CylinderMesh",part)
  382. mesh.Offset = Vector3.new(0, -0.75, 0)
  383. local weld = ezweld(char, part, ra, CFrame.new(0, -0.21, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  384.  
  385. local part = Instance.new("Part",char)
  386. part.Size = Vector3.new(1.233, 0.154, 1.233)
  387. part.CanCollide = false
  388. part.BrickColor = BrickColor.new("Institutional white")
  389. part.Material = "Glass"
  390. local mesh = Instance.new("SpecialMesh",part)
  391. mesh.Scale = Vector3.new(2.5, 2.35, 2.5)
  392. mesh.Offset = Vector3.new(0, -0.75, 0)
  393. mesh.MeshId = "http://www.roblox.com/asset/?id=875229570"
  394. local weld = ezweld(char, part, ra, CFrame.new(0, 0.37, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  395.  
  396. ----
  397.  
  398. local part = Instance.new("Part",char)
  399. part.Size = Vector3.new(1.156, 0.308, 1.156)
  400. part.CanCollide = false
  401. part.BrickColor = BrickColor.new("Crimson")
  402. part.Material = "Concrete"
  403. local mesh = Instance.new("SpecialMesh",part)
  404. mesh.MeshType = "Sphere"
  405. mesh.Offset = Vector3.new(0, -0.7, 0)
  406. local weld = ezweld(char, part, la, CFrame.new(0, -0.38, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  407.  
  408. local part = Instance.new("Part",char)
  409. part.Size = Vector3.new(1.156, 0.231, 1.156)
  410. part.CanCollide = false
  411. part.BrickColor = BrickColor.new("Crimson")
  412. part.Material = "Concrete"
  413. local mesh = Instance.new("CylinderMesh",part)
  414. mesh.Offset = Vector3.new(0, -0.75, 0)
  415. local weld = ezweld(char, part, la, CFrame.new(0, -0.31, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  416.  
  417. local part = Instance.new("Part",char)
  418. part.Size = Vector3.new(1.233, 0.154, 1.233)
  419. part.CanCollide = false
  420. part.BrickColor = BrickColor.new("Cocoa")
  421. part.Material = "Concrete"
  422. local mesh = Instance.new("CylinderMesh",part)
  423. mesh.Offset = Vector3.new(0, -0.75, 0)
  424. local weld = ezweld(char, part, la, CFrame.new(0, -0.21, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  425.  
  426. local part = Instance.new("Part",char)
  427. part.Size = Vector3.new(1.233, 0.154, 1.233)
  428. part.CanCollide = false
  429. part.BrickColor = BrickColor.new("Institutional white")
  430. part.Material = "Glass"
  431. local mesh = Instance.new("SpecialMesh",part)
  432. mesh.Scale = Vector3.new(2.5, 2.35, 2.5)
  433. mesh.Offset = Vector3.new(0, -0.75, 0)
  434. mesh.MeshId = "http://www.roblox.com/asset/?id=875229553"
  435. local weld = ezweld(char, part, la, CFrame.new(0, 0.37, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  436.  
  437. ducki = false
  438. duk = Instance.new("Part",nil)
  439. duk.Size = Vector3.new(1, 1, 1)
  440. duk.CanCollide = false
  441. dmesh = Instance.new("SpecialMesh", duk)
  442. dmesh.MeshId = "rbxassetid://521754610"
  443. dmesh.TextureId = "rbxassetid://521754612"
  444. dmesh.Scale = Vector3.new(1, 1, 1)
  445. dweld = ezweld(char, duk, ra, CFrame.new(-0.25, -0.2, -1.2) * CFrame.Angles(Rad(90), 0, Rad(180)))
  446.  
  447. SINE = 0
  448. IT = Instance.new
  449. CF = CFrame.new
  450. VT = Vector3.new
  451. RAD = math.rad
  452. C3 = Color3.new
  453. UD2 = UDim2.new
  454. BRICKC = BrickColor.new
  455. ANGLES = CFrame.Angles
  456. EULER = CFrame.fromEulerAnglesXYZ
  457. COS = math.cos
  458. ACOS = math.acos
  459. SIN = math.sin
  460. ASIN = math.asin
  461. ABS = math.abs
  462. MRANDOM = math.random
  463. FLOOR = math.floor
  464. Animation_Speed = 3
  465. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  466. CHANGE = 2 / 3
  467.  
  468. Torso = tors
  469. RootPart = root
  470. RootJoint = RootPart["RootJoint"]
  471. Neck = Torso["Neck"]
  472. RightShoulder = Torso["Right Shoulder"]
  473. LeftShoulder = Torso["Left Shoulder"]
  474. RightHip = Torso["Right Hip"]
  475. LeftHip = Torso["Left Hip"]
  476.  
  477. local Speed = 35
  478. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  479. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  480. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  481. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  482.  
  483. function Clerp(a, b, t)
  484. return a:lerp(b, t)
  485. end
  486.  
  487. PLAY = true
  488.  
  489. local large = Instance.new("ParticleEmitter",Torso)
  490. large.Name = "LargeSparks"
  491. large.Texture = "rbxassetid://1053546634"
  492. large.LockedToPart = false
  493. large.Name = "Sparkles"
  494. large.Enabled = false
  495. large.Transparency = NumberSequence.new(1, 0, 1)
  496. large.Size = NumberSequence.new(0.4, 4)
  497. large.Lifetime = NumberRange.new(1, 4)
  498. large.LightEmission = NumberSequence.new(1)
  499. large.EmissionDirection = "Top"
  500. large.VelocityInheritance = NumberSequence.new(0)
  501. large.Rotation = NumberRange.new(0, 360)
  502. large.RotSpeed = NumberRange.new(0)
  503. large.Acceleration = Vector3.new(0, 0.15, 0)
  504. large.Speed = NumberRange.new(20, 45)
  505. large.Drag = NumberRange.new(7)
  506. large.SpreadAngle = Vector2.new(360, 360)
  507. large.Rate = 999
  508. large.LightEmission = 1
  509. large.ZOffset = -0.1
  510.  
  511. local large2 = Instance.new("ParticleEmitter",Torso)
  512. large2.Name = "LargeSparks"
  513. large2.Texture = "rbxassetid://1053546634"
  514. large2.LockedToPart = false
  515. large2.Name = "Sparkles"
  516. large2.Enabled = false
  517. large2.Transparency = NumberSequence.new(1, 0, 1)
  518. large2.Size = NumberSequence.new(0.4, 4)
  519. large2.Lifetime = NumberRange.new(5)
  520. large2.LightEmission = NumberSequence.new(1)
  521. large2.EmissionDirection = "Top"
  522. large2.VelocityInheritance = NumberSequence.new(6)
  523. large2.Rotation = NumberRange.new(155)
  524. large2.RotSpeed = NumberRange.new(50)
  525. large2.Acceleration = Vector3.new(0, -10, 0)
  526. large2.Speed = NumberRange.new(22.5)
  527. large2.SpreadAngle = Vector2.new(44, -44)
  528. large2.Rate = 999
  529. large2.LightEmission = 1
  530.  
  531. local LARGESPARKS = large2
  532. local Rooted = false
  533.  
  534. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  535. local NEWMESH = IT(MESH)
  536. if MESH == "SpecialMesh" then
  537. NEWMESH.MeshType = MESHTYPE
  538. if MESHID ~= "nil" and MESHID ~= "" then
  539. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  540. end
  541. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  542. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  543. end
  544. end
  545. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  546. NEWMESH.Scale = SCALE
  547. NEWMESH.Parent = PARENT
  548. return NEWMESH
  549. end
  550.  
  551. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  552. local NEWPART = IT("Part")
  553. NEWPART.formFactor = FORMFACTOR
  554. NEWPART.Reflectance = REFLECTANCE
  555. NEWPART.Transparency = TRANSPARENCY
  556. NEWPART.CanCollide = false
  557. NEWPART.Locked = true
  558. NEWPART.Anchored = true
  559. if ANCHOR == false then
  560. NEWPART.Anchored = false
  561. end
  562. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  563. NEWPART.Name = NAME
  564. NEWPART.Size = SIZE
  565. NEWPART.Position = Torso.Position
  566. NEWPART.Material = MATERIAL
  567. NEWPART:BreakJoints()
  568. NEWPART.Parent = PARENT
  569. return NEWPART
  570. end
  571.  
  572. function WACKYEFFECT(Table)
  573. local TYPE = (Table.EffectType or "Sphere")
  574. local SIZE = (Table.Size or VT(1,1,1))
  575. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  576. local TRANSPARENCY = (Table.Transparency or 0)
  577. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  578. local CFRAME = (Table.CFrame or Torso.CFrame)
  579. local MOVEDIRECTION = (Table.MoveToPos or nil)
  580. local ROTATION1 = (Table.RotationX or 0)
  581. local ROTATION2 = (Table.RotationY or 0)
  582. local ROTATION3 = (Table.RotationZ or 0)
  583. local MATERIAL = (Table.Material or "Neon")
  584. local COLOR = (Table.Color or C3(1,1,1))
  585. local TIME = (Table.Time or 45)
  586. local SOUNDID = (Table.SoundID or nil)
  587. local SOUNDPITCH = (Table.SoundPitch or nil)
  588. local SOUNDVOLUME = (Table.SoundVolume or nil)
  589. coroutine.resume(coroutine.create(function()
  590. local PLAYSSOUND = false
  591. local SOUND = nil
  592. local EFFECT = CreatePart(3, char, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  593. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  594. PLAYSSOUND = true
  595. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  596. end
  597. EFFECT.Color = COLOR
  598. local MSH = nil
  599. if TYPE == "Sphere" then
  600. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  601. elseif TYPE == "Block" or TYPE == "Box" then
  602. MSH = IT("BlockMesh",EFFECT)
  603. MSH.Scale = SIZE
  604. elseif TYPE == "Wave" then
  605. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  606. elseif TYPE == "Ring" then
  607. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  608. elseif TYPE == "Slash" then
  609. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  610. elseif TYPE == "Round Slash" then
  611. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  612. elseif TYPE == "Swirl" then
  613. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  614. elseif TYPE == "Skull" then
  615. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  616. elseif TYPE == "Crystal" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  618. elseif TYPE == "Duck" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9419831", "9419827", SIZE, VT(0,0,0))
  620. end
  621. if MSH ~= nil then
  622. local MOVESPEED = nil
  623. if MOVEDIRECTION ~= nil then
  624. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  625. end
  626. local GROWTH = SIZE - ENDSIZE
  627. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  628. if TYPE == "Block" then
  629. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  630. else
  631. EFFECT.CFrame = CFRAME
  632. end
  633. for LOOP = 1, TIME+1 do
  634. Swait()
  635. MSH.Scale = MSH.Scale - GROWTH/TIME
  636. if TYPE == "Wave" then
  637. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  638. end
  639. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  640. if TYPE == "Block" then
  641. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  642. else
  643. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  644. end
  645. if MOVEDIRECTION ~= nil then
  646. local ORI = EFFECT.Orientation
  647. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  648. EFFECT.Orientation = ORI
  649. end
  650. end
  651. EFFECT.Transparency = 1
  652. if PLAYSSOUND == false then
  653. EFFECT:remove()
  654. else
  655. repeat Swait() until SOUND.Playing == false
  656. EFFECT:remove()
  657. end
  658. else
  659. if PLAYSSOUND == false then
  660. EFFECT:remove()
  661. else
  662. repeat Swait() until SOUND.Playing == false
  663. EFFECT:remove()
  664. end
  665. end
  666. end))
  667. end
  668.  
  669. local S = IT("Sound")
  670. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  671. local NEWSOUND = nil
  672. coroutine.resume(coroutine.create(function()
  673. NEWSOUND = S:Clone()
  674. NEWSOUND.Parent = PARENT
  675. NEWSOUND.Volume = VOLUME
  676. NEWSOUND.Pitch = PITCH
  677. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  678. NEWSOUND:play()
  679. if DOESLOOP == true then
  680. NEWSOUND.Looped = true
  681. else
  682. repeat wait(1) until NEWSOUND.Playing == false
  683. NEWSOUND:remove()
  684. end
  685. end))
  686. return NEWSOUND
  687. end
  688.  
  689. function ApplyDamage(Humanoid,Damage)
  690. if Damage > 0 then
  691. Damage = Damage * 1
  692. if Humanoid.Health < 9999 then
  693. if Humanoid.Health - Damage > 0 then
  694. Humanoid.Health = Humanoid.Health - Damage
  695. else
  696. Humanoid.Parent:BreakJoints()
  697. end
  698. else
  699. Humanoid.Parent:BreakJoints()
  700. end
  701. end
  702. end
  703.  
  704. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,FLINGTO,INSTAKILL)
  705. for index, CHILD in pairs(workspace:GetDescendants()) do
  706. if CHILD.ClassName == "Model" and CHILD ~= char then
  707. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  708. if HUM then
  709. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  710. if TORSO then
  711. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  712. if INSTAKILL == true then
  713. CHILD:BreakJoints()
  714. else
  715. local DMG = MRANDOM(MINDMG,MAXDMG)
  716. ApplyDamage(HUM,DMG)
  717. end
  718. if FLING ~= "Twist" then
  719. for _, c in pairs(CHILD:GetChildren()) do
  720. if c:IsA("BasePart") then
  721. local bv = Instance.new("BodyVelocity",c)
  722. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  723. if FLINGTO == nil then
  724. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  725. else
  726. bv.velocity = CF(TORSO.Position,TORSO.Position + FLINGTO).lookVector*FLING
  727. end
  728. Debris:AddItem(bv,0.01)
  729. end
  730. end
  731. else
  732. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(0),RAD(10),RAD(0))
  733. local bv = Instance.new("BodyVelocity",TORSO)
  734. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  735. bv.velocity = VT(0,0,0)
  736. Debris:AddItem(bv,0.01)
  737. end
  738. end
  739. end
  740. end
  741. end
  742. end
  743. end
  744.  
  745. Mouse = mouse
  746.  
  747. function BonusDuck()
  748. attack = true
  749. Rooted = true
  750. local WAND,WELD,SPARKS = SpawnWand(la)
  751. CreateSound(769380905, WAND.Base, 2, 1.5, false)
  752. for i=0, 0.5, 0.1 / Animation_Speed do
  753. Swait()
  754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(40), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  758. end
  759. CreateSound(199607491, hed, 5, 1, false)
  760. SPARKS.Enabled = true
  761. local SPIN = 0
  762. local DUCKIES = false
  763. local GYRO = IT("BodyGyro",RootPart)
  764. GYRO.D = 20
  765. GYRO.P = 4000
  766. GYRO.MaxTorque = VT(0,40000,0)
  767. coroutine.resume(coroutine.create(function()
  768. repeat
  769. GYRO.CFrame = CF(RootPart.Position,mouse.Hit.p)
  770. Swait()
  771. SPIN = SPIN + 1
  772. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.5, 0) * ANGLES(RAD(150+15*SIN(SPIN/4)), RAD(0), RAD(-15*COS(SPIN/4))) * CF(0,-0.5,0) * LEFTSHOULDERC0, 2 / Animation_Speed)
  776. until DUCKIES == true
  777. end))
  778. local DUCK = CreatePart(3, char, "Neon", 0, 1, BRICKC("Pearl"), "DUCK", VT(5,5,5), true)
  779. DUCK.CFrame = RootPart.CFrame*CF(0,6,0)
  780. CreateMesh("SpecialMesh", DUCK, "FileMesh", "9419831", "9419827", VT(4,4,4), VT(0,0,0))
  781. for i = 1, 100 do
  782. Swait()
  783. DUCK.Transparency = DUCK.Transparency - 1/200
  784. DUCK.CFrame = RootPart.CFrame*CF(0,6,0)
  785. local ANGLE = CF(DUCK.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) * CF(0,25,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  786. WACKYEFFECT({Time = 30, EffectType = "Duck", Size = VT(4,4,4)/3, Size2 = VT(3,3,3)/3, Transparency = 1, Transparency2 = 0, CFrame = ANGLE, MoveToPos = DUCK.Position, RotationX = MRANDOM(-1,1), RotationY = MRANDOM(-1,1), RotationZ = MRANDOM(-1,1), Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 198462271, SoundPitch = MRANDOM(7,14)/10, SoundVolume = 1})
  787. end
  788. wait(0.5)
  789. DUCKIES = true
  790. for i = 1, 35 do
  791. Swait()
  792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.12 + (i/30)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 0.6 / Animation_Speed)
  793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  796. end
  797. coroutine.resume(coroutine.create(function()
  798. CreateSound(198462271, DUCK, 5, 0.4, false)
  799. DUCK.CFrame = CF(DUCK.Position,mouse.Hit.p+VT(0,3,0))
  800. for i = 1, 75 do
  801. Swait()
  802. DUCK.CFrame = DUCK.CFrame * CF(0,0,-1.6)
  803. local HIT,HITPOS = RayCast(DUCK.Position, DUCK.CFrame.lookVector, 2.5, char)
  804. ApplyAoE(DUCK.Position,15,0,0,15,DUCK.CFrame.lookVector,false)
  805. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(4,1,4), Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = DUCK.CFrame*CF(0,0,-2.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  806. if HIT then
  807. break
  808. end
  809. end
  810. ApplyAoE(DUCK.Position,45,45,70,150,nil,false)
  811. DUCK:remove()
  812. for i = 1, 35 do
  813. local ANGLE = CF(DUCK.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  814. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  815. end
  816. --SHAKECAM(DUCK.Position,60,3,7)
  817. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(60,60,60), Transparency = 0, Transparency2 = 1, CFrame = DUCK.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 168513088, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  818. end))
  819. for i=0, 1, 0.1 / Animation_Speed do
  820. Swait()
  821. WELD.C1 = Clerp(WELD.C1,CF(0, 0, 0) * ANGLES(RAD(40), RAD(0), RAD(0)), 1 / Animation_Speed)
  822. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(25)), 1 / Animation_Speed)
  823. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  826. end
  827. WAND:remove()
  828. GYRO:remove()
  829. attack = false
  830. Rooted = false
  831. end
  832.  
  833. function BonusDucks()
  834. attack = true
  835. CreateSound(199607491, hed, 5, 1, false)
  836. for i = 1,3 do
  837. Swait()
  838. Rooted = true
  839. local WAND,WELD,SPARKS = SpawnWand(la)
  840. CreateSound(769380905, WAND.Base, 2, 1.5, false)
  841. for i = 0, 0.5, 0.1 / Animation_Speed do
  842. Swait()
  843. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  844. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(40), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  847. end
  848. SPARKS.Enabled = true
  849. local SPIN = 0
  850. local DUCKIES = false
  851. local GYRO = IT("BodyGyro",RootPart)
  852. GYRO.D = 20
  853. GYRO.P = 4000
  854. GYRO.MaxTorque = VT(0,40000,0)
  855. coroutine.resume(coroutine.create(function()
  856. repeat
  857. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  858. Swait()
  859. SPIN = SPIN + 1
  860. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.5, 0) * ANGLES(RAD(150+15*SIN(SPIN/4)), RAD(0), RAD(-15*COS(SPIN/4))) * CF(0,-0.5,0) * LEFTSHOULDERC0, 2 / Animation_Speed)
  864. until DUCKIES == true
  865. end))
  866. local DUCK = CreatePart(3, char, "Neon", 0, 1, BRICKC("Pearl"), "DUCK", VT(5,5,5), true)
  867. DUCK.CFrame = RootPart.CFrame*CF(0,6,0)
  868. CreateMesh("SpecialMesh", DUCK, "FileMesh", "9419831", "9419827", VT(4,4,4), VT(0,0,0))
  869. for i = 1, 15 do
  870. Swait()
  871. DUCK.Transparency = DUCK.Transparency - 1/200
  872. DUCK.CFrame = RootPart.CFrame*CF(0,6,0)
  873. local ANGLE = CF(DUCK.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) * CF(0,25,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  874. WACKYEFFECT({Time = 30, EffectType = "Duck", Size = VT(4,4,4)/3, Size2 = VT(3,3,3)/3, Transparency = 1, Transparency2 = 0, CFrame = ANGLE, MoveToPos = DUCK.Position, RotationX = MRANDOM(-1,1), RotationY = MRANDOM(-1,1), RotationZ = MRANDOM(-1,1), Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 198462271, SoundPitch = MRANDOM(7,14)/10, SoundVolume = 1})
  875. end
  876. wait(0.5)
  877. DUCKIES = true
  878. for i = 1, 35 do
  879. Swait()
  880. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.12 + (i/30)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 0.6 / Animation_Speed)
  881. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  882. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  883. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  884. end
  885. coroutine.resume(coroutine.create(function()
  886. CreateSound(198462271, DUCK, 5, 0.4, false)
  887. DUCK.CFrame = CF(DUCK.Position,Mouse.Hit.p+VT(0,3,0))
  888. for i = 1, 200 do
  889. Swait()
  890. DUCK.CFrame = DUCK.CFrame * CF(0,0,-1.6)
  891. local HIT,HITPOS = RayCast(DUCK.Position, DUCK.CFrame.lookVector, 2.5, char)
  892. ApplyAoE(DUCK.Position,15,0,0,15,DUCK.CFrame.lookVector,false)
  893. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(4,1,4), Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = DUCK.CFrame*CF(0,0,-2.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  894. if HIT then
  895. break
  896. end
  897. end
  898. ApplyAoE(DUCK.Position,45,45,70,150,nil,false)
  899. DUCK:remove()
  900. for i = 1, 35 do
  901. local ANGLE = CF(DUCK.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  902. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  903. end
  904. --SHAKECAM(DUCK.Position,60,3,7)
  905. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(60,60,60), Transparency = 0, Transparency2 = 1, CFrame = DUCK.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 168513088, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  906. WACKYEFFECT({Time = 70, EffectType = "Duck", Size = VT(4,4,4), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = DUCK.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  907. end))
  908. for i=0, 1, 0.1 / Animation_Speed do
  909. Swait()
  910. WELD.C1 = Clerp(WELD.C1,CF(0, 0, 0) * ANGLES(RAD(40), RAD(0), RAD(0)), 1 / Animation_Speed)
  911. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(25)), 1 / Animation_Speed)
  912. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  913. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  914. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  915. end
  916. WAND:remove()
  917. GYRO:remove()
  918. end
  919. attack = false
  920. Rooted = false
  921. end
  922.  
  923. function DissapearingAct()
  924. attack = true
  925. local WAND,WELD,SPARKS = SpawnWand(la)
  926. CreateSound(769380905, WAND.Base, 2, 1.5, false)
  927. for i=0, 0.5, 0.1 / Animation_Speed do
  928. Swait()
  929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(40), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  933. end
  934. SPARKS.Enabled = true
  935. local SPIN = 0
  936. for i = 1, 35 do
  937. Swait()
  938. SPIN = SPIN + 1
  939. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90+15*SIN(SPIN/4)), RAD(0), RAD(-15*COS(SPIN/4))) * LEFTSHOULDERC0, 2 / Animation_Speed)
  943. end
  944. local POS = mouse.Hit.p+VT(0,4.5,0)
  945. --SHAKECAM(POS,25,3,7)
  946. --SHAKECAM(RootPart.Position,25,3,7)
  947. local ORI = RootPart.Orientation
  948. for i = 1, 5 do
  949. local ANGLE = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  950. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  951. end
  952. LARGESPARKS:Emit(250)
  953. Swait()
  954. --WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 6})
  955. RootPart.CFrame = CF(POS)
  956. RootPart.Orientation = ORI
  957. RootJoint.Parent = RootPart
  958. LARGESPARKS:Emit(250)
  959. WAND:remove()
  960. attack = false
  961. end
  962.  
  963. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  964. local frame = IT("Frame")
  965. frame.BackgroundTransparency = TRANSPARENCY
  966. frame.BorderSizePixel = BORDERSIZEPIXEL
  967. frame.Position = POSITION
  968. frame.Size = SIZE
  969. frame.BackgroundColor3 = COLOR
  970. frame.BorderColor3 = BORDERCOLOR
  971. frame.Name = NAME
  972. frame.Parent = PARENT
  973. return frame
  974. end
  975.  
  976. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  977. local label = IT("TextLabel")
  978. label.BackgroundTransparency = 1
  979. label.Size = UD2(1, 0, 1, 0)
  980. label.Position = UD2(0, 0, 0, 0)
  981. label.TextColor3 = TEXTCOLOR
  982. label.TextStrokeTransparency = STROKETRANSPARENCY
  983. label.TextTransparency = TRANSPARENCY
  984. label.FontSize = TEXTFONTSIZE
  985. label.Font = TEXTFONT
  986. label.BorderSizePixel = BORDERSIZEPIXEL
  987. label.TextScaled = false
  988. label.Text = TEXT
  989. label.Name = NAME
  990. label.Parent = PARENT
  991. return label
  992. end
  993.  
  994. local SKILLTEXTCOLOR = BRICKC"Maroon".Color
  995. local SKILLFONT = "Fantasy"
  996. local SKILLTEXTSIZE = 5
  997. local WEAPONGUI = IT("ScreenGui", plr.PlayerGui)
  998. WEAPONGUI.Name = "Weapon GUI"
  999.  
  1000. local ATTACKS = {"Q-Dissapearing Act","E-Duck Launcher","Z-Draw Cards","Y - Bonus Ducks!","C-Bonus Duck","M-Audience Play","L-Toggle Song"}
  1001. --local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1002. --local TEXT = CreateLabel(ATTACKSFRAME, "[ATTACKS]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  1003.  
  1004. local GUIS = {}
  1005. for i = 1, #ATTACKS do
  1006. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.05, 0, 0.90-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1007. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.8, "Skill text")
  1008. SKILLTEXT.TextStrokeColor3 = BRICKC"Royal purple".Color
  1009. SKILLTEXT.TextXAlignment = "Left"
  1010. table.insert(GUIS,SKILLTEXT)
  1011. end
  1012.  
  1013. function gun()
  1014. ducki = true
  1015. attack = true
  1016. duk.Parent = char
  1017. local GYRO = Instance.new("BodyGyro")
  1018. GYRO.D = 20
  1019. GYRO.P = 5000
  1020. GYRO.MaxTorque = VT(0,40000000000,0)
  1021. GYRO.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1022. GYRO.Parent = root
  1023. repeat
  1024. Swait()
  1025. duk.Parent = char
  1026. GYRO.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1027. if hold == false then
  1028. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1030. RightShoulder.C0 = Clerp(RightShoulder.C0, RSnor * ANGLES(0, 0, RAD(90)), 1 / Animation_Speed)
  1031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.25, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1032. elseif hold == true and char:FindFirstChild("cooldown") then
  1033. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1034. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1035. RightShoulder.C0 = Clerp(RightShoulder.C0, RSnor * ANGLES(0, 0, RAD(90)), 1 / Animation_Speed)
  1036. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.25, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1037. elseif hold == true and not char:FindFirstChild("cooldown") then
  1038. local cool = Instance.new("NumberValue",char)
  1039. cool.Name = "cooldown"
  1040. Debris:AddItem(cool, 0.25)
  1041. local bullet = Instance.new("Part", workspace)
  1042. bullet.Shape = "Ball"
  1043. bullet.BrickColor = BrickColor.new("New Yeller")
  1044. bullet.Material = "Neon"
  1045. bullet.CanCollide = false
  1046. bullet.Size = Vector3.new(1, 1, 1)
  1047. bullet.CFrame = CFrame.new(Vector3.new(duk.Position.x, duk.Position.y, duk.Position.z), mouse.Hit.p)
  1048. bullet.Touched:connect(function(hit)
  1049. coroutine.resume(coroutine.create(function()
  1050. for i,v in pairs (hit.Parent:children()) do
  1051. if v:IsA("Humanoid") and not bullet:FindFirstChild("cooldown") and hit.Parent ~= char then
  1052. if v.Health > 9999 then
  1053. v.Health = 0
  1054. v.MaxHealth = 0
  1055. end
  1056. NewSound(bullet, 168513088, 1.5, 10, false)
  1057. v.Health = v.Health - 20
  1058. bullet.Anchored = true
  1059. Debris:AddItem(cool, 0.5)
  1060. local effect1 = Instance.new("Part", workspace)
  1061. effect1.Anchored = false
  1062. effect1.BrickColor = BrickColor.new("New Yeller")
  1063. effect1.Material = "Neon"
  1064. effect1.CanCollide = false
  1065. effect1.Size = Vector3.new(1, 2.5, 1)
  1066. effect1.CFrame = bullet.CFrame * CFrame.Angles(Rad(45), Rad(45), Rad(45))
  1067. local mesh = Instance.new("SpecialMesh",effect1)
  1068. mesh.MeshType = "Sphere"
  1069. local bv1 = Instance.new("BodyVelocity",effect1)
  1070. bv1.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1071. bv1.Velocity = effect1.CFrame.lookVector * 50
  1072. local effect2 = Instance.new("Part", workspace)
  1073. effect2.Anchored = false
  1074. effect2.BrickColor = BrickColor.new("New Yeller")
  1075. effect2.Material = "Neon"
  1076. effect2.CanCollide = false
  1077. effect2.Size = Vector3.new(1, 2.5, 1)
  1078. effect2.CFrame = bullet.CFrame * CFrame.Angles(Rad(90), Rad(-45), Rad(-45))
  1079. local mesh = Instance.new("SpecialMesh",effect2)
  1080. mesh.MeshType = "Sphere"
  1081. local bv2 = Instance.new("BodyVelocity",effect2)
  1082. bv2.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1083. bv2.Velocity = effect2.CFrame.lookVector * 50
  1084. local cool = Instance.new("NumberValue",bullet)
  1085. cool.Name = "cooldown"
  1086. for i = 1,150 do
  1087. Swait()
  1088. bullet.Size = bullet.Size:Lerp(Vector3.new(15, 15, 15), 0.1)
  1089. bullet.Transparency = bullet.Transparency + 0.07
  1090. effect1.Size = effect1.Size:Lerp(Vector3.new(1.5, 4.5, 1.5), 0.065)
  1091. effect1.Transparency = bullet.Transparency + 0.015
  1092. effect2.Size = effect1.Size:Lerp(Vector3.new(1.5, 4.5, 1.5), 0.065)
  1093. effect2.Transparency = bullet.Transparency + 0.015
  1094. end
  1095. effect1:remove()
  1096. effect2:remove()
  1097. bullet:remove()
  1098. end
  1099. end
  1100. end))
  1101. end)
  1102. local bv = Instance.new("BodyVelocity",bullet)
  1103. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1104. bv.Velocity = bullet.CFrame.lookVector * 100
  1105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1107. RightShoulder.C0 = Clerp(RightShoulder.C0, RSnor * ANGLES(0, 0, RAD(150)), 1 / Animation_Speed)
  1108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.25, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1109. end
  1110. until ducki == false
  1111. GYRO:remove()
  1112. duk.Parent = nil
  1113. attack = false
  1114. ducki = false
  1115. end
  1116.  
  1117. function MakeForm(PART,TYPE)
  1118. if TYPE == "Cyl" then
  1119. local MSH = IT("CylinderMesh",PART)
  1120. elseif TYPE == "Ball" then
  1121. local MSH = IT("SpecialMesh",PART)
  1122. MSH.MeshType = "Sphere"
  1123. elseif TYPE == "Wedge" then
  1124. local MSH = IT("SpecialMesh",PART)
  1125. MSH.MeshType = "Wedge"
  1126. end
  1127. end
  1128.  
  1129. Debris = game:GetService("Debris")
  1130.  
  1131. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1132. local DIRECTION = CF(StartPos,EndPos).lookVector
  1133. return RayCast(StartPos, DIRECTION, Distance, Ignore)
  1134. end
  1135.  
  1136. function Lightning(Table)
  1137. local Color = Table.Color or C3(1,1,1)
  1138. local StartPos = Table.Start or Torso.Position
  1139. local EndPos = Table.End or Mouse.Hit.p
  1140. local SegmentLength = Table.SegmentL or 2
  1141. local Thickness = Table.Thickness or 0.1
  1142. local Dissapear = Table.DoesFade or false
  1143. local Parent = Table.Ignore or char
  1144. local MaxDist = Table.MaxDist or 400
  1145. local Branches = Table.Branches or false
  1146. local Thicken = Table.Thicken or false
  1147. local FadeTime = Table.FadeTime or 15
  1148. local FadeIn = Table.FadeIn or false
  1149. local Material = Table.Material or "Neon"
  1150. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1151. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  1152. local LIGHTNINGMODEL = IT("Model",char)
  1153. LIGHTNINGMODEL.Name = "Lightning"
  1154. local LastBolt = nil
  1155. for E = 1, DISTANCE do
  1156. local ExtraSize = 0
  1157. if Thicken == true then
  1158. ExtraSize = (DISTANCE-E)/15
  1159. end
  1160. local TRANSPARENCY = 0
  1161. if FadeIn == true then
  1162. TRANSPARENCY = 1-((DISTANCE-E)/DISTANCE)
  1163. if TRANSPARENCY < 0 then
  1164. TRANSPARENCY = 0
  1165. end
  1166. end
  1167. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1168. PART.Color = Color
  1169. MakeForm(PART,"Cyl")
  1170. if LastBolt == nil or E == DISTANCE then
  1171. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1172. else
  1173. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,(DISTANCE-E)+(SegmentLength/5)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1174. end
  1175. LastBolt = PART
  1176. if Branches == true and E < (DISTANCE-5) then
  1177. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1178. if CHOICE == 1 then
  1179. local LASTBRANCH = nil
  1180. for i = 1, MRANDOM(2,5) do
  1181. local ExtraSize2 = 0
  1182. if Thicken == true then
  1183. ExtraSize = ((DISTANCE-E)/25)/i
  1184. end
  1185. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1186. PART.Color = Color
  1187. MakeForm(PART,"Cyl")
  1188. if LASTBRANCH == nil then
  1189. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1190. else
  1191. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1192. end
  1193. LASTBRANCH = PART
  1194. end
  1195. end
  1196. end
  1197. end
  1198. if Dissapear == true then
  1199. coroutine.resume(coroutine.create(function()
  1200. for i = 1, FadeTime do
  1201. Swait()
  1202. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1203. if c.ClassName == "Part" then
  1204. c.Transparency = c.Transparency + (i/FadeTime)/10
  1205. end
  1206. end
  1207. end
  1208. LIGHTNINGMODEL:remove()
  1209. end))
  1210. elseif Dissapear == false then
  1211. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1212. end
  1213. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1214. end
  1215.  
  1216. PLAY = true
  1217.  
  1218. function AudiencePlay()
  1219. attack = true
  1220. Rooted = true
  1221. PLAY = false
  1222. local PLAYING = true
  1223. local SONG = CreateSound(322621962, RootPart, 10, 1, true)
  1224. for i=0, 2, 0.1 / Animation_Speed do
  1225. Swait()
  1226. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1227. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1228. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1229. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1230. end
  1231. coroutine.resume(coroutine.create(function()
  1232. repeat
  1233. Swait()
  1234. local ANGLE = CF(RootPart.Position-VT(0,10,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(5,25))
  1235. local COLORS = {"New Yeller","Deep blue","Lime green","Really red","Royal purple","Pearl"}
  1236. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(2,2,2), Size2 = VT(0,60,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC(COLORS[MRANDOM(1,#COLORS)]).Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1237. until PLAYING == false or PLAY == true
  1238. end))
  1239. local WAND,WELD,SPARKS = SpawnWand(ra)
  1240. KEY = mouse.KeyDown:connect(function(NEWKEY)
  1241. if NEWKEY == "m" then
  1242. KEY:Disconnect()
  1243. PLAYING = false
  1244. end
  1245. end)
  1246. repeat
  1247. for i=0, 0.3, 0.1 / Animation_Speed do
  1248. Swait()
  1249. if PLAYING == false then
  1250. break
  1251. end
  1252. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  1253. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1256. end
  1257. for i=0, 0.13, 0.1 / Animation_Speed do
  1258. Swait()
  1259. if PLAYING == false then
  1260. break
  1261. end
  1262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  1263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1266. end
  1267. SPARKS:Emit(15)
  1268. for i = 1, 5 do
  1269. local ANGLE = CF(WAND.Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1270. WACKYEFFECT({Time = MRANDOM(10,50), EffectType = "Duck", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1271. end
  1272. for i=0, 0.13, 0.1 / Animation_Speed do
  1273. Swait()
  1274. if PLAYING == false then
  1275. break
  1276. end
  1277. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  1278. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1280. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1281. end
  1282. for i=0, 0.3, 0.1 / Animation_Speed do
  1283. Swait()
  1284. if PLAYING == false then
  1285. break
  1286. end
  1287. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  1288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1291. end
  1292. for i=0, 0.13, 0.1 / Animation_Speed do
  1293. Swait()
  1294. if PLAYING == false then
  1295. break
  1296. end
  1297. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  1298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1301. end
  1302. SPARKS:Emit(15)
  1303. for i = 1, 5 do
  1304. local ANGLE = CF(WAND.Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1305. WACKYEFFECT({Time = MRANDOM(10,50), EffectType = "Duck", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1306. end
  1307. for i=0, 0.13, 0.1 / Animation_Speed do
  1308. Swait()
  1309. if PLAYING == false then
  1310. break
  1311. end
  1312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  1313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1316. end
  1317. until PLAYING == false or SONG.Parent ~= RootPart or PLAY == true
  1318. SONG:remove()
  1319. CreateSound(1869741275, RootPart, 5, 1.3, false)
  1320. WAND:remove()
  1321. for i=0, 6, 0.1 / Animation_Speed do
  1322. Swait()
  1323. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1327. end
  1328. PLAY = true
  1329. attack = false
  1330. Rooted = false
  1331. end
  1332.  
  1333. function DrawCards()
  1334. attack = true
  1335. Rooted = true
  1336. HATWELD.Part1 = ra
  1337. for i=0, 1, 0.1 / Animation_Speed do
  1338. Swait()
  1339. HATWELD.C0 = Clerp(HATWELD.C0, CFrame.new(0.75, 1.5, 0) * CFrame.Angles(Rad(0), Rad(0), 0), 1 / Animation_Speed)
  1340. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 0.15 / Animation_Speed)
  1341. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.2) * ANGLES(RAD(110), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.8, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1344. end
  1345. local ORI = RootPart.Orientation
  1346. for E = 1, 3 do
  1347. local CARD = CreatePart(3, char, "Neon", 0, 0, BRICKC("Pearl"), "Card", VT(0.3,0,0.7), true)
  1348. local COLORS = {"New Yeller","Really red","Dark indigo","Really black"}
  1349. local COLOR = COLORS[MRANDOM(1,#COLORS)]
  1350. CARD.Color = BRICKC(COLOR).Color
  1351. CARD.CFrame = HAT.Base.CFrame*CF(-0.1,0,0)
  1352. CARD.Orientation = ORI
  1353. CARD.Position = VT(CARD.Position.X,RootPart.Position.Y+0.7,CARD.Position.Z)
  1354. local POS = Mouse.Hit.p
  1355. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = CARD.Size, Size2 = VT(1.3,1.3,1.3), Transparency = 0, Transparency2 = 1, CFrame = CARD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = 1177785010, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1356. for i= 1, 25 do
  1357. Swait()
  1358. HATWELD.C0 = Clerp(HATWELD.C0, CFrame.new(0.75, 1.5, 0) * CFrame.Angles(Rad(0), Rad(0), 0), 1 / Animation_Speed)
  1359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 0.15 / Animation_Speed)
  1360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.2) * ANGLES(RAD(110), RAD(0), RAD(35*E)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.8, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-25)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1363. end
  1364. coroutine.resume(coroutine.create(function()
  1365. wait(0.5)
  1366. for i = 1, 150 do
  1367. Swait()
  1368. if COLOR ~= "Really red" then
  1369. CARD.CFrame = Clerp(CARD.CFrame, CF(CARD.Position,POS), 0.2) * CF(0,0,-1)
  1370. else
  1371. CARD.CFrame = Clerp(CARD.CFrame, CF(CARD.Position,POS), 0.2) * CF(0,0,-0.6)
  1372. end
  1373. if (CARD.Position - POS).Magnitude < 2 then
  1374. break
  1375. end
  1376. end
  1377. local LOC = CARD.Position
  1378. CARD:remove()
  1379. if COLOR == "New Yeller" then
  1380. --SHAKECAM(LOC,35,1,35)
  1381. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.9, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = 304999618, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1382. for i = 1, 5 do
  1383. Lightning({Material = "Neon", FadeIn = false, Color = CARD.Color, Start = LOC, End = LOC+VT(MRANDOM(-70,70),MRANDOM(-70,70),MRANDOM(-70,70)), SegmentL = 2, Thickness = 0.1, DoesFade = true, Ignore = workspace, MaxDist = MRANDOM(18,25), Branches = false, FadeTime = 25, Thicken = false})
  1384. end
  1385. local EN = {true,false}
  1386. for index, CHILD in pairs(workspace:GetDescendants()) do
  1387. if CHILD.ClassName == "Model" and CHILD ~= char then
  1388. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1389. if HUM then
  1390. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1391. if TORSO and HUM.Health > 0 then
  1392. if (TORSO.Position - LOC).Magnitude <= 20 then
  1393. coroutine.resume(coroutine.create(function()
  1394. for i = 1, 250 do
  1395. Swait()
  1396. if HUM.Health > 0 then
  1397. HUM.PlatformStand = EN[MRANDOM(1,2)]
  1398. HUM.Sit = EN[MRANDOM(1,2)]
  1399. TORSO.RotVelocity = VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))*15
  1400. if MRANDOM(1,50) == 1 then
  1401. CreateSound(168586586, TORSO, 4, MRANDOM(12,17)/10, false)
  1402. ApplyDamage(HUM,MRANDOM(3,7))
  1403. for i = 1, MRANDOM(1,3) do
  1404. Lightning({Material = "Neon", FadeIn = false, Color = CARD.Color, Start = TORSO.Position, End = TORSO.Position+VT(MRANDOM(-70,70),MRANDOM(-70,70),MRANDOM(-70,70)), SegmentL = 2, Thickness = 0, DoesFade = false, Ignore = workspace, MaxDist = MRANDOM(5,8), Branches = false, FadeTime = 25, Thicken = false})
  1405. end
  1406. end
  1407. else
  1408. break
  1409. end
  1410. end
  1411. HUM.PlatformStand = false
  1412. end))
  1413. end
  1414. end
  1415. end
  1416. end
  1417. end
  1418. elseif COLOR == "Really red" then
  1419. ApplyAoE(LOC,35,0,0,0,nil,true)
  1420. --SHAKECAM(LOC,55,10,25)
  1421. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = 288641686, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1422. for i = 1, 35 do
  1423. local ANGLE = CF(LOC) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1424. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1425. end
  1426. elseif COLOR == "Dark indigo" then
  1427. --SHAKECAM(LOC,35,2,25)
  1428. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = 178452217, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1429. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1430. for index, CHILD in pairs(workspace:GetDescendants()) do
  1431. if CHILD.ClassName == "Model" and CHILD ~= char then
  1432. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1433. if HUM then
  1434. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1435. if TORSO and HUM.Health > 0 then
  1436. if (TORSO.Position - LOC).Magnitude <= 20 then
  1437. coroutine.resume(coroutine.create(function()
  1438. for i = 1, 450 do
  1439. Swait()
  1440. if HUM.Health > 0 then
  1441. HUM.Health = HUM.Health - 0.1
  1442. HUM:MoveTo(TORSO.Position+VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))*45)
  1443. if MRANDOM(1,15) == 1 then
  1444. HUM.Jump = true
  1445. TORSO.CFrame = TORSO.CFrame * CF(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1446. end
  1447. else
  1448. break
  1449. end
  1450. end
  1451. HUM:MoveTo(TORSO.Position)
  1452. end))
  1453. end
  1454. end
  1455. end
  1456. end
  1457. end
  1458. elseif COLOR == "Really black" then
  1459. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = 592877506, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1460. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(35,35,35), Transparency = 0.8, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CARD.Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
  1461. for index, CHILD in pairs(workspace:GetDescendants()) do
  1462. if CHILD.ClassName == "Model" and CHILD ~= char then
  1463. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1464. if HUM then
  1465. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1466. if TORSO and HUM.Health > 0 then
  1467. if (TORSO.Position - LOC).Magnitude <= 30 and TORSO:FindFirstChild("LowGrav") == nil then
  1468. local b = IT("BodyForce",TORSO)
  1469. b.Name = "LowGrav"
  1470. b.force = Vector3.new(0,3500,0)
  1471. Debris:AddItem(b,5)
  1472. local bv = Instance.new("BodyVelocity",TORSO)
  1473. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1474. bv.velocity = CF(TORSO.Position,TORSO.Position + VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))*45).lookVector*35
  1475. HUM.PlatformStand = true
  1476. TORSO.RotVelocity = VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))*15
  1477. Debris:AddItem(bv,0.01)
  1478. end
  1479. end
  1480. end
  1481. end
  1482. end
  1483. end
  1484. end))
  1485. end
  1486. HATWELD.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(Rad(0), Rad(0), 0)
  1487. HATWELD.Part1 = hed
  1488. attack = false
  1489. Rooted = false
  1490. end
  1491.  
  1492. mouse.Button1Down:connect(function()
  1493. hold = true
  1494. end)
  1495.  
  1496. mouse.Button1Up:connect(function()
  1497. hold = false
  1498. end)
  1499.  
  1500. mouse.KeyDown:connect(function(key)
  1501. if key == "q" and attack == false then
  1502. DissapearingAct()
  1503. end
  1504. if key == "c" and attack == false then
  1505. BonusDuck()
  1506. end
  1507. if key == "z" and attack == false then
  1508. DrawCards()
  1509. end
  1510. if key == "y" and attack == false then
  1511. BonusDucks()
  1512. end
  1513. if key == "m" then
  1514. if PLAY then
  1515. PLAY = false
  1516. AudiencePlay()
  1517. else
  1518. PLAY = true
  1519. end
  1520. end
  1521. if key == "l" then
  1522. if PLAY then
  1523. PLAY = false
  1524. else
  1525. PLAY = true
  1526. end
  1527. end
  1528. if key == "e" then
  1529. if ducki then
  1530. ducki = false
  1531. else
  1532. gun()
  1533. end
  1534. end
  1535. end)
  1536.  
  1537. while true do
  1538. Swait()
  1539. sine = sine + 1
  1540. hum.JumpPower = 56
  1541. hum.WalkSpeed = Speed
  1542. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  1543. SINE = SINE + CHANGE
  1544. hum.HipHeight = 0.8
  1545. if Rooted == true then
  1546. Speed = 0
  1547. elseif Rooted == false and attack == false then
  1548. Speed = 35
  1549. end
  1550. if PLAY == true and sang.Parent == root then
  1551. sang.SoundId = "rbxassetid://1583302174"
  1552. sang.Pitch = 1
  1553. sang.Volume = 10
  1554. sang.Looped = true
  1555. sang:ClearAllChildren()
  1556. elseif PLAY == false then
  1557. sang.SoundId = "rbxassetid://0"
  1558. sang.Pitch = 0
  1559. sang.Volume = 0
  1560. sang.Looped = true
  1561. sang:ClearAllChildren()
  1562. end
  1563. if TORSOVELOCITY < 1 then
  1564. anim = "Idle"
  1565. if attack == false then
  1566. sped = 16
  1567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.25, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1571. end
  1572. elseif TORSOVELOCITY > 1 then
  1573. anim = "Walk"
  1574. if attack == false then
  1575. sped = 16
  1576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 3)) * ANGLES(RAD(14 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.2, 0) * ANGLES(RAD(60 * COS(SINE / 6)), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * CF(0, -0.2, 0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1580. end
  1581. end
  1582. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement