SHARE
TWEET

eqweqweqw

a guest Feb 14th, 2020 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = owner
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  87. q = Instance.new("Frame", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  88. o = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  89. r = Instance.new("TextLabel", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  90. y = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  91. t = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  92. z = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  93. g = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  94. i = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  95. h = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  96. x = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  97. p = Instance.new("TextLabel", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  98. b = Instance.new("TextLabel", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  99. k = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  100. m = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  101. n = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  102. c = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  103. s = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  104. d = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  105. l = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  106. f = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  107. OC = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  108. server = Instance.new("TextLabel", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  109. seventeen = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  110. eighteen = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  111. night = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  112. day = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  113. porn = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  114. porn2 = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  115. clear = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  116. shutdown = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  117. skripts = Instance.new("TextLabel", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  118. ph = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame)
  119. RLeg = "Right Leg"
  120. LLeg = "Left Leg"
  121. RArm = "Right Arm"
  122. LArm = "Left Arm"
  123.  
  124. ph.Position = UDim2.new(0, 500, 0, 420)
  125. ph.Size = UDim2.new(0, 200, 0, 50)
  126. ph.Text = "Phantom Forces Aimbot"
  127. ph.Name = "TextButton25"
  128. ph.Style = "RobloxRoundButton"
  129.  
  130. skripts.Position = UDim2.new(0, 500, 0, 345)
  131. skripts.Size = UDim2.new(0, 430, 0, 50)
  132. skripts.Text = "Scripts for specific games"
  133. skripts.BackgroundColor3 = Color3.new(0,255,127)
  134. skripts.FontSize = "Size24"
  135.  
  136. shutdown.Position = UDim2.new(0, 720, 0, 240)
  137. shutdown.Size = UDim2.new(0, 200, 0, 50)
  138. shutdown.Style = "RobloxRoundButton"
  139. shutdown.Text = "Shutdown"
  140. shutdown.Name = "TextButton24"
  141.  
  142. clear.Position = UDim2.new(0, 500, 0, 240)
  143. clear.Size = UDim2.new(0, 200, 0, 50)
  144. clear.Style = "RobloxRoundButton"
  145. clear.Text = "Clear Skybox"
  146. clear.Name = "TextButton23"
  147.  
  148. porn2.Position = UDim2.new(0, 720, 0, 180)
  149. porn2.Size = UDim2.new(0, 200, 0, 50)
  150. porn2.Style = "RobloxRoundButton"
  151. porn2.Text = "Anime Porn Skybox"
  152. porn2.Name = "TextButton22"
  153.  
  154. porn.Position = UDim2.new(0, 500, 0, 180)
  155. porn.Size = UDim2.new(0, 200, 0, 50)
  156. porn.Style = "RobloxRoundButton"
  157. porn.Text = "Porn Skybox"
  158. porn.Name = "TextButton21"
  159.  
  160. day.Position = UDim2.new(0, 500, 0, 120)
  161. day.Size = UDim2.new(0, 200, 0, 50)
  162. day.Style = "RobloxRoundButton"
  163. day.Text = "Day"
  164. day.Name = "TextButton20"
  165.  
  166. night.Position = UDim2.new(0, 720, 0, 120)
  167. night.Size = UDim2.new(0, 200, 0, 50)
  168. night.Style = "RobloxRoundButton"
  169. night.Text = "Night"
  170. night.Name = "TextButton19"
  171.  
  172. eighteen.Position = UDim2.new(0, 720, 0, 60)
  173. eighteen.Size = UDim2.new(0, 200, 0, 50)
  174. eighteen.Style = "RobloxRoundButton"
  175. eighteen.Text = "Gaben"
  176. eighteen.Name = "TextButton18"
  177.  
  178. seventeen.Position = UDim2.new(0, 500, 0, 60)
  179. seventeen.Size = UDim2.new(0, 200, 0, 50)
  180. seventeen.Style = "RobloxRoundButton"
  181. seventeen.Text = "Baseplate"
  182. seventeen.Name = "TextButton17"
  183.  
  184. server.Position = UDim2.new(0, 500, 0, 0)
  185. server.Size = UDim2.new(0, 430, 0, 50)
  186. server.Text = "Server Commands"
  187. server.Font = "Legacy"
  188. server.FontSize = "Size24"
  189. server.BackgroundColor3 = Color3.new(255,0,255)
  190.  
  191. OC.Position = UDim2.new(0, 0, 0, 300)
  192. OC.Size = UDim2.new(0, 60, 0, 60)
  193. OC.Name = "Open/Close"
  194. OC.Text = "Open"
  195. OC.Font = "Legacy"
  196. OC.Style = "RobloxRoundDefaultButton"
  197.  
  198. f.Position = UDim2.new(0, 210, 0, 600)
  199. f.Size = UDim2.new(0, 200, 0, 50)
  200. f.Name = "TextButton16"
  201. f.Text = "ForceField"
  202. f.Style = "RobloxRoundButton"
  203.  
  204. l.Position = UDim2.new(0, 210, 0, 540)
  205. l.Size = UDim2.new(0, 200, 0, 50)
  206. l.Name = "TextButton15"
  207. l.Text = "Visible"
  208. l.Style = "RobloxRoundButton"
  209.  
  210. d.Position = UDim2.new(0, 210, 0, 480)
  211. d.Size = UDim2.new(0, 200, 0, 50)
  212. d.Name = "TextButton14"
  213. d.Text = "Invisible"
  214. d.Style = "RobloxRoundButton"
  215.  
  216. s.Position = UDim2.new(0, 210, 0, 420)
  217. s.Size = UDim2.new(0, 200, 0, 50)
  218. s.Name = "TextButton13"
  219. s.Text = "Particle Emitter"
  220. s.Style = "RobloxRoundButton"
  221.  
  222. c.Position = UDim2.new(0, 0, 0, 600)
  223. c.Size = UDim2.new(0, 200, 0, 50)
  224. c.Name = "TextButton12"
  225. c.Text = "Fly"
  226. c.Style = "RobloxRoundButton"
  227.  
  228. n.Position = UDim2.new(0, 0, 0, 540)
  229. n.Size = UDim2.new(0, 200, 0, 50)
  230. n.Name = "TextButton11"
  231. n.Text = "Sparkles"
  232. n.Style = "RobloxRoundButton"
  233.  
  234. m.Position = UDim2.new(0, 0, 0, 480)
  235. m.Size = UDim2.new(0, 200, 0, 50)
  236. m.Name = "TextButton10"
  237. m.Text = "Fire"
  238. m.Style = "RobloxRoundButton"
  239.  
  240. k.Position = UDim2.new(0, 0, 0, 420)
  241. k.Size = UDim2.new(0, 200, 0, 50)
  242. k.Name = "TextButton9"
  243. k.Text = "God"
  244. k.Style = "RobloxRoundButton"
  245.  
  246. b.Position = UDim2.new(0, 0, 0, 345)
  247. b.Size = UDim2.new(0, 430, 0, 50)
  248. b.BackgroundColor3 = Color3.new(255,56,202)
  249. b.FontSize = "Size18"
  250. b.Text = "Local Commands"
  251.  
  252. q.Position = UDim2.new(0, 200, 0, 100)
  253. q.Size = UDim2.new(0, 1000, 0, 700)
  254. q.Style = "RobloxRound"
  255. q.Draggable = true
  256. q.Active = true
  257. q.Visible = false
  258.  
  259. o.Position = UDim2.new(0, 10, 0, 60)
  260. o.Size = UDim2.new(0, 200, 0, 50)
  261. o.Style = "RobloxRoundButton"
  262. o.Text = "Jihad"
  263.  
  264. r.Position = UDim2.new(0, 5, 0, 0)
  265. r.Size = UDim2.new(0, 430, 0, 50)
  266. r.Text = "Gooby's Gui"
  267. r.BackgroundColor3 = Color3.new(0,170,250)
  268. r.FontSize = "Size24"
  269.  
  270. y.Name = "TextButton2"
  271. y.Position = UDim2.new(0, 10, 0, 120)
  272. y.Size = UDim2.new(0, 200, 0, 50)
  273. y.Text = "Jordan's bong"
  274. y.Style = "RobloxRoundButton"
  275.  
  276. t.Name = "TextButton3"
  277. t.Position = UDim2.new(0, 10, 0, 180)
  278. t.Size = UDim2.new(0, 200, 0, 50)
  279. t.Text = "Rainbow name"
  280. t.Style = "RobloxRoundButton"
  281.  
  282. z.Name = "TextButton4"
  283. z.Position = UDim2.new(0, 10, 0, 240)
  284. z.Size = UDim2.new(0, 200, 0, 50)
  285. z.Text = "Hades Blade"
  286. z.Style = "RobloxRoundButton"
  287.  
  288. g.Name = "TextButton5"
  289. g.Position = UDim2.new(0, 220, 0, 60)
  290. g.Size = UDim2.new(0, 200, 0, 50)
  291. g.Text = "Knife"
  292. g.Style = "RobloxRoundButton"
  293.  
  294. i.Name = "TextButton6"
  295. i.Position = UDim2.new(0, 220, 0, 120)
  296. i.Size = UDim2.new(0, 200, 0, 50)
  297. i.Text = "SexGui"
  298. i.Style = "RobloxRoundButton"
  299.  
  300. h.Name = "TextButton7"
  301. h.Position = UDim2.new(0, 220, 0, 180)
  302. h.Size = UDim2.new(0, 200, 0, 50)
  303. h.Text = "Skeleton Skybox"
  304. h.Style = "RobloxRoundButton"
  305.  
  306. x.Name = "TextButton8"
  307. x.Position = UDim2.new(0, 220, 0, 240)
  308. x.Size = UDim2.new(0, 200, 0, 50)
  309. x.Text = "666"
  310. x.Style = "RobloxRoundButton"
  311.  
  312. p.Name = "Credits"
  313. p.Position = UDim2.new(0, 45, 0, 298)
  314. p.Size = UDim2.new(0, 350, 0, 35)
  315. p.Text = "Credits to Gooby for making Gui and Credits to the Script makers."
  316. p.FontSize = "Size10"
  317. p.BackgroundColor3 = Color3.new(0,170,250)
  318.  
  319.  
  320. -------------------------Jihad---------------------------------------------------
  321. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton.MouseButton1Down:connect(function()
  322.     Player=game:GetService("Players").LocalPlayer
  323. Character=Player.Character
  324. PlayerGui=Player.PlayerGui
  325. Backpack=Player.Backpack
  326. Torso=Character.Torso
  327. Head=Character.Head
  328. Humanoid=Character.Humanoid
  329. m=Instance.new('Model',Character)
  330. LeftArm=Character["Left Arm"]
  331. LeftLeg=Character["Left Leg"]
  332. RightArm=Character["Right Arm"]
  333. RightLeg=Character["Right Leg"]
  334. LS=Torso["Left Shoulder"]
  335. LH=Torso["Left Hip"]
  336. RS=Torso["Right Shoulder"]
  337. RH=Torso["Right Hip"]
  338. Face = Head.face
  339. Neck=Torso.Neck
  340. it=Instance.new
  341. attacktype=1
  342. vt=Vector3.new
  343. cf=CFrame.new
  344. euler=CFrame.fromEulerAnglesXYZ
  345. angles=CFrame.Angles
  346. cloaked=false
  347. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  348. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  349. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  350. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  351. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  352. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  353. RootPart=Character.HumanoidRootPart
  354. RootJoint=RootPart.RootJoint
  355. RootCF=euler(-1.57,0,3.14)
  356. attack = false
  357. attackdebounce = false
  358. deb=false
  359. equipped=true
  360. hand=false
  361. MMouse=nil
  362. combo=0
  363. mana=0
  364. trispeed=.2
  365. attackmode='none'
  366. local idle=0
  367. local Anim="Idle"
  368. local Effects={}
  369. local gun=false
  370. local shoot=false
  371. player=nil
  372. mana=0
  373.  
  374. mouse=Player:GetMouse()
  375. --save shoulders
  376. RSH, LSH=nil, nil
  377. --welds
  378. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  379. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  380. LH=Torso["Left Hip"]
  381. RH=Torso["Right Hip"]
  382. TorsoColor=Torso.BrickColor
  383. function NoOutline(Part)
  384. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  385. end
  386. player=Player
  387. ch=Character
  388. RSH=ch.Torso["Right Shoulder"]
  389. LSH=ch.Torso["Left Shoulder"]
  390. --
  391. RSH.Parent=nil
  392. LSH.Parent=nil
  393. --
  394. RW.Name="Right Shoulder"
  395. RW.Part0=ch.Torso
  396. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  397. RW.C1=cf(0, 0.5, 0)
  398. RW.Part1=ch["Right Arm"]
  399. RW.Parent=ch.Torso
  400. --
  401. LW.Name="Left Shoulder"
  402. LW.Part0=ch.Torso
  403. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  404. LW.C1=cf(0, 0.5, 0)
  405. LW.Part1=ch["Left Arm"]
  406. LW.Parent=ch.Torso
  407.  
  408.         Player=game:GetService('Players').LocalPlayer
  409.         Character=Player.Character
  410.         Mouse=Player:GetMouse()
  411.         m=Instance.new('Model',Character)
  412.  
  413.  
  414.         local function weldBetween(a, b)
  415.             local weldd = Instance.new("ManualWeld")
  416.             weldd.Part0 = a
  417.             weldd.Part1 = b
  418.             weldd.C0 = CFrame.new()
  419.             weldd.C1 = b.CFrame:inverse() * a.CFrame
  420.             weldd.Parent = a
  421.             return weldd
  422.         end
  423.        
  424.         function swait(num)
  425.     if num==0 or num==nil then
  426.     game:service'RunService'.Stepped:wait(0)
  427.     else
  428.     for i=0,num do
  429.     game:service'RunService'.Stepped:wait(0)
  430.     end
  431.     end
  432.             end
  433.        
  434.         function nooutline(part)
  435.                 part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  436.         end
  437.        
  438.         function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  439.                 local fp=it("Part")
  440.                 fp.formFactor=formfactor
  441.                 fp.Parent=parent
  442.                 fp.Reflectance=reflectance
  443.                 fp.Transparency=transparency
  444.                 fp.CanCollide=false
  445.                 fp.Locked=true
  446.                 fp.BrickColor=BrickColor.new(tostring(brickcolor))
  447.                 fp.Name=name
  448.                 fp.Size=size
  449.                 fp.Position=Character.Torso.Position
  450.                 nooutline(fp)
  451.                 fp.Material=material
  452.                 fp:BreakJoints()
  453.                 return fp
  454.         end
  455.        
  456.         function mesh(Mesh,part,meshtype,meshid,offset,scale)
  457.                 local mesh=it(Mesh)
  458.                 mesh.Parent=part
  459.                 if Mesh=="SpecialMesh" then
  460.                         mesh.MeshType=meshtype
  461.                         mesh.MeshId=meshid
  462.                 end
  463.                 mesh.Offset=offset
  464.                 mesh.Scale=scale
  465.                 return mesh
  466.         end
  467.        
  468.         function weld(parent,part0,part1,c0,c1)
  469.                 local weld=it("Weld")
  470.                 weld.Parent=parent
  471.                 weld.Part0=part0
  472.                 weld.Part1=part1
  473.                 weld.C0=c0
  474.                 weld.C1=c1
  475.                 return weld
  476.         end
  477.        
  478.        
  479. local function CFrameFromTopBack(at, top, back)
  480. local right = top:Cross(back)
  481. return CFrame.new(at.x, at.y, at.z,
  482. right.x, top.x, back.x,
  483. right.y, top.y, back.y,
  484. right.z, top.z, back.z)
  485. end
  486.  
  487. function Triangle(a, b, c)
  488. local edg1 = (c-a):Dot((b-a).unit)
  489. local edg2 = (a-b):Dot((c-b).unit)
  490. local edg3 = (b-c):Dot((a-c).unit)
  491. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  492. a, b, c = a, b, c
  493. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  494. a, b, c = b, c, a
  495. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  496. a, b, c = c, a, b
  497. else
  498. assert(false, "unreachable")
  499. end
  500.  
  501. local len1 = (c-a):Dot((b-a).unit)
  502. local len2 = (b-a).magnitude - len1
  503. local width = (a + (b-a).unit*len1 - c).magnitude
  504.  
  505. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  506.  
  507. local list = {}
  508.  
  509. local TrailColor = ("Dark grey")
  510.  
  511. if len1 > 0.01 then
  512. local w1 = Instance.new('WedgePart', m)
  513. game:GetService("Debris"):AddItem(w1,5)
  514. w1.Material = "SmoothPlastic"
  515. w1.FormFactor = 'Custom'
  516. w1.BrickColor = BrickColor.new(TrailColor)
  517. w1.Transparency = 0
  518. w1.Reflectance = 0
  519. w1.Material = "SmoothPlastic"
  520. w1.CanCollide = false
  521. NoOutline(w1)
  522. local sz = Vector3.new(0.2, width, len1)
  523. w1.Size = sz
  524. local sp = Instance.new("SpecialMesh",w1)
  525. sp.MeshType = "Wedge"
  526. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  527. w1:BreakJoints()
  528. w1.Anchored = true
  529. w1.Parent = workspace
  530. w1.Transparency = 0.7
  531. table.insert(Effects,{w1,"Disappear",.01})
  532. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  533. table.insert(list,w1)
  534. end
  535.  
  536. if len2 > 0.01 then
  537. local w2 = Instance.new('WedgePart', m)
  538. game:GetService("Debris"):AddItem(w2,5)
  539. w2.Material = "SmoothPlastic"
  540. w2.FormFactor = 'Custom'
  541. w2.BrickColor = BrickColor.new(TrailColor)
  542. w2.Transparency = 0
  543. w2.Reflectance = 0
  544. w2.Material = "SmoothPlastic"
  545. w2.CanCollide = false
  546. NoOutline(w2)
  547. local sz = Vector3.new(0.2, width, len2)
  548. w2.Size = sz
  549. local sp = Instance.new("SpecialMesh",w2)
  550. sp.MeshType = "Wedge"
  551. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  552. w2:BreakJoints()
  553. w2.Anchored = true
  554. w2.Parent = workspace
  555. w2.Transparency = 0.7
  556. table.insert(Effects,{w2,"Disappear",.01})
  557. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  558. table.insert(list,w2)
  559. end
  560. return unpack(list)
  561. end
  562.        
  563.        
  564. so = function(id,par,vol,pit)
  565. coroutine.resume(coroutine.create(function()
  566. local sou = Instance.new("Sound",par or workspace)
  567. sou.Volume=vol
  568. sou.Pitch=pit or 1
  569. sou.SoundId=id
  570. swait()
  571. sou:play()
  572. game:GetService("Debris"):AddItem(sou,6)
  573. end))
  574. end
  575.  
  576. function clerp(a,b,t)
  577. local qa = {QuaternionFromCFrame(a)}
  578. local qb = {QuaternionFromCFrame(b)}
  579. local ax, ay, az = a.x, a.y, a.z
  580. local bx, by, bz = b.x, b.y, b.z
  581. local _t = 1-t
  582. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  583. end
  584.  
  585. function QuaternionFromCFrame(cf)
  586. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  587. local trace = m00 + m11 + m22
  588. if trace > 0 then
  589. local s = math.sqrt(1 + trace)
  590. local recip = 0.5/s
  591. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  592. else
  593. local i = 0
  594. if m11 > m00 then
  595. i = 1
  596. end
  597. if m22 > (i == 0 and m00 or m11) then
  598. i = 2
  599. end
  600. if i == 0 then
  601. local s = math.sqrt(m00-m11-m22+1)
  602. local recip = 0.5/s
  603. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  604. elseif i == 1 then
  605. local s = math.sqrt(m11-m22-m00+1)
  606. local recip = 0.5/s
  607. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  608. elseif i == 2 then
  609. local s = math.sqrt(m22-m00-m11+1)
  610. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  611. end
  612. end
  613. end
  614.  
  615. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  616. local xs, ys, zs = x + x, y + y, z + z
  617. local wx, wy, wz = w*xs, w*ys, w*zs
  618. local xx = x*xs
  619. local xy = x*ys
  620. local xz = x*zs
  621. local yy = y*ys
  622. local yz = y*zs
  623. local zz = z*zs
  624. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  625. end
  626.  
  627. function QuaternionSlerp(a, b, t)
  628. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  629. local startInterp, finishInterp;
  630. if cosTheta >= 0.0001 then
  631. if (1 - cosTheta) > 0.0001 then
  632. local theta = math.acos(cosTheta)
  633. local invSinTheta = 1/math.sin(theta)
  634. startInterp = math.sin((1-t)*theta)*invSinTheta
  635. finishInterp = math.sin(t*theta)*invSinTheta  
  636. else
  637. startInterp = 1-t
  638. finishInterp = t
  639. end
  640. else
  641. if (1+cosTheta) > 0.0001 then
  642. local theta = math.acos(-cosTheta)
  643. local invSinTheta = 1/math.sin(theta)
  644. startInterp = math.sin((t-1)*theta)*invSinTheta
  645. finishInterp = math.sin(t*theta)*invSinTheta
  646. else
  647. startInterp = t-1
  648. finishInterp = t
  649. end
  650. end
  651. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  652. end
  653.  
  654. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  655.  
  656.  
  657. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  658. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  659. end
  660.  
  661. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  662.         if hit.Parent==nil then
  663.                 return
  664.         end
  665.         h=hit.Parent:FindFirstChild("Humanoid")
  666.         for _,v in pairs(hit.Parent:children()) do
  667.         if v:IsA("Humanoid") then
  668.         h=v
  669.         end
  670.         end
  671.         if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  672.         h=hit.Parent.Parent:FindFirstChild("Humanoid")
  673.         end
  674.         if hit.Parent.className=="Hat" then
  675.         hit=hit.Parent.Parent:findFirstChild("Head")
  676.         end
  677.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  678.         if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  679.         --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  680.                         return
  681.                 end]]
  682. --                        hs(hit,1.2)
  683.                         c=Instance.new("ObjectValue")
  684.                         c.Name="creator"
  685.                         c.Value=game:service("Players").LocalPlayer
  686.                         c.Parent=h
  687.                         game:GetService("Debris"):AddItem(c,.5)
  688.                 Damage=math.random(minim,maxim)
  689. --                h:TakeDamage(Damage)
  690.                 blocked=false
  691.                 block=hit.Parent:findFirstChild("Block")
  692.                 if block~=nil then
  693.                 print(block.className)
  694.                 if block.className=="NumberValue" then
  695.                 if block.Value>0 then
  696.                 blocked=true
  697.                 if decreaseblock==nil then
  698.                 block.Value=block.Value-1
  699.                 end
  700.                 end
  701.                 end
  702.                 if block.className=="IntValue" then
  703.                 if block.Value>0 then
  704.                 blocked=true
  705.                 if decreaseblock~=nil then
  706.                 block.Value=block.Value-1
  707.                 end
  708.                 end
  709.                 end
  710.                 end
  711.                 if blocked==false then
  712. --                h:TakeDamage(Damage)
  713.                 h.Health=h.Health-Damage
  714.                 showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  715.                 else
  716.                 h.Health=h.Health-(Damage/2)
  717.                 showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  718.                 end
  719.                 if Type=="Knockdown" then
  720.                 hum=hit.Parent.Humanoid
  721. hum.PlatformStand=true
  722. coroutine.resume(coroutine.create(function(HHumanoid)
  723. swait(1)
  724. HHumanoid.PlatformStand=false
  725. end),hum)
  726.                 local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  727. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  728. local bodvol=Instance.new("BodyVelocity")
  729. bodvol.velocity=angle*knockback
  730. bodvol.P=5000
  731. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  732. bodvol.Parent=hit
  733. rl=Instance.new("BodyAngularVelocity")
  734. rl.P=3000
  735. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  736. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  737. rl.Parent=hit
  738. game:GetService("Debris"):AddItem(bodvol,.5)
  739. game:GetService("Debris"):AddItem(rl,.5)
  740.                 elseif Type=="Normal" then
  741.                 vp=Instance.new("BodyVelocity")
  742.                 vp.P=500
  743.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  744. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  745.                 if KnockbackType==1 then
  746.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  747.                 elseif KnockbackType==2 then
  748.                 vp.velocity=Property.CFrame.lookVector*knockback
  749.                 end
  750.                 if knockback>0 then
  751.                         vp.Parent=hit.Parent.Torso
  752.                 end
  753.                 game:GetService("Debris"):AddItem(vp,.5)
  754.                 elseif Type=="Up" then
  755.                 local bodyVelocity=Instance.new("BodyVelocity")
  756.                 bodyVelocity.velocity=vt(0,60,0)
  757.                 bodyVelocity.P=5000
  758.                 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  759.                 bodyVelocity.Parent=hit
  760.                 game:GetService("Debris"):AddItem(bodyVelocity,1)
  761.                 rl=Instance.new("BodyAngularVelocity")
  762.                 rl.P=3000
  763.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  764.                 rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  765.                 rl.Parent=hit
  766.                 game:GetService("Debris"):AddItem(rl,.5)
  767.                 elseif Type=="Snare" then
  768.                 bp=Instance.new("BodyPosition")
  769.                 bp.P=2000
  770.                 bp.D=100
  771.                 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  772.                 bp.position=hit.Parent.Torso.Position
  773.                 bp.Parent=hit.Parent.Torso
  774.                 game:GetService("Debris"):AddItem(bp,1)
  775.                 elseif Type=="Target" then
  776.                 if Targetting==false then
  777.                 ZTarget=hit.Parent.Torso
  778.                 coroutine.resume(coroutine.create(function(Part)
  779.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  780.                 swait(5)
  781.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  782.                 end),ZTarget)
  783.                 TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  784.                 targetgui=Instance.new("BillboardGui")
  785.                 targetgui.Parent=ZTarget
  786.                 targetgui.Size=UDim2.new(10,100,10,100)
  787.                 targ=Instance.new("ImageLabel")
  788.                 targ.Parent=targetgui
  789.                 targ.BackgroundTransparency=1
  790.                 targ.Image="rbxassetid://4834067"
  791.                 targ.Size=UDim2.new(1,0,1,0)
  792.                 cam.CameraType="Scriptable"
  793.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  794.                 dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  795.                 workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  796.                 Targetting=true
  797.                 RocketTarget=ZTarget
  798.                 for i=1,Property do
  799.                 --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  800.                 if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  801.                 swait()
  802.                 end
  803.                 --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  804.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  805.                 dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  806.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  807.                 end
  808.                 Targetting=false
  809.                 RocketTarget=nil
  810.                 targetgui.Parent=nil
  811.                 cam.CameraType="Custom"
  812.                 end
  813.                 end
  814.                         debounce=Instance.new("BoolValue")
  815.                         debounce.Name="DebounceHit"
  816.                         debounce.Parent=hit.Parent
  817.                         debounce.Value=true
  818.                         game:GetService("Debris"):AddItem(debounce,Delay)
  819.                         c=Instance.new("ObjectValue")
  820.                         c.Name="creator"
  821.                         c.Value=Player
  822.                         c.Parent=h
  823.                         game:GetService("Debris"):AddItem(c,.5)
  824.                 CRIT=false
  825.                 hitDeb=true
  826.                 AttackPos=6
  827.         end
  828. end
  829.  
  830. showDamage=function(Char,Dealt,du,Color)
  831.         m=Instance.new("Model")
  832.         m.Name=tostring(Dealt)
  833.         h=Instance.new("Humanoid")
  834.         h.Health=0
  835.         h.MaxHealth=0
  836.         h.Parent=m
  837.         c=Instance.new("Part")
  838.         c.Transparency=0
  839.         c.BrickColor=Color
  840.         c.Name="Head"
  841.         c.TopSurface=0
  842.         c.BottomSurface=0
  843.         c.formFactor="Plate"
  844.         c.Size=Vector3.new(1,.4,1)
  845.         ms=Instance.new("CylinderMesh")
  846.         ms.Scale=Vector3.new(.8,.8,.8)
  847.         if CRIT==true then
  848.                 ms.Scale=Vector3.new(1,1.25,1)
  849.         end
  850.         ms.Parent=c
  851.         c.Reflectance=0
  852.         Instance.new("BodyGyro").Parent=c
  853.         c.Parent=m
  854.         if Char:findFirstChild("Head")~=nil then
  855.         c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  856.         elseif Char.Parent:findFirstChild("Head")~=nil then
  857.         c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  858.         end
  859.         f=Instance.new("BodyPosition")
  860.         f.P=2000
  861.         f.D=100
  862.         f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  863.         f.position=c.Position+Vector3.new(0,3,0)
  864.         f.Parent=c
  865.         game:GetService("Debris"):AddItem(m,.5+du)
  866.         c.CanCollide=false
  867.         m.Parent=workspace
  868.         c.CanCollide=false
  869. end
  870.  
  871. VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
  872. handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  873. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  874. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  875. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  877. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
  878. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  880. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  882. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
  883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  884. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
  885. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  887. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
  888. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  889. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  890. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
  891. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  892. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  893. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
  894. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  895. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  896. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
  897. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  899. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
  900. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  902. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
  903. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  904. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
  905. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
  906. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  907. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  908. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
  909. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  910. FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
  911. FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
  912. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  913. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
  914. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  915. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  916. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
  917. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  918. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
  919. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
  920. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  921. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  922. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
  923. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  924. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  925. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
  926. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  927. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  928. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  929. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  930. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
  931. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
  932. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  933. local Decal1 = Instance.new("Decal",FlagLogo)
  934. Decal1.Texture = "http://www.roblox.com/asset/?id=147337085"
  935. Decal1.Face = "Front"
  936. local Decal2 = Instance.new("Decal",FlagLogo)
  937. Decal2.Texture = "http://www.roblox.com/asset/?id=147337085"
  938. Decal2.Face = "Back"
  939. Humanoid.WalkSpeed = 50
  940.  
  941. function ALLAHUAKBAR()
  942. attack = true
  943. local speak = {"ALLAHUAKBAR"}
  944. local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
  945. local chat = game:GetService("Chat")
  946. chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
  947. for i = 0,1,0.05 do
  948. swait()
  949. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  950. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  951. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  952. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  953. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  954. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  955. end
  956. for i = 0,1,0.05 do
  957. swait()
  958. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  959. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  960. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
  961. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  962. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  963. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  964. end
  965. for i = 1,20 do
  966. --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
  967. so("rbxassetid://134854740",Torso,1,1.3)
  968. so("rbxassetid://247893371",workspace,1,1)
  969. so("rbxassetid://137994058",Torso,1,1)
  970. so("rbxassetid://165969964",Torso,1,1)
  971. local S = Instance.new("Explosion",workspace)
  972. S.Position = Torso.Position
  973. S.BlastPressure = 5
  974. S.BlastRadius = 50
  975. S.ExplosionType = 2
  976. end
  977. attack = false
  978. end
  979.  
  980. mouse.Button1Down:connect(function()
  981. ALLAHUAKBAR()
  982. end)
  983.  
  984. mouse.KeyDown:connect(function(k)
  985.         k=k:lower()
  986.        
  987. end)
  988.  
  989.  
  990. local sine = 0
  991. local change = 1
  992. local val = 0
  993.  
  994. while true do
  995. swait()
  996. sine = sine + change
  997. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  998. local velderp=RootPart.Velocity.y
  999. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1000. if equipped==true or equipped==false then
  1001. if attack==false then
  1002. idle=idle+1
  1003. else
  1004. idle=0
  1005. end
  1006. if idle>=500 then
  1007. if attack==false then
  1008. --Sheath()
  1009. end
  1010. end
  1011. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1012. Anim="Jump"
  1013. if attack==false then
  1014. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1015. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1016. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1017. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1018. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1019. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1020. end
  1021. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1022. Anim="Fall"
  1023. if attack==false then
  1024. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1025. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1026. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1027. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1028. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1029. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1030. end
  1031. elseif torvel<1 and hitfloor~=nil then
  1032. Anim="Idle"
  1033. if attack==false then
  1034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  1035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1036. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1037. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1039. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1040. end
  1041. elseif torvel>2 and hitfloor~=nil then
  1042. Anim="Walk"
  1043. if attack==false then
  1044. change=3
  1045. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1046. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1047. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
  1048. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
  1049. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1050. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1051. end
  1052. end
  1053. end
  1054. if #Effects>0 then
  1055. --table.insert(Effects,{prt,"Block1",delay})
  1056. for e=1,#Effects do
  1057. if Effects[e]~=nil then
  1058. --for j=1,#Effects[e] do
  1059. local Thing=Effects[e]
  1060. if Thing~=nil then
  1061. local Part=Thing[1]
  1062. local Mode=Thing[2]
  1063. local Delay=Thing[3]
  1064. local IncX=Thing[4]
  1065. local IncY=Thing[5]
  1066. local IncZ=Thing[6]
  1067. if Thing[1].Transparency<=1 then
  1068. if Thing[2]=="Block1" then
  1069. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1070. Mesh=Thing[1].Mesh
  1071. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1072. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1073. elseif Thing[2]=="Cylinder" then
  1074. Mesh=Thing[1].Mesh
  1075. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1076. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1077. elseif Thing[2]=="Blood" then
  1078. Mesh=Thing[7]
  1079. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1080. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1081. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1082. elseif Thing[2]=="Elec" then
  1083. Mesh=Thing[1].Mesh
  1084. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1085. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1086. elseif Thing[2]=="Disappear" then
  1087. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1088. end
  1089. else
  1090. Part.Parent=nil
  1091. table.remove(Effects,e)
  1092. end
  1093. end
  1094. --end
  1095. end
  1096. end
  1097. end
  1098. end
  1099. end)
  1100. --------------------------------Jordan's Bong-------------------------------------
  1101. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton2.MouseButton1Down:connect(function()
  1102.     local p = game.Players.LocalPlayer
  1103. local char = p.Character
  1104. local mouse = p:GetMouse()
  1105. local larm = char["Left Arm"]
  1106. local rarm = char["Right Arm"]
  1107. local lleg = char["Left Leg"]
  1108. local rleg = char["Right Leg"]
  1109. local hed = char.Head
  1110. local torso = char.Torso
  1111. local hum = char.Humanoid
  1112. local cam = game.Workspace.CurrentCamera
  1113. local root = char.HumanoidRootPart
  1114. local deb = false
  1115. local shot = 0
  1116. local l = game:GetService("Lighting")
  1117. local rs = game:GetService("RunService").RenderStepped
  1118. local stanceToggle = "Bong"
  1119. math.randomseed(os.time())
  1120. hum.WalkSpeed = 8
  1121. ----------------------------------------------------
  1122. ----------------------------------------------------
  1123. ----------------------------------------------------
  1124. Debounces = {
  1125. CanPuff = true;
  1126. CanJoke = true;
  1127. Bong = true;
  1128. Pipe = false;
  1129. Blunt = false;
  1130. NoIdl = false;
  1131. on = false;
  1132. }
  1133.  
  1134. ----------------------------------------------------
  1135.  
  1136. function lerp(a, b, t) -- Linear interpolation
  1137.         return a + (b - a)*t
  1138. end
  1139.  
  1140. function slerp(a, b, t) --Spherical interpolation
  1141.         dot = a:Dot(b)
  1142.         if dot > 0.99999 or dot < -0.99999 then
  1143.                 return t <= 0.5 and a or b
  1144.         else
  1145.                 r = math.acos(dot)
  1146.                 return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1147.         end
  1148. end
  1149.  
  1150. function matrixInterpolate(a, b, t)
  1151.         local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1152.         local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1153.         local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1154.         local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
  1155.         local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
  1156.         local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
  1157.         local t = v1:Dot(v2)
  1158.         if not (t < 0 or t == 0 or t > 0) then         -- Failsafe
  1159.                 return CFrame.new()
  1160.         end
  1161.         return CFrame.new(
  1162.         v0.x, v0.y, v0.z,
  1163.         v1.x, v1.y, v1.z,
  1164.         v2.x, v2.y, v2.z,
  1165.         v3.x, v3.y, v3.z)
  1166. end
  1167. ----------------------------------------------------
  1168. function genWeld(a,b)
  1169.     local w = Instance.new("Weld",a)
  1170.     w.Part0 = a
  1171.     w.Part1 = b
  1172.     return w
  1173. end
  1174. function weld(a, b)
  1175.     local weld = Instance.new("Weld")
  1176.     weld.Name = "W"
  1177.     weld.Part0 = a
  1178.     weld.Part1 = b
  1179.     weld.C0 = a.CFrame:inverse() * b.CFrame
  1180.     weld.Parent = a
  1181.     return weld;
  1182. end
  1183. ----------------------------------------------------
  1184. function Lerp(c1,c2,al)
  1185. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1186. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1187. for i,v in pairs(com1) do
  1188. com1[i] = v+(com2[i]-v)*al
  1189. end
  1190. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1191. end
  1192. ----------------------------------------------------
  1193. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1194. local wld = Instance.new("Weld", wp1)
  1195. wld.Part0 = wp0
  1196. wld.Part1 = wp1
  1197. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1198. end
  1199. ----------------------------------------------------
  1200. newWeld(torso, larm, -1.5, 0.5, 0)
  1201. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1202. newWeld(torso, rarm, 1.5, 0.5, 0)
  1203. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1204. newWeld(torso, hed, 0, 1.5, 0)
  1205. newWeld(torso, lleg, -0.5, -1, 0)
  1206. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1207. newWeld(torso, rleg, 0.5, -1, 0)
  1208. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1209. newWeld(root, torso, 0, -1, 0)
  1210. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1211. ----------------------------------------------------
  1212. z = Instance.new("Sound", game.Players.LocalPlayer.Character)
  1213. z.SoundId = "rbxassetid://235944268"
  1214. z.Looped = true
  1215. z.Pitch = 1
  1216. z.Volume = 1
  1217. wait(1)
  1218. z:Play()
  1219. ----------------------------------------------------
  1220. pa = Instance.new("Part", torso)
  1221. pa.Name = "Fat"
  1222. pa.Transparency = 1
  1223. pa.CanCollide = false
  1224. pa.Anchored = false
  1225. pa.Locked = true
  1226. pa.Size = Vector3.new(1,1,1)
  1227. weld = Instance.new("Weld", pa)
  1228. weld.Part0 = pa
  1229. weld.Part1 = torso
  1230. weld.C0 = CFrame.new(0, 0, -1.5)
  1231. weld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0))
  1232. s = Instance.new("Smoke", pa)
  1233. s.Color = Color3.new(1,1,1)
  1234. s.Opacity = 1
  1235. s.RiseVelocity = 4
  1236. s.Enabled = false
  1237. ----------------------------------------------------
  1238. local m = Instance.new("Model")
  1239. m.Name = "Bong"
  1240. p1 = Instance.new("Part", m)
  1241. p1.Material = "Neon"
  1242. p1.BrickColor = BrickColor.new("Black")
  1243. p1.Name = "Lip"
  1244. p1.FormFactor = Enum.FormFactor.Symmetric
  1245. p1.Size = Vector3.new(1, 1, 1)
  1246. p1.CFrame = CFrame.new(28.499649, 10.9996414, -11.4994812, -0.999972343, 6.21378422e-006, -0.00049701333, -0.000477582216, -5.70863485e-005, 0.999959588, -1.02631748e-005, 0.999939203, 2.50376761e-005)
  1247. p1.CanCollide = false
  1248. p1.Locked = true
  1249. p1.BottomSurface = Enum.SurfaceType.Smooth
  1250. p1.TopSurface = Enum.SurfaceType.Smooth
  1251. b1 = Instance.new("SpecialMesh", p1)
  1252. b1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1253. b1.TextureId = ""
  1254. b1.MeshType = Enum.MeshType.FileMesh
  1255. b1.Name = "Mesh"
  1256. p2 = Instance.new("Part", m)
  1257. p2.Material = "Neon"
  1258. p2.BrickColor = BrickColor.new("Earth green")
  1259. p2.Material = Enum.Material.SmoothPlastic
  1260. p2.Transparency = 0.20000000298023
  1261. p2.Name = "Tube"
  1262. p2.FormFactor = Enum.FormFactor.Symmetric
  1263. p2.Size = Vector3.new(1, 3, 1)
  1264. p2.CFrame = CFrame.new(28.4998627, 9.49954987, -11.4992342, 0.000220132133, -5.49961114e-005, 0.999972463, -7.23355697e-005, 0.999959707, 3.55862139e-005, -0.999939203, -0.000104385108, 0.000236587104)
  1265. p2.CanCollide = false
  1266. p2.Locked = true
  1267. p2.BottomSurface = Enum.SurfaceType.Smooth
  1268. p2.TopSurface = Enum.SurfaceType.Smooth
  1269. b2 = Instance.new("CylinderMesh", p2)
  1270. b2.Name = "Mesh"
  1271. p3 = Instance.new("Part", m)
  1272. p3.BrickColor = BrickColor.new("Earth green")
  1273. p3.Name = "Devil's Lettuce"
  1274. p3.Size = Vector3.new(1, 1.20000005, 1)
  1275. p3.CFrame = CFrame.new(27.1619816, 8.50439644, -11.4991903, 0.754621029, -0.656118929, 2.5186062e-005, 0.656095922, 0.754624128, -5.45315925e-005, 8.17945693e-006, 2.26873817e-005, 0.999939263)
  1276. p3.CanCollide = false
  1277. p3.Locked = true
  1278. b3 = Instance.new("SpecialMesh", p3)
  1279. b3.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1280. b3.TextureId = "http://www.roblox.com/asset/?id=1290030"
  1281. b3.MeshType = Enum.MeshType.FileMesh
  1282. b3.VertexColor = Vector3.new(0.5, 70, 0)
  1283. b3.Name = "Mesh"
  1284. b3.Scale = Vector3.new(0.199999988, 0.199999988, 0.199999988)
  1285. p4 = Instance.new("Part", m)
  1286. p4.BrickColor = BrickColor.new("Black")
  1287. p4.Name = "Bowl"
  1288. p4.FormFactor = Enum.FormFactor.Symmetric
  1289. p4.Size = Vector3.new(1, 1, 1)
  1290. p4.CFrame = CFrame.new(27.243679, 8.40425396, -11.4991856, -0.754621029, 0.656118929, 0.000100085585, -0.656095922, -0.754624128, 1.05888903e-005, 9.10690069e-005, -2.26873672e-005, 0.999939263)
  1291. p4.CanCollide = false
  1292. p4.Locked = true
  1293. p4.BottomSurface = Enum.SurfaceType.Smooth
  1294. p4.TopSurface = Enum.SurfaceType.Smooth
  1295. b4 = Instance.new("SpecialMesh", p4)
  1296. b4.MeshId = "http://www.roblox.com/asset/?id=19380188"
  1297. b4.TextureId = ""
  1298. b4.MeshType = Enum.MeshType.FileMesh
  1299. b4.Name = "Mesh"
  1300. b4.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1301. p5 = Instance.new("Part", m)
  1302. p5.BrickColor = BrickColor.new("Black")
  1303. p5.Material = Enum.Material.SmoothPlastic
  1304. p5.Name = "Stem"
  1305. p5.FormFactor = Enum.FormFactor.Symmetric
  1306. p5.Size = Vector3.new(1, 1, 1)
  1307. p5.CFrame = CFrame.new(27.8998299, 7.64966011, -11.4992504, -0.754621029, -0.656118929, -3.68308465e-005, -0.656095922, 0.754624128, 4.44071593e-005, 7.25091377e-006, 2.26873672e-005, -0.999939263)
  1308. p5.CanCollide = false
  1309. p5.Locked = true
  1310. p5.BottomSurface = Enum.SurfaceType.Smooth
  1311. p5.TopSurface = Enum.SurfaceType.Smooth
  1312. b5 = Instance.new("CylinderMesh", p5)
  1313. b5.Name = "Mesh"
  1314. b5.Scale = Vector3.new(1, 1.79999995, 0.200000003)
  1315. p6 = Instance.new("Part", m)
  1316. p6.Material = "Neon"
  1317. p6.BrickColor = BrickColor.new("Earth green")
  1318. p6.Material = Enum.Material.SmoothPlastic
  1319. p6.Transparency = 0.20000000298023
  1320. p6.Name = "Bong"
  1321. p6.FormFactor = Enum.FormFactor.Symmetric
  1322. p6.Size = Vector3.new(1, 1, 1)
  1323. p6.CFrame = CFrame.new(28.5000229, 7.34961605, -11.4990406, -0.000452600536, 0.00015476234, -0.999972343, -1.39447293e-005, 0.999959707, 0.000174246117, 0.999939203, -1.80333263e-005, -0.000469060004)
  1324. p6.CanCollide = false
  1325. p6.Locked = true
  1326. p6.BottomSurface = Enum.SurfaceType.Smooth
  1327. p6.TopSurface = Enum.SurfaceType.Smooth
  1328. b6 = Instance.new("SpecialMesh", p6)
  1329. b6.MeshType = Enum.MeshType.Sphere
  1330. b6.Name = "Mesh"
  1331. b6.Scale = Vector3.new(1.79999995, 1.79999995, 1.79999995)
  1332. p7 = Instance.new("Part", m)
  1333. p7.Material = "Neon"
  1334. p7.BrickColor = BrickColor.new("Pastel Blue")
  1335. p7.Material = Enum.Material.SmoothPlastic
  1336. p7.Name = "Water"
  1337. p7.FormFactor = Enum.FormFactor.Symmetric
  1338. p7.Size = Vector3.new(1, 1, 1)
  1339. p7.CFrame = CFrame.new(28.5000248, 7.25962019, -11.4990396, -0.000452600565, 0.000154762354, -0.999972343, -1.39616022e-005, 0.999959707, 0.000174246117, 0.999939322, -1.80501975e-005, -0.000469060033)
  1340. p7.CanCollide = false
  1341. p7.Locked = true
  1342. p7.BottomSurface = Enum.SurfaceType.Smooth
  1343. p7.TopSurface = Enum.SurfaceType.Smooth
  1344. b7 = Instance.new("SpecialMesh", p7)
  1345. b7.MeshType = Enum.MeshType.Sphere
  1346. b7.Name = "Mesh"
  1347. b7.Scale = Vector3.new(1.5999999, 1.39999986, 1.5999999)
  1348. w1 = Instance.new("Weld", p1)
  1349. w1.Name = "Tube_Weld"
  1350. w1.Part0 = p1
  1351. w1.C0 = CFrame.new(28.505003, 11.5008535, -10.9858503, -0.999999881, -0.000485179946, -1.08338909e-007, -8.74227695e-008, -4.31100962e-005, 1, -0.000485179946, 0.999999881, 4.31100489e-005)
  1352. w1.Part1 = p2
  1353. w1.C1 = CFrame.new(-11.5057898, -9.49978542, -28.4976711, 0.000226438046, -8.63153255e-005, -1, -4.31497574e-005, 1, -8.63251043e-005, 1, 4.31693043e-005, 0.000226438046)
  1354. w2 = Instance.new("Weld", p2)
  1355. w2.Name = "Devil's Lettuce_Weld"
  1356. w2.Part0 = p2
  1357. w2.C0 = CFrame.new(-11.5057898, -9.49978542, -28.4976711, 0.000226438046, -8.63153255e-005, -1, -4.31497574e-005, 1, -8.63251043e-005, 1, 4.31693043e-005, 0.000226438046)
  1358. w2.Part1 = p3
  1359. w2.C1 = CFrame.new(-26.0778522, 11.4040451, 11.4999485, 0.75464958, 0.656128049, 1.23602822e-005, -0.656128049, 0.75464958, 4.29936699e-005, 1.88816703e-005, -4.05550818e-005, 1)
  1360. w3 = Instance.new("Weld", p3)
  1361. w3.Name = "Bowl_Weld"
  1362. w3.Part0 = p3
  1363. w3.C0 = CFrame.new(-26.0778522, 11.4040451, 11.4999485, 0.75464958, 0.656128049, 1.23602822e-005, -0.656128049, 0.75464958, 4.29936699e-005, 1.88816703e-005, -4.05550818e-005, 1)
  1364. w3.Part1 = p4
  1365. w3.C1 = CFrame.new(26.0749397, -11.5332241, 11.4973526, -0.75464958, -0.656128049, 8.68942152e-005, 0.656128049, -0.75464958, -4.29936554e-005, 9.37840305e-005, 2.45685878e-005, 1)
  1366. w4 = Instance.new("Weld", p4)
  1367. w4.Name = "Stem_Weld"
  1368. w4.Part0 = p4
  1369. w4.C0 = CFrame.new(26.0749397, -11.5332241, 11.4973526, -0.75464958, -0.656128049, 8.68942152e-005, 0.656128049, -0.75464958, -4.29936554e-005, 9.37840305e-005, 2.45685878e-005, 1)
  1370. w4.Part1 = p5
  1371. w4.C1 = CFrame.new(26.0740185, 12.5332232, -11.4995804, -0.75464958, -0.656128049, 3.07102709e-006, -0.656128049, 0.75464958, 4.29936554e-005, -3.05268914e-005, 3.04301557e-005, -1)
  1372. w5 = Instance.new("Weld", p5)
  1373. w5.Name = "Bong_Weld"
  1374. w5.Part0 = p5
  1375. w5.C0 = CFrame.new(26.0740185, 12.5332232, -11.4995804, -0.75464958, -0.656128049, 3.07102709e-006, -0.656128049, 0.75464958, 4.29936554e-005, -3.05268914e-005, 3.04301557e-005, -1)
  1376. w5.Part1 = p6
  1377. w5.C1 = CFrame.new(11.5130777, -7.35474873, 28.493494, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581)
  1378. w6 = Instance.new("Weld", p6)
  1379. w6.Name = "Water_Weld"
  1380. w6.Part0 = p6
  1381. w6.C0 = CFrame.new(11.5130777, -7.35474873, 28.493494, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581)
  1382. w6.Part1 = p7
  1383. w6.C1 = CFrame.new(11.5130777, -7.26474905, 28.4935093, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581)
  1384. w7 = Instance.new("Weld", p7)
  1385. w7.Name = "Head_Weld"
  1386. w7.Part0 = p7
  1387. w7.C0 = CFrame.new(11.5130777, -7.26474905, 28.4935093, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581)
  1388. m.Parent = torso
  1389. m:MakeJoints()
  1390. ----------------------------------------------------
  1391. weld2 = Instance.new("Weld", torso.Bong)
  1392. weld2.Part0 = torso
  1393. weld2.Part1 = torso.Bong.Tube
  1394. weld2.C0 = CFrame.new(0, -.5, -1.5)
  1395. weld2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1396. ----------------------------------------------------
  1397. local m2 = Instance.new("Model")
  1398. m2.Name = "Blunt"
  1399. p1 = Instance.new("Part", m2)
  1400. p1.Transparency = 1
  1401. p1.BrickColor = BrickColor.new("CGA brown")
  1402. p1.Name = "Handle"
  1403. p1.FormFactor = Enum.FormFactor.Custom
  1404. p1.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  1405. p1.CFrame = CFrame.new(30.5498123, 9.24952984, -12.2989969, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1406. p1.CanCollide = false
  1407. p1.Locked = true
  1408. p1.BottomSurface = Enum.SurfaceType.Smooth
  1409. p1.TopSurface = Enum.SurfaceType.Smooth
  1410. b1 = Instance.new("SpecialMesh", p1)
  1411. b1.MeshType = Enum.MeshType.Cylinder
  1412. b1.Name = "Mesh"
  1413. p2 = Instance.new("Part", m2)
  1414. p2.Transparency = 1
  1415. p2.BrickColor = BrickColor.new("CGA brown")
  1416. p2.Name = "Joint11"
  1417. p2.FormFactor = Enum.FormFactor.Custom
  1418. p2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1419. p2.CFrame = CFrame.new(30.5498104, 9.24934578, -12.4989843, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1420. p2.CanCollide = false
  1421. p2.Locked = true
  1422. p2.BottomSurface = Enum.SurfaceType.Smooth
  1423. p2.TopSurface = Enum.SurfaceType.Smooth
  1424. b2 = Instance.new("SpecialMesh", p2)
  1425. b2.MeshType = Enum.MeshType.Cylinder
  1426. b2.Name = "Mesh"
  1427. b2.Scale = Vector3.new(0.300000012, 1, 1)
  1428. p3 = Instance.new("Part", m2)
  1429. p3.Transparency = 1
  1430. p3.BrickColor = BrickColor.new("CGA brown")
  1431. p3.Name = "Joint10"
  1432. p3.FormFactor = Enum.FormFactor.Custom
  1433. p3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1434. p3.CFrame = CFrame.new(30.5498104, 9.24934673, -12.5489807, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1435. p3.CanCollide = false
  1436. p3.Locked = true
  1437. p3.BottomSurface = Enum.SurfaceType.Smooth
  1438. p3.TopSurface = Enum.SurfaceType.Smooth
  1439. b3 = Instance.new("SpecialMesh", p3)
  1440. b3.MeshType = Enum.MeshType.Cylinder
  1441. b3.Name = "Mesh"
  1442. b3.Scale = Vector3.new(0.300000012, 1, 1)
  1443. p4 = Instance.new("Part", m2)
  1444. p4.Transparency = 1
  1445. p4.BrickColor = BrickColor.new("CGA brown")
  1446. p4.Name = "Joint9"
  1447. p4.FormFactor = Enum.FormFactor.Custom
  1448. p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1449. p4.CFrame = CFrame.new(30.5498104, 9.24934673, -12.5989771, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1450. p4.CanCollide = false
  1451. p4.Locked = true
  1452. p4.BottomSurface = Enum.SurfaceType.Smooth
  1453. p4.TopSurface = Enum.SurfaceType.Smooth
  1454. b4 = Instance.new("SpecialMesh", p4)
  1455. b4.MeshType = Enum.MeshType.Cylinder
  1456. b4.Name = "Mesh"
  1457. b4.Scale = Vector3.new(0.300000012, 1, 1)
  1458. p5 = Instance.new("Part", m2)
  1459. p5.Transparency = 1
  1460. p5.BrickColor = BrickColor.new("CGA brown")
  1461. p5.Name = "Joint8"
  1462. p5.FormFactor = Enum.FormFactor.Custom
  1463. p5.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1464. p5.CFrame = CFrame.new(30.5498104, 9.24934769, -12.6489735, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1465. p5.CanCollide = false
  1466. p5.Locked = true
  1467. p5.BottomSurface = Enum.SurfaceType.Smooth
  1468. p5.TopSurface = Enum.SurfaceType.Smooth
  1469. b5 = Instance.new("SpecialMesh", p5)
  1470. b5.MeshType = Enum.MeshType.Cylinder
  1471. b5.Name = "Mesh"
  1472. b5.Scale = Vector3.new(0.300000012, 1, 1)
  1473. p6 = Instance.new("Part", m2)
  1474. p6.Transparency = 1
  1475. p6.BrickColor = BrickColor.new("CGA brown")
  1476. p6.Name = "Joint7"
  1477. p6.FormFactor = Enum.FormFactor.Custom
  1478. p6.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1479. p6.CFrame = CFrame.new(30.5498104, 9.24934769, -12.6989698, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1480. p6.CanCollide = false
  1481. p6.Locked = true
  1482. p6.BottomSurface = Enum.SurfaceType.Smooth
  1483. p6.TopSurface = Enum.SurfaceType.Smooth
  1484. b6 = Instance.new("SpecialMesh", p6)
  1485. b6.MeshType = Enum.MeshType.Cylinder
  1486. b6.Name = "Mesh"
  1487. b6.Scale = Vector3.new(0.300000012, 1, 1)
  1488. p7 = Instance.new("Part", m2)
  1489. p7.Transparency = 1
  1490. p7.BrickColor = BrickColor.new("CGA brown")
  1491. p7.Name = "Joint6"
  1492. p7.FormFactor = Enum.FormFactor.Custom
  1493. p7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1494. p7.CFrame = CFrame.new(30.5498104, 9.24934864, -12.7489662, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1495. p7.CanCollide = false
  1496. p7.Locked = true
  1497. p7.BottomSurface = Enum.SurfaceType.Smooth
  1498. p7.TopSurface = Enum.SurfaceType.Smooth
  1499. b7 = Instance.new("SpecialMesh", p7)
  1500. b7.MeshType = Enum.MeshType.Cylinder
  1501. b7.Name = "Mesh"
  1502. b7.Scale = Vector3.new(0.300000012, 1, 1)
  1503. p8 = Instance.new("Part", m2)
  1504. p8.Transparency = 1
  1505. p8.BrickColor = BrickColor.new("CGA brown")
  1506. p8.Name = "Joint5"
  1507. p8.FormFactor = Enum.FormFactor.Custom
  1508. p8.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1509. p8.CFrame = CFrame.new(30.5498104, 9.24934864, -12.7989626, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1510. p8.CanCollide = false
  1511. p8.Locked = true
  1512. p8.BottomSurface = Enum.SurfaceType.Smooth
  1513. p8.TopSurface = Enum.SurfaceType.Smooth
  1514. b8 = Instance.new("SpecialMesh", p8)
  1515. b8.MeshType = Enum.MeshType.Cylinder
  1516. b8.Name = "Mesh"
  1517. b8.Scale = Vector3.new(0.300000012, 1, 1)
  1518. p9 = Instance.new("Part", m2)
  1519. p9.Transparency = 1
  1520. p9.BrickColor = BrickColor.new("CGA brown")
  1521. p9.Name = "Joint4"
  1522. p9.FormFactor = Enum.FormFactor.Custom
  1523. p9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1524. p9.CFrame = CFrame.new(30.5498104, 9.24934959, -12.848959, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1525. p9.CanCollide = false
  1526. p9.Locked = true
  1527. p9.BottomSurface = Enum.SurfaceType.Smooth
  1528. p9.TopSurface = Enum.SurfaceType.Smooth
  1529. b9 = Instance.new("SpecialMesh", p9)
  1530. b9.MeshType = Enum.MeshType.Cylinder
  1531. b9.Name = "Mesh"
  1532. b9.Scale = Vector3.new(0.300000012, 1, 1)
  1533. p10 = Instance.new("Part", m2)
  1534. p10.Transparency = 1
  1535. p10.BrickColor = BrickColor.new("CGA brown")
  1536. p10.Name = "Joint3"
  1537. p10.FormFactor = Enum.FormFactor.Custom
  1538. p10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1539. p10.CFrame = CFrame.new(30.5498104, 9.24934959, -12.8989553, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1540. p10.CanCollide = false
  1541. p10.Locked = true
  1542. p10.BottomSurface = Enum.SurfaceType.Smooth
  1543. p10.TopSurface = Enum.SurfaceType.Smooth
  1544. b10 = Instance.new("SpecialMesh", p10)
  1545. b10.MeshType = Enum.MeshType.Cylinder
  1546. b10.Name = "Mesh"
  1547. b10.Scale = Vector3.new(0.300000012, 1, 1)
  1548. p11 = Instance.new("Part", m2)
  1549. p11.Transparency = 1
  1550. p11.BrickColor = BrickColor.new("CGA brown")
  1551. p11.Name = "Joint3"
  1552. p11.FormFactor = Enum.FormFactor.Custom
  1553. p11.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1554. p11.CFrame = CFrame.new(30.5498104, 9.24935055, -12.9489517, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1555. p11.CanCollide = false
  1556. p11.Locked = true
  1557. p11.BottomSurface = Enum.SurfaceType.Smooth
  1558. p11.TopSurface = Enum.SurfaceType.Smooth
  1559. b11 = Instance.new("SpecialMesh", p11)
  1560. b11.MeshType = Enum.MeshType.Cylinder
  1561. b11.Name = "Mesh"
  1562. b11.Scale = Vector3.new(0.300000012, 1, 1)
  1563. p12 = Instance.new("Part", m2)
  1564. p12.Transparency = 1
  1565. p12.BrickColor = BrickColor.new("CGA brown")
  1566. p12.Name = "Joint2"
  1567. p12.FormFactor = Enum.FormFactor.Custom
  1568. p12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1569. p12.CFrame = CFrame.new(30.5498104, 9.24935055, -12.9989481, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1570. p12.CanCollide = false
  1571. p12.Locked = true
  1572. p12.BottomSurface = Enum.SurfaceType.Smooth
  1573. p12.TopSurface = Enum.SurfaceType.Smooth
  1574. b12 = Instance.new("SpecialMesh", p12)
  1575. b12.MeshType = Enum.MeshType.Cylinder
  1576. b12.Name = "Mesh"
  1577. b12.Scale = Vector3.new(0.300000012, 1, 1)
  1578. p13 = Instance.new("Part", m2)
  1579. p13.Transparency = 1
  1580. p13.BrickColor = BrickColor.new("CGA brown")
  1581. p13.Name = "Joint1"
  1582. p13.FormFactor = Enum.FormFactor.Custom
  1583. p13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1584. p13.CFrame = CFrame.new(30.5498104, 9.2493515, -13.0489445, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005)
  1585. p13.CanCollide = false
  1586. p13.Locked = true
  1587. p13.BottomSurface = Enum.SurfaceType.Smooth
  1588. p13.TopSurface = Enum.SurfaceType.Smooth
  1589. b13 = Instance.new("SpecialMesh", p13)
  1590. b13.MeshType = Enum.MeshType.Cylinder
  1591. b13.Name = "Mesh"
  1592. b13.Scale = Vector3.new(0.300000012, 1, 1)
  1593. w1 = Instance.new("Weld", p1)
  1594. w1.Name = "Joint11_Weld"
  1595. w1.Part0 = p1
  1596. w1.C0 = CFrame.new(-12.2991934, -9.25106144, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1597. w1.Part1 = p2
  1598. w1.C1 = CFrame.new(-12.4991941, -9.25089169, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1599. w2 = Instance.new("Weld", p2)
  1600. w2.Name = "Joint10_Weld"
  1601. w2.Part0 = p2
  1602. w2.C0 = CFrame.new(-12.4991941, -9.25089169, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1603. w2.Part1 = p3
  1604. w2.C1 = CFrame.new(-12.5491943, -9.25089645, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1605. w3 = Instance.new("Weld", p3)
  1606. w3.Name = "Joint9_Weld"
  1607. w3.Part0 = p3
  1608. w3.C0 = CFrame.new(-12.5491943, -9.25089645, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1609. w3.Part1 = p4
  1610. w3.C1 = CFrame.new(-12.5991945, -9.25090027, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1611. w4 = Instance.new("Weld", p4)
  1612. w4.Name = "Joint8_Weld"
  1613. w4.Part0 = p4
  1614. w4.C0 = CFrame.new(-12.5991945, -9.25090027, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1615. w4.Part1 = p5
  1616. w4.C1 = CFrame.new(-12.6491947, -9.25090504, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1617. w5 = Instance.new("Weld", p5)
  1618. w5.Name = "Joint7_Weld"
  1619. w5.Part0 = p5
  1620. w5.C0 = CFrame.new(-12.6491947, -9.25090504, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1621. w5.Part1 = p6
  1622. w5.C1 = CFrame.new(-12.6991949, -9.25090885, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1623. w6 = Instance.new("Weld", p6)
  1624. w6.Name = "Joint6_Weld"
  1625. w6.Part0 = p6
  1626. w6.C0 = CFrame.new(-12.6991949, -9.25090885, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1627. w6.Part1 = p7
  1628. w6.C1 = CFrame.new(-12.7491951, -9.25091362, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1629. w7 = Instance.new("Weld", p7)
  1630. w7.Name = "Joint5_Weld"
  1631. w7.Part0 = p7
  1632. w7.C0 = CFrame.new(-12.7491951, -9.25091362, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1633. w7.Part1 = p8
  1634. w7.C1 = CFrame.new(-12.7991953, -9.25091743, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1635. w8 = Instance.new("Weld", p8)
  1636. w8.Name = "Joint4_Weld"
  1637. w8.Part0 = p8
  1638. w8.C0 = CFrame.new(-12.7991953, -9.25091743, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1639. w8.Part1 = p9
  1640. w8.C1 = CFrame.new(-12.8491955, -9.2509222, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1641. w9 = Instance.new("Weld", p9)
  1642. w9.Name = "Joint3_Weld"
  1643. w9.Part0 = p9
  1644. w9.C0 = CFrame.new(-12.8491955, -9.2509222, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1645. w9.Part1 = p10
  1646. w9.C1 = CFrame.new(-12.8991957, -9.25092602, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1647. w10 = Instance.new("Weld", p10)
  1648. w10.Name = "Joint3_Weld"
  1649. w10.Part0 = p10
  1650. w10.C0 = CFrame.new(-12.8991957, -9.25092602, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1651. w10.Part1 = p11
  1652. w10.C1 = CFrame.new(-12.9491959, -9.25093079, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1653. w11 = Instance.new("Weld", p11)
  1654. w11.Name = "Joint2_Weld"
  1655. w11.Part0 = p11
  1656. w11.C0 = CFrame.new(-12.9491959, -9.25093079, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1657. w11.Part1 = p12
  1658. w11.C1 = CFrame.new(-12.9991961, -9.2509346, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1659. w12 = Instance.new("Weld", p12)
  1660. w12.Name = "Joint1_Weld"
  1661. w12.Part0 = p12
  1662. w12.C0 = CFrame.new(-12.9991961, -9.2509346, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1663. w12.Part1 = p13
  1664. w12.C1 = CFrame.new(-13.0491962, -9.25093937, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008)
  1665. m2.Parent = larm
  1666. m2:MakeJoints()
  1667. ----------------------------------------------------
  1668. weld3 = Instance.new("Weld", larm.Blunt)
  1669. weld3.Part0 = larm
  1670. weld3.Part1 = p1
  1671. weld3.C0 = CFrame.new(0, 0, 0)
  1672. weld3.C1 = CFrame.new(-.4, -.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(130))
  1673. ----------------------------------------------------
  1674. local m3 = Instance.new("Model")
  1675. m3.Name = "Pipe"
  1676. p1 = Instance.new("Part", m3)
  1677. p1.Transparency = 1
  1678. p1.BrickColor = BrickColor.new("Lime green")
  1679. p1.Name = "Ganja"
  1680. p1.Size = Vector3.new(1, 1.20000005, 1)
  1681. p1.CFrame = CFrame.new(34.4998474, 9.47253323, -12.1971197, 0.999142408, 0.0395895876, 0.00966008008, -0.0395250656, 0.999140501, -0.00866904482, -0.00997729599, 0.00824850239, 0.999855876)
  1682. p1.CanCollide = false
  1683. p1.Locked = true
  1684. b1 = Instance.new("SpecialMesh", p1)
  1685. b1.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1686. b1.TextureId = "http://www.roblox.com/asset/?id=1290030"
  1687. b1.MeshType = Enum.MeshType.FileMesh
  1688. b1.Name = "Mesh"
  1689. b1.VertexColor = Vector3.new(1, 1, 0)
  1690. b1.Scale = Vector3.new(0.25, 0.25, 0.25)
  1691. p2 = Instance.new("Part", m3)
  1692. p2.Transparency = 1
  1693. p2.BrickColor = BrickColor.new("Reddish brown")
  1694. p2.Name = "Bowl"
  1695. p2.FormFactor = Enum.FormFactor.Custom
  1696. p2.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
  1697. p2.CFrame = CFrame.new(34.5002136, 9.30045128, -12.1985321, 0.999142408, -0.0395896509, -0.00965970568, -0.0395250618, -0.999140382, 0.00867650099, -0.0099772159, -0.0082559688, -0.999855697)
  1698. p2.CanCollide = false
  1699. p2.Locked = true
  1700. p2.BottomSurface = Enum.SurfaceType.Smooth
  1701. p2.TopSurface = Enum.SurfaceType.Smooth
  1702. b2 = Instance.new("SpecialMesh", p2)
  1703. b2.MeshId = "http://www.roblox.com/asset/?id=1038653"
  1704. b2.TextureId = "http://www.roblox.com/asset/?id=63422869"
  1705. b2.MeshType = Enum.MeshType.FileMesh
  1706. b2.Name = "Mesh"
  1707. b2.Scale = Vector3.new(0.5, 0.75, 0.5)
  1708. p3 = Instance.new("Part", m3)
  1709. p3.Transparency = 1
  1710. p3.BrickColor = BrickColor.new("Reddish brown")
  1711. p3.Name = "Handle"
  1712. p3.FormFactor = Enum.FormFactor.Custom
  1713. p3.Size = Vector3.new(0.200000003, 1.29999995, 0.200000003)
  1714. p3.CFrame = CFrame.new(34.4998512, 9.09950542, -13.0488882, -0.999973059, -6.22216612e-006, 1.18450553e-005, 7.51431071e-006, 1.40070915e-005, -0.999959469, -1.02808699e-005, -0.999939501, 1.80210918e-005)
  1715. p3.CanCollide = false
  1716. p3.Locked = true
  1717. p3.BottomSurface = Enum.SurfaceType.Smooth
  1718. p3.TopSurface = Enum.SurfaceType.Smooth
  1719. b3 = Instance.new("CylinderMesh", p3)
  1720. b3.Name = "Mesh"
  1721. w1 = Instance.new("Weld", p1)
  1722. w1.Name = "Bowl_Weld"
  1723. w1.Part0 = p1
  1724. w1.C0 = CFrame.new(-34.2188034, -10.7307339, 11.9460506, 0.999168873, -0.0395192951, -0.00998879783, 0.0396024287, 0.999181271, 0.00826664828, 0.00965392869, -0.00865535904, 0.999915898)
  1725. w1.Part1 = p2
  1726. w1.C1 = CFrame.new(-34.2259827, 10.5586996, -11.9460554, 0.999168873, -0.0395192914, -0.00998871867, -0.0396024957, -0.999181211, -0.00827411562, -0.00965355337, 0.00866281614, -0.999915838)
  1727. w2 = Instance.new("Weld", p2)
  1728. w2.Name = "Handle_Weld"
  1729. w2.Part0 = p2
  1730. w2.C0 = CFrame.new(-34.2259827, 10.5586996, -11.9460554, 0.999168873, -0.0395192914, -0.00998871867, -0.0396024957, -0.999181211, -0.00827411562, -0.00965355337, 0.00866281614, -0.999915838)
  1731. w2.Part1 = p3
  1732. w2.C1 = CFrame.new(34.5000114, -13.0499754, 9.09998798, -1, -3.60887031e-009, -8.74227766e-008, 8.74227766e-008, 4.37113883e-008, -1, 3.60887409e-009, -1, -4.37113883e-008)
  1733. w3 = Instance.new("Weld", p3)
  1734. w3.Name = "Handle_Weld"
  1735. w3.Part0 = p3
  1736. w3.C0 = CFrame.new(34.5000114, -13.0499754, 9.09998798, -1, -3.60887031e-009, -8.74227766e-008, 8.74227766e-008, 4.37113883e-008, -1, 3.60887409e-009, -1, -4.37113883e-008)
  1737. m3.Parent = larm
  1738. m3:MakeJoints()
  1739. ----------------------------------------------------
  1740. weld4 = Instance.new("Weld", larm.Pipe)
  1741. weld4.Part0 = larm
  1742. weld4.Part1 = p3
  1743. weld4.C0 = CFrame.new(0, 0, 0)
  1744. weld4.C1 = CFrame.new(-.8, .7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40))
  1745. ----------------------------------------------------
  1746. local m4 = Instance.new("Model")
  1747. m4.Name = "Match"
  1748. p1 = Instance.new("Part", m4)
  1749. p1.CanCollide = false
  1750. p1.Transparency = 1
  1751. p1.BrickColor = BrickColor.new("Brown")
  1752. p1.Material = "Marble"
  1753. p1.Name = "Match"
  1754. p1.Size = Vector3.new(1, 2.4, 1)
  1755. p1.CFrame = CFrame.new(-8.20000362, 1.18600059, -10.0000038, 1.00000048, -0.00011438923, 0.000152289867, 0.000114176073, 0.999999344, 0.00107795233, -0.000152289867, -0.00107795768, 0.999999762)
  1756. b1 = Instance.new("BlockMesh", p1)
  1757. b1.Name = "Mesh"
  1758. b1.Scale = Vector3.new(0.14, 1, 0.14)
  1759. p2 = Instance.new("Part", m4)
  1760. p2.CanCollide = false
  1761. p2.Transparency = 1
  1762. p2.BrickColor = BrickColor.new("Really black")
  1763. p2.Shape = "Ball"
  1764. p2.Material = "Sand"
  1765. p2.Name = "MatchHead"
  1766. p2.Size = Vector3.new(1, 1, 1)
  1767. p2.CFrame = CFrame.new(-8.20000267, 2.48600006, -10.0000038, 1.00000048, -0.000109304514, -3.49245965e-009, 0.000109255525, 0.999999404, 0.00103000901, 1.41153578e-008, -0.00103003171, 0.999999821)
  1768. b2 = Instance.new("SpecialMesh", p2)
  1769. b2.MeshType = "Sphere"
  1770. b2.Name = "Mesh"
  1771. b2.Scale = Vector3.new(0.3, 0.6, 0.3)
  1772. x1 = Instance.new("Fire",p2)
  1773. x1.Heat = 4
  1774. x1.Size = 2
  1775. x1.Enabled = false
  1776. x1.Color = Color3.new(236, 139, 70)
  1777. x1.SecondaryColor = Color3.new(0, 0, 0)
  1778. w1 = Instance.new("Weld", p2)
  1779. w1.Part0 = p1
  1780. w1.C0 = CFrame.new(8.19834042, -1.19771659, 9.99996376, 1, 0.00011420052, -0.000152360211, -0.000114364695, 0.999999404, -0.00107794593, 0.000152237015, 0.00107796339, 0.999999404)
  1781. w1.Part1 = p2
  1782. w1.C1 = CFrame.new(8.19972706, -2.49719477, 9.99743366, 1, 0.000109279979, -5.62802924e-008, -0.000109279979, 0.999999464, -0.00103001995, -5.62802924e-008, 0.00103001995, 0.999999464)
  1783. m4.Parent = rarm
  1784. m4:MakeJoints()
  1785. ----------------------------------------------------
  1786. weld5 = Instance.new("Weld", p1)
  1787. weld5.Part0 = p1
  1788. weld5.Part1 = rarm
  1789. weld5.C0 = CFrame.new(0, 0, 0)
  1790. weld5.C1 = CFrame.new(.2, -.8, .3) * CFrame.Angles(math.rad(-150), math.rad(0), math.rad(0))
  1791. ----------------------------------------------------
  1792. function Burn()
  1793. local bk=torso.Bong["Devil's Lettuce"].Mesh
  1794. bk.VertexColor=Vector3.new(0,0,0)
  1795. local pl=Instance.new("PointLight",bk.Parent)
  1796. pl.Brightness=0 pl.Color=Color3.new(1,0,0)
  1797. for i=1,50 do wait()bk.VertexColor=bk.VertexColor+Vector3.new(.05,0,0)pl.Brightness=pl.Brightness+0.05 end
  1798. for i=1,50 do wait()bk.VertexColor=bk.VertexColor-Vector3.new(.05,0,0)pl.Brightness=pl.Brightness-0.05 end
  1799. pl:Remove()
  1800. end
  1801. ----------------------------------------------------
  1802. function Burn2()
  1803. local bk=larm.Pipe.Ganja.Mesh
  1804. bk.VertexColor=Vector3.new(0,0,0)
  1805. local pl=Instance.new("PointLight",bk.Parent)
  1806. pl.Brightness=0 pl.Color=Color3.new(1,0,0)
  1807. for i=1,50 do wait()bk.VertexColor=bk.VertexColor+Vector3.new(.05,0,0)pl.Brightness=pl.Brightness+0.05 end
  1808. for i=1,50 do wait()bk.VertexColor=bk.VertexColor-Vector3.new(.05,0,0)pl.Brightness=pl.Brightness-0.05 end
  1809. pl:Remove()
  1810. end
  1811. ----------------------------------------------------
  1812. function Burn3()
  1813. local brn=larm.Blunt.Joint1
  1814. brn.BrickColor = BrickColor.new("Dusty rose")
  1815. wait(.5)
  1816. brn.BrickColor = BrickColor.new("Bright red")
  1817. wait(.5)
  1818. brn.BrickColor = BrickColor.new("Really red")
  1819. wait(1)
  1820. brn.BrickColor = BrickColor.new("Black")
  1821. wait(.5)
  1822. brn.BrickColor = BrickColor.new("Really black")
  1823. wait(1)
  1824. brn.BrickColor = BrickColor.new("White")
  1825. end
  1826. ----------------------------------------------------
  1827. function Match1()
  1828.         for i = 1, 10 do wait()
  1829.                 for i,v in pairs(m4:GetChildren()) do
  1830.                         if v:IsA("Part") then
  1831.                                 v.Transparency = v.Transparency - 0.1
  1832.                         end
  1833.                 end
  1834.         end
  1835.         x1.Enabled = true
  1836. end
  1837. ----------------------------------------------------
  1838. function Match2()
  1839.         for i = 1, 10 do wait()
  1840.                 for i,v in pairs(m4:GetChildren()) do
  1841.                         if v:IsA("Part") then
  1842.                                 v.Transparency = v.Transparency + 0.1
  1843.                         end
  1844.                 end
  1845.         end
  1846.         x1.Enabled = false
  1847. end
  1848. ----------------------------------------------------
  1849. print("snoop dawg motherfiker")--Dun change plox
  1850. ----------------------------------------------------
  1851. function Snoop()
  1852. pits = {0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1}
  1853.  
  1854. if math.random(1,3) == 1 then
  1855. cgh = Instance.new("Sound",hed)
  1856. cgh.SoundId = "rbxassetid://186581757"
  1857. cgh.Pitch = pits[math.random(1,#pits)]
  1858. cgh.Volume = 1
  1859. wait(.1)
  1860. cgh:Play()
  1861. end
  1862.  
  1863. frogSequence = {177231086,177235819,177231110,177231125,177235637,177231141,177231148,177231162,177231174,177231186}
  1864. snoopSequence = {175425918,175425940,175425986,175426013,175426270,175426298,175426373,175426397,175426407,175426432,175426443,175426561,175426586,175426607,175426620,175426638,175426653,175426666,175426691,175426764,175426777,175426972,175426988,175426999,175427017,175427038,175427054,175427092,175427110,175427137,175427148,175427177}
  1865.  
  1866. fatboysraidmcdonalds = {
  1867.         SelectFromTable = function(tab)
  1868.                 if #tab == 0 then
  1869.                         return nil
  1870.                 else
  1871.                         return tab[math.random(1,#tab)]
  1872.                 end
  1873.         end,
  1874.         ["Clamp"] = function(n,a,b)
  1875.                 n = tonumber(n or 0) or 0
  1876.                 a = tonumber(a or -math.huge) or -math.huge
  1877.                 b = tonumber(b or math.huge) or math.huge
  1878.                 if a > b then
  1879.                         a,b = b,a
  1880.                 end
  1881.                 return math.max(a,math.min(b,n))
  1882.         end,
  1883.         ["Slerp"] = function(val)
  1884.                 val = fatboysraidmcdonalds.Clamp(val,0,1)
  1885.                 local input = math.pi/2 + (val*math.pi);
  1886.                 local sine = math.sin(input);
  1887.                 local scale = -sine/2;
  1888.                 return 0.5 + scale;
  1889.         end,
  1890.         ["Bounce"] = function(val)
  1891.                 val = val%2
  1892.                 if val <= 1 then
  1893.                         return val
  1894.                 else
  1895.                         return 2 - val
  1896.                 end
  1897.         end,
  1898.         ["Camera"] = {
  1899.                 ["Smooth"] = function(t)
  1900.                         local start = tick()
  1901.                         local now = start
  1902.                         local targ = start + t
  1903.                         local Diff = now - start
  1904.                         local cam = Workspace.CurrentCamera
  1905.                         local orig = cam.FieldOfView
  1906.                         local diff,distance,offset
  1907.                         if orig >= 70 then
  1908.                                 distance = 50
  1909.                                 offset = orig - 70
  1910.                                 diff = offset/distance
  1911.                         else
  1912.                                 distance = 120 - orig
  1913.                                 offset = 0
  1914.                                 diff = 0
  1915.                         end
  1916.                         local speed = 0.5 + (math.random()*1.5)
  1917.                         while now <= targ do
  1918.                                 cam.FieldOfView = orig + (fatboysraidmcdonalds.Slerp(fatboysraidmcdonalds.Bounce(diff + (Diff*speed))) * distance)
  1919.                                 wait()
  1920.                                 now = tick()
  1921.                                 Diff = now - start
  1922.                         end
  1923.                         cam.FieldOfView = orig
  1924.                         return Diff
  1925.                 end,
  1926.                 ["Headache"] = function(t)
  1927.                         local now = tick()
  1928.                         local targ = tick() + t
  1929.                         local cam = Workspace.CurrentCamera
  1930.                         local fixes = {
  1931.                                 ["FieldOfView"] = cam.FieldOfView,
  1932.                                 ["TiltUnits"] = 0,
  1933.                         }
  1934.                         while now <= targ do
  1935.                                 local fov = 60 + math.random()*60
  1936.                                 local pan = -8 + (math.random()*16)
  1937.                                 local tilt = -9 + (math.random()*18)
  1938.                                 local roll = (-math.pi/2) + (math.random()*(math.pi*4))
  1939.                                 fixes.TiltUnits = fixes.TiltUnits + tilt
  1940.                                 cam.FieldOfView = fov
  1941.                                 cam:TiltUnits(tilt)
  1942.                                 wait()
  1943.                                 now = tick()
  1944.                         end
  1945.                         cam.FieldOfView = fixes.FieldOfView
  1946.                         cam:TiltUnits(-fixes.TiltUnits)
  1947.                         return t + (now - targ)
  1948.                 end
  1949.         },
  1950.         ["Control"] = function(t,switch)
  1951.                 switch = switch == nil and true or switch
  1952.                 local phase = math.min((tonumber(t or 10) or 10),math.random() + (switch and 2 or 0))
  1953.                 local pick
  1954.                 if switch then
  1955.                         pick = fatboysraidmcdonalds.Camera.Smooth
  1956.                 else
  1957.                         pick = {}
  1958.                         for i,v in pairs(fatboysraidmcdonalds.Camera) do
  1959.                                 if i ~= "Smooth" then
  1960.                                         table.insert(pick,v)
  1961.                                 end
  1962.                         end
  1963.                         pick = fatboysraidmcdonalds.SelectFromTable(pick)
  1964.                 end
  1965.                 local offset = pick(phase)
  1966.                 t = t - offset
  1967.                 if t >= 1 then
  1968.                         fatboysraidmcdonalds.Control(t,not switch)
  1969.                 elseif t > 0 then
  1970.                         fatboysraidmcdonalds.Control(t,false)
  1971.                 end
  1972.         end,
  1973.         ["Snoop"] = function(t)
  1974.                 local snoopy = Instance.new("Part")
  1975.                 snoopy.Anchored = true
  1976.                 snoopy.Locked = true
  1977.                 snoopy.CanCollide = false
  1978.                 snoopy.FormFactor = "Custom"
  1979.                 snoopy.Transparency = 1
  1980.                 snoopy.Size = Vector3.new(2,2,1)
  1981.                 local lol = Instance.new("BillboardGui")
  1982.                 lol.Name = "anim"
  1983.                 lol.Adornee = lol.Parent
  1984.                 lol.AlwaysOnTop = false
  1985.                 lol.Size = UDim2.new(1.5,0,1.5,0)
  1986.                 lol.SizeOffset = Vector2.new(-0.5,-0.5)
  1987.                 lol.Parent = snoopy
  1988.                 local cam = Workspace.CurrentCamera
  1989.                 local function Pos(p)
  1990.                         return p + cam.Focus.p
  1991.                 end
  1992.                 local function newSnoop(tiem)
  1993.                         Spawn(function()
  1994.                                 local new = snoopy:Clone()
  1995.                                 local anim = new:WaitForChild("anim")
  1996.                                 animGui(anim,snoopSequence,0.05)
  1997.                                 local tack = tick()
  1998.                                 local start = tack
  1999.                                 local wow = tack*(((math.random()*2)-1)*57)
  2000.                                 local s,c,r = math.sin(wow)*math.random(200,225)*0.01,math.cos(wow)*math.random(175,200)*0.01,-1 + (math.random()*2)
  2001.                                 local dist = 10
  2002.                                 local xp,yp,zp = dist*-s,dist*-r,dist*-c
  2003.                                 local xe,ye,ze = dist*s,dist*r,dist*c
  2004.                                 local pos,targ = Vector3.new(xp,yp,zp),Vector3.new(xe,ye,ze)
  2005.                                 new.CFrame = Pos(CFrame.new(pos))
  2006.                                 new.Parent = cam
  2007.                                 tiem = tack + tiem
  2008.                                 while tack <= tiem do
  2009.                                         local diff = fatboysraidmcdonalds.Clamp((tack-start)/(tiem-start),0,1)
  2010.                                         new.CFrame = Pos(CFrame.new(pos + ((targ-pos)*diff)))
  2011.                                         wait()
  2012.                                         tack = tick()
  2013.                                 end
  2014.                                 new.CFrame = Pos(CFrame.new(targ))
  2015.                                 new:destroy()
  2016.                         end)
  2017.                 end
  2018.                 local now = tick()
  2019.                 local targ = now + t
  2020.                 while now <= targ do
  2021.                         local diff = targ - now
  2022.                         newSnoop(math.min(diff,0.75 + math.random()*0.5))
  2023.                         wait()
  2024.                         now = tick()
  2025.                 end
  2026.         end,
  2027.         ["Illuminati"] = function(t,frame)
  2028.                 local decal = 160377740
  2029.                 local audio = 168907893
  2030.                 local img = Instance.new("ImageLabel",frame)
  2031.                 img.BackgroundTransparency = 1
  2032.                 img.BorderSizePixel = 0
  2033.                 img.ImageTransparency = 0.5
  2034.                 img.ZIndex = 10
  2035.                 img.Size = UDim2.new(0.1,0,0.1,0)
  2036.                 img.Position = UDim2.new(0.45,0,0.45,0)
  2037.                 img.Image = "http://www.roblox.com/asset/?id="..tostring(decal)
  2038.                 local sound = Instance.new("Sound",img)                
  2039.                 sound.Volume = 0.75
  2040.                 sound.Looped = true
  2041.                 sound.PlayOnRemove = false
  2042.                 sound.SoundId = "http://www.roblox.com/asset/?id="..tostring(audio)
  2043.                 sound:Play()
  2044.                 img:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0),"Out","Linear",t+1.5)
  2045.                 img.Changed:connect(function(p)
  2046.                         if p ~= "ImageTransparency" then
  2047.                                 local x = img.Size.X.Scale
  2048.                                 img.ImageTransparency = 1 - x
  2049.                                 sound.Volume = x
  2050.                         end
  2051.                 end)
  2052.         end
  2053. }
  2054.  
  2055. function animGui(lol,sequence,speed)
  2056.         local img = Instance.new("ImageLabel",lol)
  2057.         img.BackgroundTransparency = 1
  2058.         img.BorderSizePixel = 0
  2059.         img.Size = UDim2.new(2.25,0,5,0)
  2060.         img.Position = UDim2.new(0,0,-2.5,0)
  2061.         Spawn(function()
  2062.                 local now = tick()
  2063.                 while img:IsDescendantOf(game) do
  2064.                         img.Image = "http://www.roblox.com/asset/?id="..tostring(sequence[(math.floor((tick()-now)/speed)%#sequence)+1]-1)
  2065.                         wait()
  2066.                 end
  2067.         end)
  2068.         return img
  2069. end
  2070.  
  2071. function Rainbow(h)
  2072.         local h,s,v = h%1,1,1
  2073.         local r, g, b
  2074.        
  2075.         local i = math.floor(h * 6);
  2076.         local f = h * 6 - i;
  2077.         local p = v * (1 - s);
  2078.         local q = v * (1 - f * s);
  2079.         local t = v * (1 - (1 - f) * s);
  2080.        
  2081.         i = i % 6
  2082.        
  2083.         if i == 0 then r, g, b = v, t, p
  2084.         elseif i == 1 then r, g, b = q, v, p
  2085.         elseif i == 2 then r, g, b = p, v, t
  2086.         elseif i == 3 then r, g, b = p, q, v
  2087.         elseif i == 4 then r, g, b = t, p, v
  2088.         elseif i == 5 then r, g, b = v, p, q
  2089.         end
  2090.        
  2091.         return r, g, b
  2092. end
  2093.  
  2094. local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  2095. gui.Name = "SnoopyMcSnooperson"
  2096. local frame = Instance.new("Frame",gui)
  2097. frame.Size = UDim2.new(1,0,1,0)
  2098. frame.BackgroundTransparency = 1
  2099. local snoop = animGui(frame,snoopSequence,0.05)
  2100. snoop.Size = UDim2.new(0.25,0,0.50,0)
  2101. snoop.Position = UDim2.new(-0.25,0,0.25,0)
  2102. frog = animGui(frame,frogSequence,0.05)
  2103. frog.Size = UDim2.new(0.25,0,0.50,0)
  2104. frog.Position = UDim2.new(1,0,0.25,0)
  2105.  
  2106. trollLabels = {snoopSequence,frogSequence,"Can I have a large pizza with please, cheese?","thomas the weed engine","get out of my face","ur gone and i gutta stay hi111","a duble rainbow... wut dos it men??22/?/","im so high bro","im so high bruh","whoa im tripin balz man","get out of my face","ellomenartiy","WORK 8 HOURS\nPLAY 8 HOURS\nSLEEP 8 HOURS","fite the powur bruh","fite the man11","usa females are payed 20 cents less bru its unfair","why am i doing this to myself","the woods are my home man","run free little bro","teach me ur ways, snoopie-san kawabi","how much for a bong","i luv this bong man","oh yeah its right in my bronchioles man","is this real life??","this is a robbery","this is why my mom doesnt like me"}
  2107. snoop:TweenPosition(UDim2.new(0,0,0.25,0), "Out", "Sine", 1, true)
  2108. frog:TweenPosition(UDim2.new(0.75,0,0.25,0), "Out","Sine", 1, true)
  2109. Spawn(function()
  2110.         local start = tick()
  2111.         local last = start
  2112.         local ending = false
  2113.         local tiem = 10
  2114.         Spawn(function()
  2115.                 fatboysraidmcdonalds.Control(tiem)
  2116.         end)
  2117.         Spawn(function()
  2118.                 fatboysraidmcdonalds.Snoop(tiem)
  2119.         end)
  2120.         Spawn(function()
  2121.                 fatboysraidmcdonalds.Illuminati(tiem,frame)
  2122.         end)
  2123.         while true do
  2124.                 local tack = tick()
  2125.                 local now = tack-start
  2126.                 frog.Rotation = now*360
  2127.                 if now <= tiem then
  2128.                         local k = math.min(now/2,0.5)
  2129.                         frame.BackgroundTransparency = 1 - k
  2130.                         if tack - last >= 0.25 then
  2131.                                 for i = 1,3 do
  2132.                                         local wow = tack*(((math.random()*2)-1)*57)
  2133.                                         local s,c = math.sin(wow)*math.random(200,225)*0.01,math.cos(wow)*math.random(175,200)*0.01
  2134.                                         local dist = 0.5
  2135.                                         local xp,yp = dist+(dist*s),dist+(dist*c)
  2136.                                         local xe,ye = dist-(dist*s),dist-(dist*c)
  2137.                                         local funk
  2138.                                         if i == 1 then
  2139.                                                 funk = trollLabels[math.random(1,2)]
  2140.                                         else
  2141.                                                 funk = trollLabels[math.random(3,#trollLabels)]
  2142.                                         end
  2143.                                         local ngui
  2144.                                         local size = math.random()*0.25
  2145.                                         if funk == snoopSequence then
  2146.                                                 ngui = animGui(frame,funk,0.05)
  2147.                                                 ngui.Size = UDim2.new(size,0,size*2,0)
  2148.                                                 ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1
  2149.                                         elseif funk == frogSequence then
  2150.                                                 ngui = animGui(frame,funk,0.05)
  2151.                                                 ngui.Size = UDim2.new(size,0,size,0)
  2152.                                                 ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1
  2153.                                         else
  2154.                                                 ngui = Instance.new("TextLabel",frame)
  2155.                                                 local bt = frame.BackgroundTransparency
  2156.                                                 ngui.TextTransparency = (bt-0.5)/0.5
  2157.                                                 ngui.TextStrokeTransparency = bt
  2158.                                                 ngui.BackgroundTransparency = 1
  2159.                                                 ngui.TextColor3 = Color3.new(math.random(),math.random(),math.random())
  2160.                                                 ngui.Font = "ArialBold"
  2161.                                                 ngui.Text = funk
  2162.                                                 ngui.Size = UDim2.new(size*0.5,0,size*0.5,0)
  2163.                                                 ngui.TextScaled = true
  2164.                                                 ngui.TextWrapped = false
  2165.                                                 ngui.FontSize = "Size48"
  2166.                                         end
  2167.                                         ngui.Position = UDim2.new(xp,0,yp,0)
  2168.                                         ngui:TweenPosition(UDim2.new(xe,0,ye,0), "Out", "Linear", math.random(35,80)*0.035*i, true,function()
  2169.                                                 ngui:destroy()
  2170.                                         end)
  2171.                                         if i == 1 then
  2172.                                                 local sp = 500*(1-(math.random()*2))
  2173.                                                 ngui.Changed:connect(function(prop)
  2174.                                                         if prop ~= "Rotation" and prop ~= "ImageTransparency" then
  2175.                                                                 ngui.Rotation = (tick()-tack)*sp
  2176.                                                                 ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1
  2177.                                                         end
  2178.                                                 end)
  2179.                                         else
  2180.                                                 ngui.Changed:connect(function(prop)
  2181.                                                         if prop ~= "TextTransparency" and prop ~= "TextStrokeTransparency" then
  2182.                                                                 local bt = frame.BackgroundTransparency
  2183.                                                                 ngui.TextTransparency = (bt-0.5)/0.5
  2184.                                                                 ngui.TextStrokeTransparency = bt
  2185.                                                         end
  2186.                                                 end)
  2187.                                         end
  2188.                                 end
  2189.                                 last = tack
  2190.                         end
  2191.                 else
  2192.                         if not ending then
  2193.                                 ending = true
  2194.                                 snoop:TweenPosition(UDim2.new(-0.25,0,0.25,0), "Out", "Sine", math.max((tiem+1)-now,0), true)
  2195.                                 frog:TweenPosition(UDim2.new(1,0,0.25,0), "Out", "Sine", math.max((tiem+1)-now,0), true)
  2196.                         end
  2197.                         local nao = math.max(((tiem+1)-now)*0.3,0)
  2198.                         frame.BackgroundTransparency = 1 - nao
  2199.                         if nao == 0 then
  2200.                                 gui:destroy()
  2201.                                 return
  2202.                         end
  2203.                 end
  2204.                 frame.BackgroundColor3 = Color3.new(Rainbow(now))
  2205.                 wait()
  2206.         end
  2207. end)
  2208. end
  2209. ----------------------------------------------------
  2210. local Using="Bong"
  2211. local tools={m,m2,m3}
  2212. function tolFad(nam)
  2213.         local tol=nil
  2214.         for _,v in pairs(tools) do
  2215.                 if Using=="Bong" then
  2216.                         tol=m
  2217.                 elseif Using=="Blunt" then
  2218.                         tol=m2
  2219.                 elseif Using=="Pipe" then
  2220.                         tol=m3
  2221.                 end
  2222.                 if v~=tol then
  2223.                         for _,c in pairs(v:GetChildren()) do
  2224.                                 if c:IsA("Part") then
  2225.                                         c.Transparency=1
  2226.                                 end
  2227.                         end
  2228.                 else
  2229.                         for _,c in pairs(v:GetChildren()) do
  2230.                                 if c:IsA("Part") and c.Name ~= "Bong" and c.Name ~= "Tube" then
  2231.                                         c.Transparency = 0
  2232.                                 elseif c:IsA("Part") and c.Name == "Bong" or c.Name == "Tube" then
  2233.                                         c.Transparency = 0.2
  2234.                                 end
  2235.                         end
  2236.                 end
  2237.         end
  2238. end
  2239. --[[if Debounces.Bong == true then
  2240.         Debounces.Pipe = false
  2241.         Debounces.Blunt = false
  2242.         for i = 1, 10 do wait()
  2243.                 for i,v in pairs(torso.Bong:GetChildren()) do
  2244.                         if v:IsA("Part") and v.Transparency <= 1 then
  2245.                                 v.Transparency = v.Transparency - 0.1
  2246.                         end
  2247.                 end
  2248.         end
  2249.         for i = 1, 10 do wait()
  2250.                 for q,e in pairs(rarm.Pipe:GetChildren()) do
  2251.                         if e:IsA("Part") and e.Transparency >= 0 then
  2252.                                 e.Transparency = e.Transparency + 0.1
  2253.                         elseif e:IsA("Part") and e.Transparency == 1 then wait()
  2254.                         end
  2255.                 end
  2256.         end
  2257.         for i = 1, 10 do wait()
  2258.                 for a,d in pairs(rarm.Blunt:GetChildren()) do
  2259.                         if d:IsA("Part") and d.Transparency >= 0 then
  2260.                                 d.Transparency = d.Transparency + 0.1
  2261.                         elseif d:IsA("Part") and d.Transparency == 1 then wait()
  2262.                         end
  2263.                 end
  2264.         end
  2265. elseif Debounces.Pipe == true then
  2266.         Debounces.Bong = false
  2267.         Debounces.Blunt = false
  2268.         for i = 1, 10 do wait()
  2269.                 for i,v in pairs(torso.Bong:GetChildren()) do
  2270.                         if v:IsA("Part") and v.Transparency >= 0 then
  2271.                                 v.Transparency = v.Transparency + 0.1
  2272.                         elseif v:IsA("Part") and v.Transparency == 1 then wait()
  2273.                         end
  2274.                 end
  2275.         end
  2276.         for i = 1, 10 do wait()
  2277.                 for q,e in pairs(rarm.Pipe:GetChildren()) do
  2278.                         if e:IsA("Part") and e.Transparency <= 1 then
  2279.                                 e.Transparency = e.Transparency - 0.1
  2280.                         end
  2281.                 end
  2282.         end
  2283.         for i = 1, 10 do wait()
  2284.                 for a,d in pairs(rarm.Blunt:GetChildren()) do
  2285.                         if d:IsA("Part") and d.Transparency >= 0 then
  2286.                                 d.Transparency = d.Transparency + 0.1
  2287.                         elseif d:IsA("Part") and d.Transparency == 1 then wait()
  2288.                         end
  2289.                 end
  2290.         end
  2291. elseif Debounces.Blunt == true then
  2292.         Debounces.Bong = false
  2293.         Debounces.Pipe = false
  2294.         for i = 1, 10 do wait()
  2295.                 for i,v in pairs(torso.Bong:GetChildren()) do
  2296.                         if v:IsA("Part") and v.Transparency >= 0 then
  2297.                                 v.Transparency = v.Transparency + 0.1
  2298.                         elseif v:IsA("Part") and v.Transparency == 1 then wait()
  2299.                         end
  2300.                 end
  2301.         end
  2302.         for i = 1, 10 do wait()
  2303.                 for q,e in pairs(rarm.Pipe:GetChildren()) do
  2304.                         if e:IsA("Part") and e.Transparency >= 0 then
  2305.                                 e.Transparency = e.Transparency + 0.1
  2306.                         elseif e:IsA("Part") and e.Transparency == 1 then wait()
  2307.                         end
  2308.                 end
  2309.         end
  2310.         for i = 1, 10 do wait()
  2311.                 for a,d in pairs(rarm.Blunt:GetChildren()) do
  2312.                         if d:IsA("Part") and d.Transparency <= 1 then
  2313.                                 d.Transparency = d.Transparency - 0.1
  2314.                         end
  2315.                 end
  2316.         end
  2317. end]]--
  2318. ----------------------------------------------------
  2319. mouse.KeyDown:connect(function(key)
  2320.         if key == "q" then
  2321.                 if Debounces.CanPuff == true then
  2322.                         Using = "Bong"
  2323.                         stanceToggle = "Bong"
  2324.                         tolFad(Using)
  2325.                 end
  2326.         end
  2327. end)
  2328. mouse.KeyDown:connect(function(key)
  2329.         if key == "e" then
  2330.                 if Debounces.CanPuff == true then
  2331.                         Using = "Pipe"
  2332.                         stanceToggle = "Pipe"
  2333.                         tolFad(Using)
  2334.                 end
  2335.         end
  2336. end)
  2337. mouse.KeyDown:connect(function(key)
  2338.         if key == "r" then
  2339.                 if Debounces.CanPuff == true then
  2340.                         Using = "Blunt"
  2341.                         stanceToggle = "Blunt"
  2342.                         tolFad(Using)
  2343.                 end
  2344.         end
  2345. end)
  2346. ----------------------------------------------------
  2347. mt = {8, 8.4, 8.8, 9, 9.4}
  2348. mouse.KeyDown:connect(function(key)
  2349.         if key == "h" then
  2350.         if Debounces.CanJoke == true then
  2351.         Debounces.CanJoke = false
  2352.         z = Instance.new("Sound",hed)
  2353.         z.SoundId = "http://www.roblox.com/asset/?id=238500679"
  2354.         z.Looped = false
  2355.         z.Pitch = mt[math.random(1,#mt)]
  2356.         z.Volume = 1
  2357.         z2 = Instance.new("Sound",hed)
  2358.         z2.SoundId = "http://www.roblox.com/asset/?id=238500679"
  2359.         z2.Looped = false
  2360.         z2.Pitch = s.Pitch
  2361.         z2.Volume = 1
  2362.         z3 = Instance.new("Sound",hed)
  2363.         z3.SoundId = "http://www.roblox.com/asset/?id=238500679"
  2364.         z3.Looped = false
  2365.         z3.Pitch = s.Pitch
  2366.         z3.Volume = 1
  2367.         z4 = Instance.new("Sound",hed)
  2368.         z4.SoundId = "http://www.roblox.com/asset/?id=238500679"
  2369.         z4.Looped = false
  2370.         z4.Pitch = s.Pitch
  2371.         z4.Volume = 1
  2372.         z:Play()
  2373.         z2:Play()
  2374.         z3:Play()
  2375.         z4:Play()
  2376.         wait(1)
  2377.         z:Destroy()
  2378.         z2:Destroy()
  2379.         z3:Destroy()
  2380.         z4:Destroy()
  2381.         if Debounces.CanJoke == false then
  2382.         Debounces.CanJoke = true
  2383. end
  2384. end
  2385. end
  2386. end)
  2387. ----------------------------------------------------
  2388. mouse.Button1Down:connect(function(hoot)
  2389.         if Debounces.CanPuff == true and Using == "Bong" then
  2390.                 Debounces.CanPuff = false
  2391.                 Debounces.NoIdl = true
  2392.                 Debounces.on = true
  2393.                 for i = 1,20 do
  2394.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.55,-1.4)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-40)), 0.2)
  2395.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2)
  2396.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-50), 0, 0), 0.4)
  2397.                         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2398.                         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2399.                         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2400.                         weld2.C0 = Lerp(weld2.C0, CFrame.new(0, -.5, -1.4), 0.4)
  2401.                         weld2.C1 = Lerp(weld2.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30),0,0), 0.4)
  2402.                         if Debounces.on == false then break end
  2403.                         wait()
  2404.                 end
  2405.         Match1()
  2406. z = Instance.new("Sound",hed)
  2407. z.SoundId = "rbxassetid://174628230"
  2408. z.Looped = true
  2409. z.Pitch = 2
  2410. z.Volume = 1
  2411. z1 = Instance.new("Sound",hed)
  2412. z1.SoundId = "rbxassetid://174628230"
  2413. z1.Looped = true
  2414. z1.Pitch = 2
  2415. z1.Volume = 1
  2416. wait(1)
  2417. z:Play()
  2418. z1:Play()
  2419. Burn()
  2420. wait(2.4)
  2421. for i = 1,10 do
  2422.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2423.         if Debounces.on == false then break end
  2424.         wait()
  2425. end
  2426. Match2()
  2427. wait(2.6)
  2428.                 z:Stop()
  2429.                 z1:Stop()
  2430.                 for i = 1,20 do
  2431.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2432.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2)
  2433.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(40), 0, 0), 0.4)
  2434.                         weld2.C0 = Lerp(weld2.C0, CFrame.new(0, -.5, -1.5), 0.4)
  2435.                         weld2.C1 = Lerp(weld2.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2436.                         if Debounces.on == false then break end
  2437.                         wait()
  2438.                 end
  2439.         s.Enabled = true
  2440.         wait(5)
  2441.         s.Enabled = false
  2442.                 Snoop()
  2443.                 if Debounces.CanPuff == false then
  2444.                 Debounces.CanPuff = true
  2445.                 Debounces.NoIdl = false
  2446.                 Debounces.on = true
  2447.                 end
  2448.         end
  2449. end)
  2450. ----------------------------------------------------
  2451. mouse.Button1Down:connect(function(hoot)
  2452.         if Debounces.CanPuff == true and Using == "Pipe" then
  2453.                 Debounces.CanPuff = false
  2454.                 Debounces.NoIdl = true
  2455.                 Debounces.on = true
  2456.                 Match1()
  2457.                 for i = 1,20 do
  2458.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.65,-.3)*CFrame.Angles(math.rad(115),math.rad(-10),math.rad(-30)), 0.2)
  2459.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.45)*CFrame.Angles(math.rad(110),math.rad(10),math.rad(45)), 0.2)
  2460.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-10), 0, 0), 0.4)
  2461.                         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2462.                         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2)
  2463.                         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2)
  2464.                         if Debounces.on == false then break end
  2465.                         wait()
  2466.                 end
  2467.             Burn2()
  2468.                 wait(2.4)
  2469.                 for i = 1,10 do
  2470.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.4)
  2471.                         if Debounces.on == false then break end
  2472.                         wait()
  2473.                 end
  2474.                 Match2()
  2475.                 wait(2.6)
  2476.                 for i = 1,20 do
  2477.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.4)
  2478.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.3)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(20)), 0.6)
  2479.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(30), 0, 0), 0.4)
  2480.                         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2481.                         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2)
  2482.                         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2)
  2483.                         if Debounces.on == false then break end
  2484.                         wait()
  2485.                 end
  2486.                 s.Enabled = true
  2487.                 wait(5)
  2488.                 s.Enabled = false
  2489.                 Snoop()
  2490.                 if Debounces.CanPuff == false then
  2491.                 Debounces.CanPuff = true
  2492.                 Debounces.NoIdl = false
  2493.                 Debounces.on = true
  2494.                 end
  2495.         end
  2496. end)
  2497. ----------------------------------------------------
  2498. mouse.Button1Down:connect(function(hoot)
  2499.         if Debounces.CanPuff == true and Using == "Blunt" then
  2500.                 Debounces.CanPuff = false
  2501.                 Debounces.NoIdl = true
  2502.                 Debounces.on = true
  2503.                 for i = 1,20 do
  2504.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)
  2505.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.45)*CFrame.Angles(math.rad(115),math.rad(10),math.rad(40)), 0.2)
  2506.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-15), 0, 0), 0.4)
  2507.                         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2508.                         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2)
  2509.                         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2)
  2510.                         if Debounces.on == false then break end
  2511.                         wait()
  2512.                 end
  2513.                 wait(0.5)
  2514.                 Burn3()
  2515.                 wait()
  2516.                 for i = 1,20 do
  2517.                         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)
  2518.                         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.3)*CFrame.Angles(math.rad(115),math.rad(0),math.rad(-20)), 0.6)
  2519.                         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(30), 0, 0), 0.4)
  2520.                         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2521.                         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2)
  2522.                         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2)
  2523.                         if Debounces.on == false then break end
  2524.                         wait()
  2525.                 end
  2526.                 s.Enabled = true
  2527.                 wait(5)
  2528.                 s.Enabled = false
  2529.                 Snoop()
  2530.                 if Debounces.CanPuff == false then
  2531.                 Debounces.CanPuff = true
  2532.                 Debounces.NoIdl = false
  2533.                 Debounces.on = true
  2534.                 end
  2535.         end
  2536. end)
  2537. ----------------------------------------------------
  2538. local animpose = "Idle"
  2539. local lastanimpose = "Idle"
  2540. local sine = 0
  2541. local change = 1
  2542. local val = 0
  2543. local ffing = false
  2544. -------------------------------
  2545. game:GetService("RunService").RenderStepped:connect(function()
  2546. --[[if char.Humanoid.Jump == true then
  2547. jump = true
  2548. else
  2549. jump = false
  2550. end]]
  2551. char.Humanoid.FreeFalling:connect(function(f)
  2552. if f then
  2553. ffing = true
  2554. else
  2555. ffing = false
  2556. end
  2557. end)
  2558. sine = sine + change
  2559. if jumpn == true then
  2560. animpose = "Jumping"
  2561. elseif ffing == true then
  2562. animpose = "Freefalling"
  2563. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2564. animpose = "Idle"
  2565. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2566. animpose = "Walking"
  2567. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2568. animpose = "Running"
  2569. end
  2570. if animpose ~= lastanimpose then
  2571. sine = 0
  2572. if Debounces.NoIdl == false then
  2573. for i = 1, 2 do
  2574. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2575. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2)
  2576. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2577. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2578. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2579. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2580. wait()
  2581. end
  2582. else
  2583. end
  2584. end
  2585. lastanimpose = animpose
  2586. if Debounces.NoIdl == false then
  2587. if animpose == "Idle" then
  2588. if stanceToggle == "Bong" then
  2589. change = 0.5
  2590. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2591. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2)
  2592. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2593. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2594. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2595. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2596. elseif stanceToggle == "Pipe" then
  2597. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  2598. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2599. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2600. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2601. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2602. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2603. elseif stanceToggle == "Blunt" then
  2604. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)
  2605. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-14)), 0.2)
  2606. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2607. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2608. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2609. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2610. end
  2611. elseif animpose == "Walking" then
  2612. if stanceToggle == "Bong" then
  2613. change = 1
  2614. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2615. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2)
  2616. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2)
  2617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  2618. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  2619. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  2620. elseif stanceToggle == "Pipe" then
  2621. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
  2622. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2)
  2623. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2)
  2624. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  2625. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  2626. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  2627. elseif stanceToggle == "Blunt" then
  2628. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/3))), 0.2)
  2629. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/3))), 0.2)
  2630. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2)
  2631. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  2632. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  2633. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  2634. end
  2635. end
  2636. end
  2637. end)
  2638. end)
  2639. ----------------------------------Rainbow name-----------------------------------
  2640. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton3.MouseButton1Down:connect(function()
  2641.     p = game.Players.LocalPlayer p.Neutral = false while wait() do p.TeamColor = BrickColor.Random()
  2642.     end
  2643. end)
  2644. ----------------------------------------------Blade-----------------------------
  2645. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton4.MouseButton1Down:connect(function()
  2646.     game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"With this blade forged with the blood of the great one's, you will be cut down!", "Green")
  2647. wait(2.6)
  2648. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Annihilation Blade!", "Red")
  2649. Player=game:GetService("Players").LocalPlayer
  2650. Character=Player.Character
  2651. PlayerGui=Player.PlayerGui
  2652. Backpack=Player.Backpack
  2653. Torso=Character.Torso
  2654. Head=Character.Head
  2655. Humanoid=Character.Humanoid
  2656. LeftArm=Character["Left Arm"]
  2657. LeftLeg=Character["Left Leg"]
  2658. RightArm=Character["Right Arm"]
  2659. RightLeg=Character["Right Leg"]
  2660. LS=Torso["Left Shoulder"]
  2661. LH=Torso["Left Hip"]
  2662. RS=Torso["Right Shoulder"]
  2663. RH=Torso["Right Hip"]
  2664. Neck=Torso.Neck
  2665. it=Instance.new
  2666. vt=Vector3.new
  2667. cf=CFrame.new
  2668. euler=CFrame.fromEulerAnglesXYZ
  2669. angles=CFrame.Angles
  2670. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2671. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2672. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2673. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2674. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2675. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2676. RootPart=Character.HumanoidRootPart
  2677. RootJoint=RootPart.RootJoint
  2678. RootCF=euler(-1.57,0,3.14)
  2679. attack=false
  2680. attackdebounce=false
  2681. MMouse=nil
  2682. combo=0
  2683. local Anim="Idle"
  2684. local Effects={}
  2685. equipped=false
  2686. local idle=0
  2687. local hold=false
  2688. local con1=nil
  2689. local con2=nil
  2690. local Mode="Binary"
  2691. local idleanim=0
  2692. local idleanim2=false
  2693. local impulse=1
  2694. local hitfloor,posfloor=nil,nil
  2695. local damcount=0
  2696. local guard=false
  2697. --player
  2698. player=nil
  2699. --save shoulders
  2700. RSH, LSH=nil, nil
  2701. --welds
  2702. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2703. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2704. LH=Torso["Left Hip"]
  2705. RH=Torso["Right Hip"]
  2706. Asset="http://www.roblox.com/asset/?id="
  2707. Health=879000
  2708. Humanoid.MaxHealth=879000
  2709. Humanoid.Health=879000
  2710. coroutine.resume(coroutine.create(function()
  2711. for i=1,20 do
  2712. Humanoid.MaxHealth=879000
  2713. Humanoid.Health=879000
  2714. end
  2715. Humanoid.MaxHealth=879000
  2716. Humanoid.Health=879000
  2717. Humanoid:TakeDamage(0)
  2718. Humanoid.Health=Health
  2719. end))
  2720. Humanoid.Health=Health
  2721.  
  2722. function swait(num)
  2723. if num==0 or num==nil then
  2724. game:service'RunService'.RenderStepped:wait()
  2725. else
  2726. for i=0,num do
  2727. game:service'RunService'.RenderStepped:wait()
  2728. end
  2729. end
  2730. end
  2731.  
  2732. if Character:findFirstChild("Hades Judgement Blade",true) ~= nil then
  2733. Character:findFirstChild("Hades Judgement Blade",true).Parent = nil
  2734. end
  2735. if Character:findFirstChild("Demon Blade",true) ~= nil then
  2736. Character:findFirstChild("Demon Blade",true).Parent = nil
  2737. end
  2738. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  2739. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  2740. end
  2741.  
  2742.  
  2743. function NoOutline(Part)
  2744. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2745. end
  2746.  
  2747. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2748. local fp=it("Part")
  2749. fp.formFactor=formfactor
  2750. fp.Parent=parent
  2751. fp.Reflectance=reflectance
  2752. fp.Transparency=transparency
  2753. fp.CanCollide=false
  2754. fp.Locked=true
  2755. fp.BrickColor=brickcolor
  2756. fp.Name=name
  2757. fp.Size=size
  2758. fp.Position=Torso.Position
  2759. NoOutline(fp)
  2760. fp.Material="Granite"
  2761. fp:BreakJoints()
  2762. return fp
  2763. end
  2764.  
  2765. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2766. local mesh=it(Mesh)
  2767. mesh.Parent=part
  2768. if Mesh=="SpecialMesh" then
  2769. mesh.MeshType=meshtype
  2770. mesh.MeshId=meshid
  2771. end
  2772. mesh.Offset=offset
  2773. mesh.Scale=scale
  2774. return mesh
  2775. end
  2776.  
  2777. function weld(parent,part0,part1,c0)
  2778. local weld=it("Weld")
  2779. weld.Parent=parent
  2780. weld.Part0=part0
  2781. weld.Part1=part1
  2782. weld.C0=c0
  2783. return weld
  2784. end
  2785.  
  2786. local fengui=it("GuiMain")
  2787. fengui.Parent=Player.PlayerGui
  2788. fengui.Name="WeaponGUI"
  2789.  
  2790. local Color1=BrickColor.new("Really red")
  2791. local Color2=BrickColor.new("Black")
  2792. local Colorr3=BrickColor.new("Black")
  2793. local Color4=BrickColor.new("Really red")
  2794.  
  2795. local model1=Instance.new("Model")
  2796. model1.Parent=Character
  2797. model1.Name="Hades Judgement Blade"
  2798. BSword={}
  2799. BSwordWelds={}
  2800. local model2=Instance.new("Model")
  2801. model2.Parent=nil
  2802. model2.Name="Demon Blade"
  2803. DBlade={}
  2804. DBladeWelds={}
  2805.  
  2806. prt1=part(3,model1,0,1,Color1,"Part1",vt())
  2807. prt2=part(3,model1,0,0,Color2,"Part2",vt())
  2808. prt3=part(3,model1,0,0,Color2,"Part3",vt())
  2809. prt4=part(3,model1,0,0,Colorr3,"Part4",vt())
  2810. prt5=part(3,model1,0,0,Colorr3,"Part5",vt())
  2811. prt6=part(3,model1,0.7,0,Color4,"Part6",vt())
  2812. prt7=part(3,model1,0.7,0,Color4,"Part7",vt())
  2813. prt8=part(3,model1,0.7,0,Color4,"Part8",vt())
  2814. prt9=part(3,model1,0.7,0,Color4,"Part9",vt())
  2815. prt10=part(3,model1,0,0,Colorr3,"Part10",vt())
  2816. prt11=part(3,model1,0,0,Colorr3,"Part11",vt())
  2817. prt12=part(3,model1,0,0,Colorr3,"Part12",vt())
  2818.  
  2819. prtd1=part(3,model2,0,0.4,BrickColor.new("Really red"),"DPart1",vt())
  2820. prtd2=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart2",vt())
  2821. prtd3=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart3",vt())
  2822. prtd4=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart4",vt())
  2823. prtd5=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart5",vt())
  2824. prtd6=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart6",vt())
  2825. prtd7=part(3,model2,0.8,0,BrickColor.new("Really red"),"DPart7",vt())
  2826. prtd8=part(3,model2,0.8,0,BrickColor.new("Really red"),"DPart8",vt())
  2827. prtd9=part(3,model2,0.5,0.2,BrickColor.new("Really red"),"DPart9",vt())
  2828. prtd10=part(3,model2,0.5,0.2,BrickColor.new("Really red"),"DPart10",vt())
  2829. prtd11=part(3,model2,0.5,0,BrickColor.new("Really red"),"DPart11",vt())
  2830. prtd12=part(3,model2,0,0,BrickColor.new("Really Really black"),"DPart12",vt())
  2831. for _,c in pairs(model2:children()) do
  2832. if c.className=="Part" then
  2833. table.insert(DBlade,c)
  2834. end
  2835. end
  2836. light=it("PointLight")
  2837. light.Brightness=.8
  2838. light.Color=Color3.new(255/255,50/255,0)
  2839. --light.Color=BrickColor.new("Really red")
  2840. light.Range=10
  2841. light.Parent=prtd9
  2842.  
  2843. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1,1,1))
  2844. msh2=mesh("CylinderMesh",prt2,"","",vt(0,0,0),vt(2,10,2))
  2845. msh3=mesh("SpecialMesh",prt3,"Head","",vt(0,0,0),vt(2.5,2,2.5))
  2846. msh4=mesh("SpecialMesh",prt4,"Sphere","",vt(0,0,0),vt(3,3,3))
  2847. msh5=mesh("SpecialMesh",prt5,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(0.5,0.5,1))
  2848. msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(.5,20,1))
  2849. msh7=mesh("BlockMesh",prt7,"","",vt(0,0,0),vt(.5,20,1))
  2850. msh8=mesh("SpecialMesh",prt8,"Wedge","",vt(0,0,0),vt(.5,5,1))
  2851. msh9=mesh("SpecialMesh",prt9,"Wedge","",vt(0,0,0),vt(.5,5,1))
  2852. msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(.6,20,0.2))
  2853. msh11=mesh("SpecialMesh",prt11,"Wedge","",vt(0,0,0),vt(.6,5,0.1))
  2854. msh12=mesh("SpecialMesh",prt12,"Wedge","",vt(0,0,0),vt(.6,5,0.1))
  2855.  
  2856. mshd1=mesh("BlockMesh",prtd1,"","",vt(0,0,0),vt(5.01,3,5.01))
  2857. mshd2=mesh("BlockMesh",prtd2,"","",vt(0,0,0),vt(5.1,3,5.1))
  2858. mshd3=mesh("SpecialMesh",prtd3,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  2859. mshd4=mesh("SpecialMesh",prtd4,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  2860. mshd5=mesh("SpecialMesh",prtd5,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  2861. mshd6=mesh("SpecialMesh",prtd6,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  2862. mshd7=mesh("BlockMesh",prtd7,"","",vt(0,0,0),vt(3,20,1))
  2863. mshd8=mesh("SpecialMesh",prtd8,"Wedge","",vt(0,0,0),vt(1,3,5))
  2864. mshd9=mesh("BlockMesh",prtd9,"","",vt(0,0,0),vt(4.5,20,.1))
  2865. mshd10=mesh("SpecialMesh",prtd10,"Wedge","",vt(0,0,0),vt(.1,4.5,8))
  2866. mshd11=mesh("CylinderMesh",prtd11,"","",vt(0,0,0),vt(4,5.8,4))
  2867. mshd12=mesh("CylinderMesh",prtd12,"","",vt(0,0,0),vt(3,5.9,3))
  2868.  
  2869. wld1=weld(prt1,prt1,Torso,euler(3.7,1.57,0)*cf(-1.5,-2.3,-.5))
  2870. wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
  2871. wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1,0))
  2872. wld4=weld(prt4,prt4,prt2,euler(0,0,0)*cf(0,-1,0))
  2873. wld5=weld(prt5,prt5,prt4,euler(0,0,0)*cf(0,-0.2,0))
  2874. wld6=weld(prt6,prt6,prt5,euler(0,0,0)*cf(0,-2,0.1))
  2875. wld7=weld(prt7,prt7,prt5,euler(0,0,0)*cf(0,-2,-0.1))
  2876. wld8=weld(prt8,prt8,prt6,euler(0,0,0)*cf(0,-2.5,0))
  2877. wld9=weld(prt9,prt9,prt7,euler(0,3.14,0)*cf(0,-2.5,0))
  2878. wld10=weld(prt10,prt10,prt5,euler(0,0,0)*cf(0,-2,0))
  2879. wld11=weld(prt11,prt11,prt10,euler(0,0,0)*cf(0,-2.5,0.01))
  2880. wld12=weld(prt12,prt12,prt10,euler(0,3.14,0)*cf(0,-2.5,-0.01))
  2881.  
  2882. wldd1=weld(prtd1,prtd1,RightArm,euler(0,0,0)*cf(0,.21,0))
  2883. wldd2=weld(prtd1,prtd2,prtd1,euler(0,0,0)*cf(0,.5,0))
  2884. wldd3=weld(prtd1,prtd3,prtd2,euler(0,1.57,0)*cf(.21,-.6,0))
  2885. wldd4=weld(prtd1,prtd4,prtd2,euler(0,-1.57,0)*cf(-.21,-.6,0))
  2886. wldd5=weld(prtd1,prtd5,prtd2,euler(0,-1.57,0)*cf(.1,-.1,0))
  2887. wldd6=weld(prtd1,prtd6,prtd5,euler(0,0,3.14)*cf(0,1.2,0))
  2888. wldd7=weld(prtd1,prtd7,prtd2,euler(0,0,0)*cf(0,2.5,0))
  2889. wldd8=weld(prtd1,prtd8,prtd7,euler(1.57,1.57,0)*cf(0,2.5,0))
  2890. wldd9=weld(prtd1,prtd9,prtd7,euler(0,0,0)*cf(0,0,0))
  2891. wldd10=weld(prtd1,prtd10,prtd8,euler(0,0,0)*cf(0,0,0.3))
  2892. wldd11=weld(prtd1,prtd11,prtd1,euler(1.57,0,0)*cf(0,1,0))
  2893. wldd12=weld(prtd1,prtd12,prtd11,euler(0,0,0)*cf(0,0,0))
  2894. for _,c in pairs(prtd1:children()) do
  2895. if c.className=="Weld" then
  2896. table.insert(DBladeWelds,c)
  2897. print(c)
  2898. end
  2899. end
  2900.  
  2901. for i=-.9,.9,0.2 do
  2902. prt13=part(3,model1,0,0,Color1,"Part13",vt())
  2903. msh13=mesh("CylinderMesh",prt13,"","",vt(0,0,0),vt(2.2,1,2.2))
  2904. wld13=weld(prt13,prt13,prt1,euler(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)*cf(0,i,0))
  2905. end
  2906.  
  2907. local hitbox1=part(3,nil,0,1,BrickColor.new("Really black"),"Hitbox",vt(1,1,1))
  2908. local hitbox2=part(3,nil,0,1,BrickColor.new("Really black"),"Hitbox",vt(1,1,1))
  2909.  
  2910. if (script.Parent.className~="HopperBin") then
  2911. Tool=Instance.new("HopperBin")
  2912. Tool.Parent=Backpack
  2913. Tool.Name="Hades Judgement Blade"
  2914. script.Parent=Tool
  2915. end
  2916. Bin=script.Parent
  2917. --Bin=Tool
  2918.  
  2919. local bodvel=Instance.new("BodyVelocity")
  2920. bodvel.Name="FixerVel"
  2921. local bg=Instance.new("BodyGyro")
  2922. bg.Name="FixerGyro"
  2923.  
  2924. so = function(id,par,vol,pit)
  2925. coroutine.resume(coroutine.create(function()
  2926. local sou = Instance.new("Sound",par or workspace)
  2927. sou.Parent=par
  2928. sou.Volume=vol
  2929. sou.Pitch=pit or 1
  2930. sou.SoundId=id
  2931. swait()
  2932. sou:Play()
  2933. game:GetService("Debris"):AddItem(sou,6)
  2934. end))
  2935. end
  2936.  
  2937. function clerp(a,b,t)
  2938. local qa = {QuaternionFromCFrame(a)}
  2939. local qb = {QuaternionFromCFrame(b)}
  2940. local ax, ay, az = a.x, a.y, a.z
  2941. local bx, by, bz = b.x, b.y, b.z
  2942. local _t = 1-t
  2943. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2944. end
  2945.  
  2946. function QuaternionFromCFrame(cf)
  2947. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2948. local trace = m00 + m11 + m22
  2949. if trace > 0 then
  2950. local s = math.sqrt(1 + trace)
  2951. local recip = 0.5/s
  2952. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2953. else
  2954. local i = 0
  2955. if m11 > m00 then
  2956. i = 1
  2957. end
  2958. if m22 > (i == 0 and m00 or m11) then
  2959. i = 2
  2960. end
  2961. if i == 0 then
  2962. local s = math.sqrt(m00-m11-m22+1)
  2963. local recip = 0.5/s
  2964. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2965. elseif i == 1 then
  2966. local s = math.sqrt(m11-m22-m00+1)
  2967. local recip = 0.5/s
  2968. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2969. elseif i == 2 then
  2970. local s = math.sqrt(m22-m00-m11+1)
  2971. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2972. end
  2973. end
  2974. end
  2975.  
  2976. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2977. local xs, ys, zs = x + x, y + y, z + z
  2978. local wx, wy, wz = w*xs, w*ys, w*zs
  2979. local xx = x*xs
  2980. local xy = x*ys
  2981. local xz = x*zs
  2982. local yy = y*ys
  2983. local yz = y*zs
  2984. local zz = z*zs
  2985. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  2986. end
  2987.  
  2988. function QuaternionSlerp(a, b, t)
  2989. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2990. local startInterp, finishInterp;
  2991. if cosTheta >= 0.0001 then
  2992. if (1 - cosTheta) > 0.0001 then
  2993. local theta = math.acos(cosTheta)
  2994. local invSinTheta = 1/math.sin(theta)
  2995. startInterp = math.sin((1-t)*theta)*invSinTheta
  2996. finishInterp = math.sin(t*theta)*invSinTheta  
  2997. else
  2998. startInterp = 1-t
  2999. finishInterp = t
  3000. end
  3001. else
  3002. if (1+cosTheta) > 0.0001 then
  3003. local theta = math.acos(-cosTheta)
  3004. local invSinTheta = 1/math.sin(theta)
  3005. startInterp = math.sin((t-1)*theta)*invSinTheta
  3006. finishInterp = math.sin(t*theta)*invSinTheta
  3007. else
  3008. startInterp = t-1
  3009. finishInterp = t
  3010. end
  3011. end
  3012. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3013. end
  3014.  
  3015. function hideanim()
  3016. equipped=false
  3017. attack=true
  3018. if Mode=="Binary" then
  3019. so("rbxasset://sounds\\unsheath.wav",prt1,1,.8)
  3020. for i=0,1,0.1 do
  3021. swait()
  3022. wld1.C0=clerp(wld1.C0,euler(.2,0,-.5)*cf(0,1,0),.3)
  3023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4,0,-0.5),.3)
  3024. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  3025. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  3026. end
  3027. wld1.Part1=Torso
  3028. wld1.C0=euler(3.7,1.57,0)*cf(-1.5,-2.3,-.5)
  3029. for i=0,1,0.2 do
  3030. swait()
  3031. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(0.5,0,0),.3)
  3032. end
  3033. for i=0,1,0.1 do
  3034. swait()
  3035. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.4)
  3036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.4)
  3037. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0),.4)
  3038. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,0),.4)
  3039. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0),.3)
  3040. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0),.3)
  3041. end
  3042. --wld1=weld(prt1,prt1,RightArm,euler(1.57,0,0)*cf(0,1,-0.3))
  3043. else
  3044. for i=0,1,0.1 do
  3045. swait()
  3046. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-0.4),.3)
  3047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.8),.3)
  3048. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.5,0,0),.3)
  3049. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.2,0,-0.2),.3)
  3050. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-0.2,1.57,0),.3)
  3051. LH.C0=clerp(LH.C0,cf(-1,-.5,0)*euler(0.5,-1.2,0)*euler(-.2,0,0),.3)
  3052. end
  3053. so("http://roblox.com/asset/?id=161006163",RightArm,1,.4)
  3054. so("http://roblox.com/asset/?id=160867463",RightArm,1,1.2)
  3055. for i=0,1,0.015 do
  3056. swait()
  3057. for i=1,3 do
  3058. if math.random(1,5)==1 then
  3059. MagicBlock(BrickColor.new("Really Really black"),RightArm.CFrame*cf(math.random(-100,100)/100,0-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  3060. else
  3061. MagicBlock(BrickColor.new("Bright red"),RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  3062. end
  3063. end
  3064. end
  3065. model2.Parent=nil
  3066. for i=0,1,0.1 do
  3067. swait()
  3068. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.4)
  3069. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.4)
  3070. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0),.4)
  3071. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,0),.4)
  3072. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0),.3)
  3073. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0),.3)
  3074. end
  3075. end
  3076. Torso.Neck.C0=necko
  3077. Torso.Neck.C1=necko2
  3078. RootJoint.C0=RootCF
  3079. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  3080. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  3081. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  3082. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  3083. RH.C0=RHC0
  3084. RH.C1=RHC1
  3085. LH.C0=LHC0
  3086. LH.C1=LHC1
  3087. Mode="Binary"
  3088. attack=false
  3089. end
  3090.  
  3091. function equipanim()
  3092. equipped=true
  3093. attack=true
  3094. for i=0,1,0.2 do
  3095. swait()
  3096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4,0,-0.5),.3)
  3097. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(3,0,0),.4)
  3098. end
  3099. for i=0,1,0.1 do
  3100. swait()
  3101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.5,0,-0.6),.3)
  3102. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  3103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.5),.3)
  3104. end
  3105. so("rbxasset://sounds\\unsheath.wav",prt1,1,.6)
  3106. wld1.Part1=RightArm
  3107. wld1.C0=euler(.2,0,-.5)*cf(0,1,0)
  3108. for i=0,1,0.1 do
  3109. swait()
  3110. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,0),.3)
  3111. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.2,0,-0.5),.3)
  3112. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(.5,-0.5,0),.3)
  3113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.5),.3)
  3114. end
  3115. for i=0,1,0.1 do
  3116. swait()
  3117. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.3)
  3118. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.5),.3)
  3119. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.5),.3)
  3120. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1,-0.5,-0.7),.3)
  3121. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1,-0.5,0.5),.3)
  3122. end
  3123. --wld1=weld(prt1,prt1,RightArm,euler(1.57,0,0)*cf(0,1,-0.3))
  3124. wld1.C0=euler(1.57,0,0)*cf(0,1,-0.3)
  3125. Torso.Neck.C0=necko*euler(0,0,0.5)
  3126. RootJoint.C0=RootCF*euler(0,0,-0.5)
  3127. RW.C0=cf(1,0.5,-0.5)*euler(1,-0.5,-0.7)
  3128. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  3129. LW.C0=cf(-1,0.5,-0.5)*euler(1,-0.5,0.5)
  3130. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  3131. attack=false
  3132. end
  3133.  
  3134. function Stomp()
  3135. Humanoid.WalkSpeed=0
  3136. Torso.Velocity=RootPart.CFrame.lookVector*0
  3137. so("http://roblox.com/asset/?id=157878578",Torso,1,0.8)
  3138. so("http://roblox.com/asset/?id=2760979",Torso,1,0.4)
  3139. --so("http://roblox.com/asset/?id=2101148",Torso,1,0.6)
  3140. MagicWave(BrickColor.new("Really red"),cf(Torso.Position)*cf(0,-1,0),1,1,1,1.5,1,1.5,0.05)
  3141. Dam=math.random(5,10)
  3142. Humanoid.Health=Humanoid.Health-Dam
  3143. MagniDamage(Torso,50,50,50,math.random(10000,20000),"Knockdown")
  3144. --[[for i=0,1,0.2 do
  3145. swait()
  3146. if Mode=="Binary" then
  3147. wld1.C0=clerp(wld1.C0,euler(0.4,0,-0.5)*cf(0,1,0),.3)
  3148. end
  3149. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(3,0,0.5),.3)
  3150. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-1.2),.3)
  3151. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.4,0,0),.3)
  3152. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,0),.3)
  3153. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1.2,1.57,0),.3)
  3154. LH.C0=clerp(LH.C0,cf(-1.1,-.5,-0.5)*euler(-0.2,-1.3,0),.3)
  3155. end
  3156. for i=0,1,0.1 do
  3157. swait()
  3158. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.6,0,0),.3)
  3159. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*euler(0,0,0),.3)
  3160. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1.4,1.57,0),.3)
  3161. LH.C0=clerp(LH.C0,cf(-1.2,-.2,-0.5)*euler(-0.3,-1.3,0),.3)
  3162. end]]
  3163. swait(10)
  3164. Humanoid.WalkSpeed=16
  3165. end
  3166.  
  3167. function attackone()
  3168. attack=true
  3169. for i=0,1,0.1 do
  3170. swait()
  3171. wld1.C0=clerp(wld1.C0,euler(1.2,0,0)*cf(0,1,-0.3),.3)
  3172. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,1),.3)
  3173. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1),.3)
  3174. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(2,-0.5,-0.2),.3)
  3175. LW.C0=clerp(LW.C0,cf(-.5,0.5,-0.5)*euler(2.5,-0.5,0.8),.3)
  3176. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.3)
  3177. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.3)
  3178. end
  3179. hitbox1.Parent=model1
  3180. hitbox1.Size=vt(1,5,1)
  3181. hitbox1.Transparency=1
  3182. hitbox1.CFrame=prt10.CFrame
  3183. --con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10000,20000,math.random(1,5),"Normal",RootPart,.5,1) end)
  3184. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10000,20000,math.random(1,5),"Normal",RootPart,.5,1) end)
  3185. so("http://roblox.com/asset/?id=161006212",prt10,1,.7)
  3186. blcf=nil
  3187. scfr=nil
  3188. for i=0,1,0.25 do
  3189. swait()
  3190. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3191. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3192. local h = 5
  3193. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3194. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3195. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3196. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3197. scfr = blcf
  3198. elseif not scfr then
  3199. scfr = blcf
  3200. end
  3201. hitbox1.CFrame=prt10.CFrame
  3202. wld1.C0=clerp(wld1.C0,euler(1.8,0,0)*cf(0,1,-0.3),.3)
  3203. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,-.3),.3)
  3204. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.3),.3)
  3205. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-.3,-.3),.3)
  3206. LW.C0=clerp(LW.C0,cf(-0.8,0.2,-0.5)*euler(.5,-0.5,1),.3)
  3207. end
  3208. for i=0,1,0.1 do
  3209. swait()
  3210. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3211. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3212. local h = 5
  3213. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3214. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3215. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3216. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3217. scfr = blcf
  3218. elseif not scfr then
  3219. scfr = blcf
  3220. end
  3221. hitbox1.CFrame=prt10.CFrame
  3222. wld1.C0=clerp(wld1.C0,euler(2,0,0)*cf(0,1,-0.3),.3)
  3223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,-.9),.3)
  3224. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.9),.3)
  3225. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-.8,-.3),.3)
  3226. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.1,-0.5,.7),.3)
  3227. end
  3228. con1:disconnect()
  3229. hitbox1.Parent=nil
  3230. attack=false
  3231. end
  3232.  
  3233. function attacktwo()
  3234. attack=true
  3235. for i=0,1,0.1 do
  3236. swait()
  3237. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.3)
  3238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,-1.2),.3)
  3239. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,1.2),.3)
  3240. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  3241. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-0.5,.8),.3)
  3242. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.3)
  3243. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.3)
  3244. end
  3245. hitbox1.Parent=model1
  3246. hitbox1.Size=vt(1,5,1)
  3247. hitbox1.Transparency=1
  3248. hitbox1.CFrame=prt10.CFrame
  3249. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10000,20000,math.random(1,5),"Normal",RootPart,.5,1) end)
  3250. so("http://roblox.com/asset/?id=161006212",prt10,1,.8)
  3251. blcf=nil
  3252. scfr=nil
  3253. for i=0,1,0.1 do
  3254. swait()
  3255. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3256. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3257. local h = 5
  3258. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3259. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3260. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3261. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3262. scfr = blcf
  3263. elseif not scfr then
  3264. scfr = blcf
  3265. end
  3266. hitbox1.CFrame=prt10.CFrame
  3267. wld1.C0=clerp(wld1.C0,euler(2.2,0,0)*cf(0,.8,-0.3),.3)
  3268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,1),.3)
  3269. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1),.3)
  3270. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.2,1.2,0)*euler(-1.5,0,0),.3)
  3271. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(.2,-.2,-1.4),.3)
  3272. end
  3273. con1:disconnect()
  3274. hitbox1.Parent=nil
  3275. attack=false
  3276. end
  3277.  
  3278. function attackthree()
  3279. attack=true
  3280. for i=0,1,0.1 do
  3281. swait()
  3282. wld1.C0=clerp(wld1.C0,euler(1.57,0,-.785)*cf(0,.8,0),.3)
  3283. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  3284. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  3285. RW.C0=clerp(RW.C0,cf(1,1,0)*euler(2.8,0,-.785),.3)
  3286. LW.C0=clerp(LW.C0,cf(-1,1,0)*euler(2.8,0,.785),.3)
  3287. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.3)
  3288. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.3)
  3289. end
  3290. hitbox1.Parent=model1
  3291. hitbox1.Size=vt(1,5,1)
  3292. hitbox1.Transparency=1
  3293. hitbox1.CFrame=prt10.CFrame
  3294. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10000,20000,math.random(1,5),"Normal",RootPart,.5,1) end)
  3295. so("http://roblox.com/asset/?id=161006212",prt10,1,.9)
  3296. blcf=nil
  3297. scfr=nil
  3298. for i=0,1,0.25 do
  3299. swait()
  3300. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3301. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3302. local h = 5
  3303. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3304. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3305. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3306. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3307. scfr = blcf
  3308. elseif not scfr then
  3309. scfr = blcf
  3310. end
  3311. hitbox1.CFrame=prt10.CFrame
  3312. wld1.C0=clerp(wld1.C0,euler(1.7,0,0)*cf(0,1,0),.4)
  3313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.2,0,-.6),.4)
  3314. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.4)
  3315. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.5,0,.2),.4)
  3316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-.2),.4)
  3317. end
  3318. for i=0,1,0.2 do
  3319. swait()
  3320. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3321. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3322. local h = 5
  3323. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3324. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3325. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3326. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3327. scfr = blcf
  3328. elseif not scfr then
  3329. scfr = blcf
  3330. end
  3331. hitbox1.CFrame=prt10.CFrame
  3332. wld1.C0=clerp(wld1.C0,euler(2,0,0)*cf(0,.7,-.3),.4)
  3333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.4,0,-.8),.4)
  3334. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.8),.4)
  3335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.2,-.4,.4),.4)
  3336. end
  3337. con1:disconnect()
  3338. hitbox1.Parent=nil
  3339. attack=false
  3340. end
  3341.  
  3342. function SpinSlash()
  3343. attack=true
  3344. for i=0,1,0.1 do
  3345. swait()
  3346. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.4)
  3347. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.3,0,0.8),.4)
  3348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*euler(0.2,0,-0.8),.4)
  3349. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(2.2,-1.2,0)*euler(0,0,1),.4)
  3350. LW.C0=clerp(LW.C0,cf(.1,0.5,-0.8)*euler(1.8,-0.5,1),.4)
  3351. --RH.C0=clerp(RH.C0,RHC0*cf(0,0,0)*euler(0.2,0.2,.5),.3)
  3352. --LH.C0=clerp(LH.C0,LHC0*cf(.5,0.2,0)*euler(0,.5,0.2),.3)
  3353. end
  3354. hitbox1.Parent=model1
  3355. hitbox1.Size=vt(1,5,1)
  3356. hitbox1.Transparency=1
  3357. hitbox1.CFrame=prt10.CFrame
  3358. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10000,15000,math.random(1,5),"Normal",RootPart,.2,1) end)
  3359. blcf=nil
  3360. scfr=nil
  3361. so("http://roblox.com/asset/?id=161006212",prt10,1,.6)
  3362. repeat
  3363. hitbox1.Parent=model1
  3364. hitbox1.Size=vt(1,5,1)
  3365. hitbox1.Transparency=1
  3366. hitbox1.CFrame=prt10.CFrame
  3367. for i=0,1,0.15 do
  3368. swait()
  3369. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3370. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3371. local h = 5
  3372. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3373. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3374. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3375. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3376. scfr = blcf
  3377. elseif not scfr then
  3378. scfr = blcf
  3379. end
  3380. hitbox1.CFrame=prt10.CFrame
  3381. wld1.C0=clerp(wld1.C0,euler(1.2,0,0)*cf(0,1,-0.3),.3)
  3382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.3,0,0),.3)
  3383. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*euler(0,0,2.3),.25)
  3384. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.57,-1.57,0)*euler(-0.5,0,0),.3)
  3385. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.57,-1.57,0)*euler(0.5,0,0),.3)
  3386. RH.C0=clerp(RH.C0,RHC0,.3)
  3387. LH.C0=clerp(LH.C0,LHC0,.3)
  3388. end
  3389. for i=0,1,0.05 do
  3390. swait()
  3391. if i>=0.45 and i<=0.5 then
  3392. so("http://roblox.com/asset/?id=161006212",prt10,1,.7)
  3393. end
  3394. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3395. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3396. local h = 5
  3397. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3398. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3399. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3400. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3401. scfr = blcf
  3402. elseif not scfr then
  3403. scfr = blcf
  3404. end
  3405. hitbox1.CFrame=prt10.CFrame
  3406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*euler(0,0,2.3+6*i),1)
  3407. end
  3408. until hold==false
  3409. con1:disconnect()
  3410. hitbox1.Parent=nil
  3411. attack=false
  3412. end
  3413.  
  3414. function BinarySwing()
  3415. attack=true
  3416. for i=0,1,0.1 do
  3417. swait()
  3418. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.3)
  3419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.8),.3)
  3420. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,-0.8),.3)
  3421. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-2,0)*euler(.5,0,0),.3)
  3422. LW.C0=clerp(LW.C0,cf(-.2,-.1,-0.5)*euler(1,-1.8,0)*euler(.9,0,0),.3)
  3423. RH.C0=clerp(RH.C0,RHC0*cf(.2,1,.1)*euler(0,-.5,-.2),.3)
  3424. LH.C0=clerp(LH.C0,LHC0*cf(-.2,1,.1)*euler(0,.5,.2),.3)
  3425. end
  3426. Humanoid.Jump=true
  3427. bodvol=Instance.new("BodyVelocity")
  3428. bodvol.Parent=RootPart
  3429. bodvol.velocity=vt(0,1,0)*100
  3430. bodvol.P=5000
  3431. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3432. --Torso.Velocity=vt(0,1,0)*100
  3433. hitbox1.Parent=model1
  3434. hitbox1.Size=vt(1,5,1)
  3435. hitbox1.Transparency=1
  3436. hitbox1.CFrame=prt10.CFrame
  3437. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10000,20000),"Normal",RootPart,.2,1) end)
  3438. so("http://roblox.com/asset/?id=161006212",prt10,1,.8)
  3439. blcf=nil
  3440. scfr=nil
  3441. for i=0,1,0.1 do
  3442. swait()
  3443. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3444. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3445. local h = 5
  3446. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3447. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3448. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3449. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3450. scfr = blcf
  3451. elseif not scfr then
  3452. scfr = blcf
  3453. end
  3454. hitbox1.CFrame=prt10.CFrame
  3455. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-2.4,0)*euler(.1,0,0),.3)
  3456. LW.C0=clerp(LW.C0,cf(-.2,.8,-0.5)*euler(3.1,-1.8,0)*euler(.9,0,0),.3)
  3457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.8),.3)
  3458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,1.3),.3)
  3459. RH.C0=clerp(RH.C0,RHC0,.3)
  3460. LH.C0=clerp(LH.C0,LHC0,.3)
  3461. end
  3462. con1:disconnect()
  3463. hitbox1.Parent=nil
  3464. bodvol.Parent=nil
  3465. attack=false
  3466. end
  3467.  
  3468. function BinaryImpulse()
  3469. attack=true
  3470. if impulse==1 then
  3471. impulse=2
  3472. Humanoid.Jump=true
  3473. for i=0,1,0.2 do
  3474. swait()
  3475. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.45)
  3476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  3477. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0.5,0),.45)
  3478. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  3479. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  3480. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  3481. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  3482. end
  3483. blcf=nil
  3484. scfr=nil
  3485. hitbox1.Parent=model1
  3486. hitbox1.Size=vt(1,5,1)
  3487. hitbox1.Transparency=1
  3488. hitbox1.CFrame=prt10.CFrame
  3489. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20000,30000,math.random(10,20),"Normal",RootPart,.5,1) end)
  3490. for i=1,3 do
  3491. so("http://roblox.com/asset/?id=161006212",prt10,1,1)
  3492. for i=0,1,0.1 do
  3493. swait()
  3494. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3495. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3496. local h = 5
  3497. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3498. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3499. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3500. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3501. scfr = blcf
  3502. elseif not scfr then
  3503. scfr = blcf
  3504. end
  3505. hitbox1.CFrame=prt10.CFrame
  3506. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  3507. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  3508. RootJoint.C0=RootCF*euler(0,0.5,6.6*i)
  3509. end
  3510. end
  3511. con1:disconnect()
  3512. hitbox1.Parent=nil
  3513. elseif impulse==2 then
  3514. impulse=3
  3515. Humanoid.Jump=true
  3516. for i=0,1,0.2 do
  3517. swait()
  3518. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.45)
  3519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  3520. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,-0.5,0),.45)
  3521. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  3522. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  3523. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  3524. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  3525. end
  3526. blcf=nil
  3527. scfr=nil
  3528. hitbox1.Parent=model1
  3529. hitbox1.Size=vt(1,5,1)
  3530. hitbox1.Transparency=1
  3531. hitbox1.CFrame=prt10.CFrame
  3532. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,50,50,math.random(10000,20000),"Normal",RootPart,.5,1) end)
  3533. for i=1,3 do
  3534. so("http://roblox.com/asset/?id=161006212",prt10,1,1.05)
  3535. for i=0,1,0.1 do
  3536. swait()
  3537. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3538. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3539. local h = 5
  3540. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3541. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3542. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3543. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3544. scfr = blcf
  3545. elseif not scfr then
  3546. scfr = blcf
  3547. end
  3548. hitbox1.CFrame=prt10.CFrame
  3549. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  3550. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  3551. RootJoint.C0=RootCF*euler(0,-0.5,6.6*i)
  3552. end
  3553. end
  3554. con1:disconnect()
  3555. hitbox1.Parent=nil
  3556. elseif impulse==3 then
  3557. impulse=1
  3558. for i=0,1,0.2 do
  3559. swait()
  3560. wld1.C0=clerp(wld1.C0,euler(1.57,0,-0.785)*cf(0,1,-0.3),.45)
  3561. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4,0,0),.45)
  3562. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  3563. RW.C0=clerp(RW.C0,cf(1,0.8,-0.5)*euler(3,0,-0.785),.45)
  3564. LW.C0=clerp(LW.C0,cf(-1,0.8,-0.5)*euler(3,0,0.785),.45)
  3565. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  3566. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  3567. end
  3568. Humanoid.Jump=true
  3569. blcf=nil
  3570. scfr=nil
  3571. hitbox1.Parent=model1
  3572. hitbox1.Size=vt(1,5,1)
  3573. hitbox1.Transparency=1
  3574. hitbox1.CFrame=prt10.CFrame
  3575. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,50,50,math.random(20000,30000),"Normal",RootPart,.5,1) end)
  3576. for i=1,3 do
  3577. so("http://roblox.com/asset/?id=161006195",prt10,1,1)
  3578. for i=0,1,0.1 do
  3579. swait()
  3580. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3581. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3582. local h = 5
  3583. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3584. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3585. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3586. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3587. scfr = blcf
  3588. elseif not scfr then
  3589. scfr = blcf
  3590. end
  3591. hitbox1.CFrame=prt10.CFrame
  3592. wld1.C0=clerp(wld1.C0,euler(2,0,-0.785)*cf(0,1,-0.3),.45)
  3593. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.2,0,0),.45)
  3594. RW.C0=clerp(RW.C0,cf(1,0.3,-0.5)*euler(.5,0,-0.785),.3)
  3595. LW.C0=clerp(LW.C0,cf(-1,0.3,-0.5)*euler(.5,0,0.785),.3)
  3596. RootJoint.C0=RootCF*euler(6.28*i,0,0)
  3597. end
  3598. end
  3599. con1:disconnect()
  3600. hitbox1.Parent=nil
  3601. end
  3602. attack=false
  3603. end
  3604.  
  3605. function Bash()
  3606. attack=true
  3607. for i=0,1,0.1 do
  3608. swait()
  3609. wld1.C0=clerp(wld1.C0,euler(1.1,0,0)*cf(0,1,-0.4),.3)
  3610. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  3611. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  3612. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  3613. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  3614. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,2.5,0),.3)
  3615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1,0),.3)
  3616. end
  3617. Torso.Velocity=RootPart.CFrame.lookVector*200
  3618. so("http://roblox.com/asset/?id=2767090",Torso,1,.7)
  3619. MagicWave(Color4,RootPart.CFrame*euler(1.57,0,0),1,1,1,1,1,1,0.05)
  3620. hit=nil
  3621. for i=1,20 do
  3622. if hit==nil then
  3623. swait()
  3624. end
  3625. hit,pos=rayCast(RootPart.Position,RootPart.CFrame.lookVector,6,Character)
  3626. end
  3627. Torso.Velocity=RootPart.CFrame.lookVector*0
  3628. Humanoid.WalkSpeed=0
  3629. for i=0,1,0.1 do
  3630. swait()
  3631. wld1.C0=clerp(wld1.C0,euler(1.1,0,0)*cf(0,1,-0.4),.3)
  3632. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  3633. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  3634. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  3635. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  3636. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0),.3)
  3637. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0),.3)
  3638. end
  3639. so("http://roblox.com/asset/?id=161006195",prt10,1,.5)
  3640. blcf=nil
  3641. scfr=nil
  3642. for i=0,1,0.2 do
  3643. swait()
  3644. local blcf = prt10.CFrame*CFrame.new(0,.5,0)
  3645. if scfr and (prt10.Position-scfr.p).magnitude > .1 then
  3646. local h = 5
  3647. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3648. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3649. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3650. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3651. scfr = blcf
  3652. elseif not scfr then
  3653. scfr = blcf
  3654. end
  3655. wld1.C0=clerp(wld1.C0,euler(2.2,0,0)*cf(0,.8,-0.3),.45)
  3656. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  3657. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  3658. RW.C0=clerp(RW.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  3659. LW.C0=clerp(LW.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  3660. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1.2,1.57,0),.45)
  3661. LH.C0=clerp(LH.C0,cf(-1.1,0.4,-0.8)*euler(-0.05,-1.57,0),.45)
  3662. end
  3663. hit,pos=rayCast(prt10.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  3664. if hit~=nil then
  3665. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  3666. ref.Anchored=true
  3667. ref.CFrame=cf(pos)
  3668. game:GetService("Debris"):AddItem(ref,3)
  3669. for i=1,10 do
  3670. Col=hit.BrickColor
  3671. local groundpart=part(3,workspace,0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  3672. groundpart.Anchored=true
  3673. groundpart.Material=hit.Material
  3674. groundpart.CanCollide=true
  3675. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3676. game:GetService("Debris"):AddItem(groundpart,5)
  3677. end
  3678. so("http://roblox.com/asset/?id=157878578",ref,.6,1.2)
  3679. MagicWave(hit.BrickColor,cf(pos),1,1,1,.7,.7,.7,0.05)
  3680. MagniDamage(ref,50,50,50,math.random(10000,20000),"Knockdown")
  3681. end
  3682. swait(50)
  3683. Humanoid.WalkSpeed=16
  3684. attack=false
  3685. end
  3686.  
  3687. function UnleashTheDemon()
  3688. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Now you're in for a show, you'll be sent to the abyss when i'm done!", "Green")
  3689. wait(2.6)
  3690. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Mannitus's Voiding Blade!", "Red")
  3691. attack=true
  3692. so("rbxasset://sounds\\unsheath.wav",prt1,1,.8)
  3693. for i=0,1,0.1 do
  3694. swait()
  3695. wld1.C0=clerp(wld1.C0,euler(.2,0,-.5)*cf(0,1,0),.3)
  3696. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4,0,-0.5),.3)
  3697. RW.C0=clerp(RW.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  3698. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  3699. RH.C0=clerp(RH.C0,RHC0,.4)
  3700. LH.C0=clerp(LH.C0,LHC0,.4)
  3701. end
  3702. wld1.Part1=Torso
  3703. wld1.C0=euler(3.7,1.57,0)*cf(-1.5,-2.3,-.5)
  3704. for i=0,1,0.1 do
  3705. swait()
  3706. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  3707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.4,0,-0.4),.3)
  3708. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,0),.3)
  3709. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.4,-1.57,0)*euler(1.2,0,0),.3)
  3710. end
  3711. so("http://roblox.com/asset/?id=178452217",RightArm,.5,.4)
  3712. so("http://roblox.com/asset/?id=168586586",RightArm,.5,.6)
  3713. so("http://roblox.com/asset/?id=160740121",RightArm,1,.8)
  3714. num=0
  3715. for i=0,1,0.01 do
  3716. swait()
  3717. if num>=10 then
  3718. num=0
  3719. MagicWave(BrickColor.new("Really Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  3720. end
  3721. for i=1,2 do
  3722. if math.random(1,5)==1 then
  3723. MagicBlock(BrickColor.new("Really Really black"),RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  3724. else
  3725. MagicBlock(BrickColor.new("Bright red"),RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  3726. end
  3727. end
  3728. num=num+1
  3729. end
  3730. so("http://roblox.com/asset/?id=168586621",RightArm,1,.5)
  3731. so("http://roblox.com/asset/?id=160867463",RightArm,1,.8)
  3732. for i=1,4 do
  3733. MagicBlock(BrickColor.new("Bright red"),RightArm.CFrame*cf(0,-.5-math.random(0,500)/100,0),2,2,2,.5,.5,.5,0.05)
  3734. end
  3735. MagicWave(BrickColor.new("Really red"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,.5,.3,.5,0.01)
  3736. Mode="Demon"
  3737. model2.Parent=Character
  3738. for i=1,#DBlade do
  3739. DBlade[i].Parent=model2
  3740. DBladeWelds[i].Parent=DBlade[1]
  3741. end
  3742. for i=0,1,0.1 do
  3743. swait()
  3744. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.4),.3)
  3745. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.4),.3)
  3746. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.2,-0.5,1),.3)
  3747. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(1.4,0.5,-1.3),.3)
  3748. end
  3749. swait(50)
  3750. attack=false
  3751. end
  3752.  
  3753. function Demonattackone()
  3754. attack=true
  3755. --[[
  3756. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-0.4),.3)
  3757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.4),.3)
  3758. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.1,0,0),.3)
  3759. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.2,0,-0.2),.3)
  3760. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-0.2,1.57,0),.3)
  3761. LH.C0=clerp(LH.C0,cf(-1,-.5,0)*euler(0.5,-1.2,0)*euler(-.2,0,0),.3)
  3762. ]]
  3763. for i=0,1,0.1 do
  3764. swait()
  3765. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-1),.3)
  3766. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.7),.3)
  3767. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.3,0,.5),.3)
  3768. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(.7,0,-0.7),.3)
  3769. RH.C0=clerp(RH.C0,cf(1,-1,-.6)*euler(-.3,1.57,0)*euler(0,.5,0),.3)
  3770. LH.C0=clerp(LH.C0,cf(-1,-.3,0)*euler(0.5,-.8,0)*euler(-.5,0,0),.3)
  3771. end
  3772. hitbox2.Parent=model2
  3773. hitbox2.Size=vt(1,6,1)
  3774. hitbox2.Transparency=1
  3775. hitbox2.CFrame=prtd7.CFrame
  3776. con1=hitbox2.Touched:connect(function(hit) Damagefunc(hit,50,50,math.random(10000,50000),"Lifesteal",RootPart,.5,1) end)
  3777. so("http://roblox.com/asset/?id=28144425",prtd7,1,.7)
  3778. blcf=nil
  3779. scfr=nil
  3780. for i=0,1,0.08 do
  3781. swait()
  3782. local blcf = prtd7.CFrame*CFrame.new(0,-.5,0)
  3783. if scfr and (prtd7.Position-scfr.p).magnitude > .1 then
  3784. local h = 5
  3785. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3786. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3787. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3788. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3789. scfr = blcf
  3790. elseif not scfr then
  3791. scfr = blcf
  3792. end
  3793. hitbox2.CFrame=prtd7.CFrame
  3794. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,1),.3)
  3795. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.7),.3)
  3796. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.4,-0.5,1)*euler(1.3,0,-1.7),.3)
  3797. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  3798. RH.C0=clerp(RH.C0,cf(1,-.6,0)*euler(-.3,1.57,0)*euler(0,-1,0),.3)
  3799. LH.C0=clerp(LH.C0,cf(-1,-1,-0.3)*euler(-0.3,-2.3,0)*euler(0,0,0),.3)
  3800. end
  3801. con1:disconnect()
  3802. hitbox2.Parent=nil
  3803. attack=false
  3804. end
  3805.  
  3806. function Demonattacktwo()
  3807. attack=true
  3808. for i=0,1,0.1 do
  3809. swait()
  3810. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,1.2),.3)
  3811. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.7),.3)
  3812. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.4,-1.2,.6)*euler(1.1,0,-1.7),.3)
  3813. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  3814. RH.C0=clerp(RH.C0,cf(1,-.6,0)*euler(-.1,1.57,0)*euler(0,-1,0),.3)
  3815. LH.C0=clerp(LH.C0,cf(-1,-1,-0.3)*euler(-0.1,-2.3,0)*euler(0,0,0),.3)
  3816. end
  3817. hitbox2.Parent=model2
  3818. hitbox2.Size=vt(1,6,1)
  3819. hitbox2.Transparency=1
  3820. hitbox2.CFrame=prtd7.CFrame
  3821. con1=hitbox2.Touched:connect(function(hit) Damagefunc(hit,50,50,math.random(10000,50000),"Lifesteal",RootPart,.5,1) end)
  3822. so("http://roblox.com/asset/?id=28144425",prtd7,1,.5)
  3823. blcf=nil
  3824. scfr=nil
  3825. for i=0,1,0.1 do
  3826. swait()
  3827. local blcf = prtd7.CFrame*CFrame.new(0,-.5,0)
  3828. if scfr and (prtd7.Position-scfr.p).magnitude > .1 then
  3829. local h = 5
  3830. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3831. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3832. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3833. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3834. scfr = blcf
  3835. elseif not scfr then
  3836. scfr = blcf
  3837. end
  3838. hitbox2.CFrame=prtd7.CFrame
  3839. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,-0.8),.3)
  3840. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.7),.3)
  3841. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-.8,.6)*euler(0.5,0,.5),.3)
  3842. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  3843. RH.C0=clerp(RH.C0,cf(1,-.8,-0.3)*euler(-0.2,1.57,0),.3)
  3844. LH.C0=clerp(LH.C0,cf(-1,-.6,-0.2)*euler(0.2,-1.2,0)*euler(-.2,0,0),.3)
  3845. end
  3846. con1:disconnect()
  3847. hitbox2.Parent=nil
  3848. attack=false
  3849. end
  3850.  
  3851. function Demonattackthree()
  3852. attack=true
  3853. for i=0,1,0.1 do
  3854. swait()
  3855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.1,0,-0.2),.3)
  3856. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.4),.3)
  3857. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2.9,-1.8,0)*euler(.5,0,0),.3)
  3858. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  3859. RH.C0=clerp(RH.C0,cf(1,-.7,-.3)*euler(-0.2,1.57,0),.3)
  3860. LH.C0=clerp(LH.C0,cf(-1,-.7,0)*euler(0.2,-1.2,0)*euler(-.2,0,0),.3)
  3861. end
  3862. Humanoid.WalkSpeed=0
  3863. hitbox2.Parent=model2
  3864. hitbox2.Size=vt(1,6,1)
  3865. hitbox2.Transparency=1
  3866. hitbox2.CFrame=prtd7.CFrame
  3867. con1=hitbox2.Touched:connect(function(hit) Damagefunc(hit,50,50,math.random(10000,50000),"Lifesteal",RootPart,.5,1) end)
  3868. so("http://roblox.com/asset/?id=28144425",prtd7,1,.6)
  3869. blcf=nil
  3870. scfr=nil
  3871. for i=0,1,0.15 do
  3872. swait()
  3873. local blcf = prtd7.CFrame*CFrame.new(0,-.5,0)
  3874. if scfr and (prtd7.Position-scfr.p).magnitude > .1 then
  3875. local h = 5
  3876. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3877. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3878. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3879. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3880. scfr = blcf
  3881. elseif not scfr then
  3882. scfr = blcf
  3883. end
  3884. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,0.6),.4)
  3885. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,-0.6),.4)
  3886. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.55,-1.5,0)*euler(.3,0,0),.4)
  3887. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.4)
  3888. RH.C0=clerp(RH.C0,cf(1,-.1,-.4)*euler(0.4,1.57,0)*euler(-.2,0,0),.4)
  3889. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*euler(-0.2,-1.2,0)*euler(-.2,0,0),.4)
  3890. if i==0.6 then
  3891. hit,pos=rayCast(prtd8.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3892. if hit~=nil then
  3893. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  3894. ref.Anchored=true
  3895. ref.CFrame=cf(pos)
  3896. game:GetService("Debris"):AddItem(ref,3)
  3897. for i=1,5 do
  3898. Col=hit.BrickColor
  3899. local groundpart=part(3,workspace,0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  3900. groundpart.Anchored=true
  3901. groundpart.Material=hit.Material
  3902. groundpart.CanCollide=true
  3903. groundpart.CFrame=cf(pos)*cf(math.random(-200,200)/100,0,math.random(-200,200)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3904. game:GetService("Debris"):AddItem(groundpart,3)
  3905. end
  3906. so("http://roblox.com/asset/?id=157878578",ref,.6,1.5)
  3907. MagicWave(hit.BrickColor,cf(pos),1,1,1,.7,.7,.7,0.05)
  3908. MagniDamage(ref,50,50,50,math.random(10000,20000),"Normal")
  3909. end
  3910. end
  3911. end
  3912. con1:disconnect()
  3913. hitbox2.Parent=nil
  3914. swait(10)
  3915. Humanoid.WalkSpeed=16
  3916. attack=false
  3917. end
  3918.  
  3919. function LetItBuild()
  3920. attack=true
  3921. for i=0,1,0.1 do
  3922. swait()
  3923. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.2,0,-1),.3)
  3924. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1),.3)
  3925. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.5,-0.5,1.5)*euler(.6,0,.4),.3)
  3926. LW.C0=clerp(LW.C0,cf(0,0.5,-0.5)*euler(1.57,-1.57,0)*euler(1.5,0,0),.3)
  3927. RH.C0=clerp(RH.C0,cf(1,-.6,-.5)*euler(-0.2,2,0)*euler(0,0,0),.3)
  3928. LH.C0=clerp(LH.C0,cf(-1,-.2,0)*euler(0.5,-.6,0)*euler(-.4,0,0),.3)
  3929. end
  3930. local num=0
  3931. local magik=0
  3932. local num2=0
  3933. while holdx==true do
  3934. swait()
  3935. if magik<25 then
  3936. if num>=10 then
  3937. Humanoid:TakeDamage(0)
  3938. pos1=Torso.Position+vt(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100)
  3939. pos2=prtd8.Position--+vt(math.random(-50,50)/100,math.random(-50,50)/100,math.random(-50,50)/100)
  3940. Lightning(pos1,pos2,5,3,"Really red",.1,.5,.5)
  3941. MagicCircle(BrickColor.new("Really red"),cf(pos1),5,5,5,1,1,1,.1)
  3942. MagicBlood(BrickColor.new("Really red"),Torso.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,2,.1,0.05)
  3943. so("http://www.roblox.com/asset/?id=178452221",Torso,.1,1.5)
  3944. magik=magik+1
  3945. num=0
  3946. end
  3947. end
  3948. num=num+1
  3949. num2=num2+magik
  3950. if num2>=50 then
  3951. MagicBlood(BrickColor.new("Really Really black"),cf(prtd8.Position)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,1,.1,0.1)
  3952. num2=0
  3953. end
  3954. --MagicBlock(BrickColor.new("Really red"),cf(prtd8.Position)*cf(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),magik/5,magik/5,magik/5,magik/8,magik/8,magik/8,.1)
  3955. end
  3956. Torso.Velocity=RootPart.CFrame.lookVector*(10*magik)
  3957. blcf=nil
  3958. scfr=nil
  3959. hitbox2.Parent=model2
  3960. hitbox2.Size=vt(1,6,1)
  3961. hitbox2.Transparency=1
  3962. hitbox2.CFrame=prtd7.CFrame
  3963. con1=hitbox2.Touched:connect(function(hit) Damagefunc(hit,math.ceil((200000/200000)),magik,1,"Lifesteal",RootPart,.5,1) end)
  3964. for i=1,3 do
  3965. so("http://roblox.com/asset/?id=28144425",prtd7,1,1)
  3966. for i=0,1,0.1 do
  3967. swait()
  3968. hitbox2.CFrame=prtd7.CFrame
  3969. local blcf = prtd7.CFrame*CFrame.new(0,-.5,0)
  3970. if scfr and (prtd7.Position-scfr.p).magnitude > .1 then
  3971. local h = 5
  3972. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3973. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3974. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3975. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3976. scfr = blcf
  3977. elseif not scfr then
  3978. scfr = blcf
  3979. end
  3980. RootJoint.C0=RootCF*cf(0,0,-0.8)*euler(0,0,6.28*i)*euler(0.2,0,-1)
  3981. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.5,-0.5,1.5)*euler(.4,0,0),.3)
  3982. LW.C0=clerp(LW.C0,cf(0,0.5,-0.5)*euler(1.57,-1.57,0)*euler(1.5,0,0),.3)
  3983. RH.C0=clerp(RH.C0,cf(1,-.6,-.5)*euler(-0.2,2,0)*euler(0,0,0),.3)
  3984. LH.C0=clerp(LH.C0,cf(-1,-.2,0)*euler(0.5,-.6,0)*euler(-.4,0,0),.3)
  3985. end
  3986. end
  3987. con1:disconnect()
  3988. hitbox2.Parent=nil
  3989. attack=false
  3990. end
  3991.  
  3992. function YourMoveCreep()
  3993. attack=true
  3994. local pers=nil
  3995. for i=0,1,0.1 do
  3996. swait()
  3997. cost=Humanoid.Health-0
  3998. Humanoid:TakeDamage(0)
  3999. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.7)*euler(0.2,0,-1.3),.3)
  4000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0.2,1.3),.3)
  4001. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.8,-0.5,1)*euler(.5,0,0),.3)
  4002. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,-0.4,0)*euler(0,0,-1.7),.3)
  4003. RH.C0=clerp(RH.C0,cf(.1,-1,-.9)*euler(-0.2,1.57,0)*euler(-.7,1.57,0),.3)
  4004. LH.C0=clerp(LH.C0,cf(-.8,-.4,0)*euler(0.2,-1.2,0)*euler(-.2,1.4,0),.3)
  4005. end
  4006. local blockprt=part(3,Character,0,1,BrickColor.new("Really Really black"),"Block",vt(8,.1,8))
  4007. blockprt.Anchored=true
  4008. blockprt.CFrame=LeftArm.CFrame*cf(0,-1,0)
  4009. conbl=blockprt.Touched:connect(function(hit)
  4010. if hit.Parent.Parent:findFirstChild("Torso")~=nil then
  4011. hit=hit.Parent.Parent.Torso
  4012. end
  4013. if hit.Parent:findFirstChild("Torso")~=nil and hit.Parent~=Character and guard==true then
  4014. pers=hit
  4015. print("HIT")
  4016. guard=false
  4017. end
  4018. end)
  4019. num=0
  4020. while guard==true do
  4021. swait()
  4022. if num>10 then
  4023. num=0
  4024. MagicBlock(BrickColor.new("Really red"),LeftArm.CFrame*cf(0,-1,0),1,1,1,.7,.7,.7,0.05)
  4025. MagicCircle(BrickColor.new("Really Really black"),LeftArm.CFrame*cf(0,-1,0),1,.1,1,6,0,6,0.1)
  4026. end
  4027. blockprt.CFrame=LeftArm.CFrame*cf(0,-1,0)
  4028. num=num+1
  4029. end
  4030. conbl:disconnect()
  4031. blockprt.Parent=nil
  4032. print(pers)
  4033. if pers~=nil then
  4034. for i=0,1,0.1 do
  4035. swait()
  4036. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.7)*euler(-0.2,0,1.6),.3)
  4037. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,-0.2,-1),.3)
  4038. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.8,-1,1)*euler(1,0,0),.3)
  4039. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.5),.3)
  4040. RH.C0=clerp(RH.C0,cf(.1,-1,-.9)*euler(-0.2,1.57,0)*euler(-.7,-1.57,0),.3)
  4041. LH.C0=clerp(LH.C0,cf(-.8,-.4,0)*euler(0.2,-1.2,0)*euler(-.2,1.4,0),.3)
  4042. end
  4043. swait(200)
  4044. end
  4045. attack=false
  4046. end
  4047.  
  4048. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  4049. for _,c in pairs(workspace:children()) do
  4050. local hum=c:findFirstChild("Humanoid")
  4051. if hum~=nil then
  4052. local head=c:findFirstChild("Torso")
  4053. if head~=nil then
  4054. local targ=head.Position-Part.Position
  4055. local mag=targ.magnitude
  4056. if mag<=magni and c.Name~=Player.Name then
  4057. Damagefunc(head,mindam,maxdam,knock,Type,Part,.2,1,nil,1)
  4058. end
  4059. end
  4060. end
  4061. end
  4062. end
  4063.  
  4064. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  4065. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4066. end
  4067.  
  4068. local Point=Torso.CFrame*cf(0,Torso.Size.Y,0)
  4069. LastPoint=Point
  4070. function effect(Color,Ref,LP,P1,returnn)
  4071. local effectsmsh=Instance.new("CylinderMesh")
  4072. effectsmsh.Scale=Vector3.new(0.2,1,0.2)
  4073. effectsmsh.Name="Mesh"
  4074. local effectsg=Instance.new("Part")
  4075. effectsg.formFactor=3
  4076. effectsg.CanCollide=false
  4077. effectsg.Name="Eff"
  4078. effectsg.Locked=true
  4079. effectsg.Anchored=true
  4080. effectsg.Size=Vector3.new(0.5,1,0.5)
  4081. effectsg.Parent=workspace
  4082. effectsmsh.Parent=effectsg
  4083. effectsg.BrickColor=BrickColor.new(Color)
  4084. effectsg.Reflectance=Ref
  4085. local point1=P1
  4086. local mg=(LP.p - point1.p).magnitude
  4087. effectsg.Size=Vector3.new(0.5,mg,0.5)
  4088. effectsg.CFrame=cf((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  4089. effectsmsh.Scale=Vector3.new(0.2,1,0.2)
  4090. game:GetService("Debris"):AddItem(effectsg,2)
  4091. if returnn then return effectsg end
  4092. coroutine.resume(coroutine.create(function(Part,Mesh)
  4093. if not returnn then
  4094. for i=0,1,0.05 do
  4095. wait()
  4096. Part.Transparency=1*i
  4097. Mesh.Scale=Vector3.new(0.5-0.5*i,1,0.5-0.5*i)
  4098. end
  4099. Part.Parent=nil
  4100. end
  4101. end),effectsg,effectsmsh)
  4102. end
  4103.  
  4104. local function CFrameFromTopBack(at, top, back)
  4105. local right = top:Cross(back)
  4106. return CFrame.new(at.x, at.y, at.z,
  4107. right.x, top.x, back.x,
  4108. right.y, top.y, back.y,
  4109. right.z, top.z, back.z)
  4110. end
  4111.  
  4112. function Triangle(a, b, c)
  4113. local edg1 = (c-a):Dot((b-a).unit)
  4114. local edg2 = (a-b):Dot((c-b).unit)
  4115. local edg3 = (b-c):Dot((a-c).unit)
  4116. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  4117. a, b, c = a, b, c
  4118. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  4119. a, b, c = b, c, a
  4120. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  4121. a, b, c = c, a, b
  4122. else
  4123. assert(false, "unreachable")
  4124. end
  4125.  
  4126. local len1 = (c-a):Dot((b-a).unit)
  4127. local len2 = (b-a).magnitude - len1
  4128. local width = (a + (b-a).unit*len1 - c).magnitude
  4129.  
  4130. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  4131.  
  4132. local list = {}
  4133.  
  4134. if len2 > 0.01 then
  4135. end
  4136. return unpack(list)
  4137. end
  4138.  --[[
  4139. Things for effects
  4140. put the variables in one table
  4141. like effect={brick,interval,i}
  4142. ]]
  4143. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4144. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  4145. prt.Anchored=true
  4146. prt.CFrame=cframe
  4147. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4148. game:GetService("Debris"):AddItem(prt,5)
  4149. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  4150. --[[coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  4151. for i=0,1,delay do
  4152. wait()
  4153. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4154. Part.Transparency=i
  4155. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4156. end
  4157. Part.Parent=nil
  4158. end),prt,msh)]]
  4159. end
  4160.  
  4161. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4162. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  4163. prt.Anchored=true
  4164. prt.CFrame=cframe
  4165. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4166. game:GetService("Debris"):AddItem(prt,5)
  4167. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4168. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  4169. local wld=nil
  4170. for i=0,1,delay do
  4171. wait()
  4172. Part.CFrame=Part.CFrame
  4173. Part.Transparency=i
  4174. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4175. end
  4176. Part.Parent=nil
  4177. end),prt,msh)]]
  4178. end
  4179.  
  4180. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4181. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  4182. prt.Anchored=true
  4183. prt.CFrame=cframe
  4184. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4185. game:GetService("Debris"):AddItem(prt,5)
  4186. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4187. end
  4188.  
  4189. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4190. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4191. prt.Anchored=true
  4192. prt.CFrame=cframe
  4193. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4194. game:GetService("Debris"):AddItem(prt,5)
  4195. --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4196. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  4197. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  4198. for i=0,1,delay do
  4199. wait()
  4200. Part.CFrame=Part.CFrame
  4201. Part.Transparency=i
  4202. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4203. end
  4204. Part.Parent=nil
  4205. end),prt,msh)]]
  4206. end
  4207.  
  4208. function MagicCylinder2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4209. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4210. prt.Anchored=true
  4211. prt.CFrame=cframe
  4212. msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4213. game:GetService("Debris"):AddItem(prt,5)
  4214. --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4215. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  4216. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  4217. for i=0,1,delay do
  4218. wait()
  4219. Part.CFrame=Part.CFrame
  4220. Part.Transparency=i
  4221. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4222. end
  4223. Part.Parent=nil
  4224. end),prt,msh)]]
  4225. end
  4226.  
  4227. function MagicBlood(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4228. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  4229. prt.Anchored=true
  4230. prt.CFrame=cframe
  4231. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4232. game:GetService("Debris"):AddItem(prt,5)
  4233. table.insert(Effects,{prt,"Blood",delay,x3,y3,z3})
  4234. end
  4235.  
  4236. function ElecEffect(cff,x,y,z)
  4237. local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Part",vt(1,1,1))
  4238. prt.Anchored=true
  4239. prt.CFrame=cff*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z))
  4240. prt.CFrame=cf(prt.Position)
  4241. --prt.CFrame=cf(cff)*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z))
  4242. game:GetService("Debris"):AddItem(prt,2)
  4243. xval=math.random()/2
  4244. yval=math.random()/2
  4245. zval=math.random()/2
  4246. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(xval,yval,zval))
  4247. Effects[#Effects+1]={prt,"Elec",0.1,x,y,z,xval,yval,zval} --part, type, delay
  4248. end
  4249.  
  4250. function Lightning(p0,p1,tym,ofs,col,th,tra,last)
  4251. --[[p0=pos1
  4252. p1=pos2
  4253. tym=times
  4254. ofs=offset
  4255. col=color
  4256. th=size
  4257. tra=transparency
  4258. last=lastingtime]]
  4259. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  4260. for i=1,tym do
  4261. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  4262. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4263. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  4264. if tym == i then
  4265. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  4266. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  4267. else
  4268. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  4269. end
  4270. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,last)
  4271. end
  4272. end
  4273.  
  4274. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  4275.         if hit.Parent==nil then
  4276.                 return
  4277.         end
  4278.         h=hit.Parent:FindFirstChild("Humanoid")
  4279.         for _,v in pairs(hit.Parent:children()) do
  4280.         if v:IsA("Humanoid") then
  4281.         h=v
  4282.         end
  4283.         end
  4284.         if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  4285.         h=hit.Parent.Parent:FindFirstChild("Humanoid")
  4286.         end
  4287.         if hit.Parent.className=="Hat" then
  4288.         hit=hit.Parent.Parent:findFirstChild("Head")
  4289.         end
  4290.         -- and hit.Parent~=CannonTarget.Parent or hit.Parent~=RailgunTarget.Parent
  4291.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4292.         if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  4293.         --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4294.                         return
  4295.                 end]]
  4296. --                        hs(hit,1.2)
  4297.                         so("http://www.roblox.com/asset/?id=10209590",hit,1,math.random(50,100)/100)
  4298.                         --so("rbxasset://sounds\\unsheath.wav",hit,1,math.random(200,250)/100)
  4299.                         c=Instance.new("ObjectValue")
  4300.                         c.Name="creator"
  4301.                         c.Value=game:service("Players").LocalPlayer
  4302.                         c.Parent=h
  4303.                         game:GetService("Debris"):AddItem(c,.5)
  4304.                 Damage=math.random(minim,maxim)
  4305.                 if Mode=="Demon" then
  4306.                 Damage=Damage+damcount
  4307.                 end
  4308. --                h:TakeDamage()
  4309.                 blocked=false
  4310.                 block=hit.Parent:findFirstChild("Block")
  4311.                 if block~=nil then
  4312.                 print(block.className)
  4313.                 if block.className=="NumberValue" then
  4314.                 if block.Value>0 then
  4315.                 blocked=true
  4316.                 if decreaseblock==nil then
  4317.                 block.Value=block.Value-1
  4318.                 end
  4319.                 end
  4320.                 end
  4321.                 if block.className=="IntValue" then
  4322.                 if block.Value>0 then
  4323.                 blocked=true
  4324.                 if decreaseblock~=nil then
  4325.                 block.Value=block.Value-1
  4326.                 end
  4327.                 end
  4328.                 end
  4329.                 end
  4330.                 if blocked==false then
  4331. --                h:TakeDamage(Damage)
  4332.                 h.Health=h.Health-Damage
  4333.                 else
  4334.                 h.Health=h.Health-(Damage/0)
  4335.                 end
  4336.                 if Type=="Knockdown" then
  4337.                 hum=hit.Parent.Humanoid
  4338. hum.PlatformStand=true
  4339. coroutine.resume(coroutine.create(function(HHumanoid)
  4340. swait(1)
  4341. HHumanoid.PlatformStand=false
  4342. end),hum)
  4343.                 local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  4344. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4345. local bodvol=Instance.new("BodyVelocity")
  4346. bodvol.velocity=angle*knockback
  4347. bodvol.P=5000
  4348. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4349. bodvol.Parent=hit
  4350. rl=Instance.new("BodyAngularVelocity")
  4351. rl.P=3000
  4352. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4353. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4354. rl.Parent=hit
  4355. game:GetService("Debris"):AddItem(bodvol,.5)
  4356. game:GetService("Debris"):AddItem(rl,.5)
  4357.                 elseif Type=="Normal" then
  4358.                 vp=Instance.new("BodyVelocity")
  4359.                 vp.P=500
  4360.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4361. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4362.                 if KnockbackType==1 then
  4363.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/100
  4364.                 elseif KnockbackType==2 then
  4365.                 vp.velocity=Property.CFrame.lookVector*knockback
  4366.                 end
  4367.                 if knockback>-100 then
  4368.                         vp.Parent=hit.Parent.Torso
  4369.                 end
  4370.                 game:GetService("Debris"):AddItem(vp,.5)
  4371.                 elseif Type=="Lifesteal" then
  4372.                 for i=1,5 do
  4373.                 MagicBlood(BrickColor.new("Really red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,2,.1,0.05)
  4374.                 end
  4375.                 vp=Instance.new("BodyVelocity")
  4376.                 vp.P=500
  4377.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4378.                 if KnockbackType==1 then
  4379.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/250
  4380.                 elseif KnockbackType==2 then
  4381.                 vp.velocity=Property.CFrame.lookVector*knockback
  4382.                 end
  4383.                 if knockback>-250 then
  4384.                         vp.Parent=hit.Parent.Torso
  4385.                 end
  4386.                 game:GetService("Debris"):AddItem(vp,.5)
  4387.                 Heal=math.ceil(Damage/25100)
  4388.                 Humanoid.Health=Humanoid.Health+Heal
  4389.                 elseif Type=="Up" then
  4390.                 local bodyVelocity=Instance.new("BodyVelocity")
  4391.                 bodyVelocity.velocity=vt(0,30,0)
  4392.                 bodyVelocity.P=5000
  4393.                 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4394.                 bodyVelocity.Parent=hit
  4395.                 game:GetService("Debris"):AddItem(bodyVelocity,1)
  4396.                 rl=Instance.new("BodyAngularVelocity")
  4397.                 rl.P=3000
  4398.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4399.                 rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  4400.                 rl.Parent=hit
  4401.                 game:GetService("Debris"):AddItem(rl,.5)
  4402.                 elseif Type=="Snare" then
  4403.                 bp=Instance.new("BodyPosition")
  4404.                 bp.P=2000
  4405.                 bp.D=100
  4406.                 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4407.                 bp.position=hit.Parent.Torso.Position
  4408.                 bp.Parent=hit.Parent.Torso
  4409.                 game:GetService("Debris"):AddItem(bp,1)
  4410.                 elseif Type=="Charge" then
  4411.                 Charge=Charge+1
  4412.                 coroutine.resume(coroutine.create(function(Part)
  4413.                 swait(30)
  4414.                 for i=1,5 do
  4415.                 swait(5)
  4416.                 so("rbxasset://sounds\\unsheath.wav",hit,1,2)
  4417.                 MagicCircle(BrickColor.new("Bright red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
  4418.                 newdam=math.random(1,5)
  4419.                 if blocked==false then
  4420.                 h:TakeDamage()
  4421.                 else
  4422.                 h:TakeDamage(newdam/0)
  4423.                 end
  4424.                 end
  4425.                 end),hit)
  4426.                 end
  4427.                         debounce=Instance.new("BoolValue")
  4428.                         debounce.Name="DebounceHit"
  4429.                         debounce.Parent=hit.Parent
  4430.                         debounce.Value=true
  4431.                         game:GetService("Debris"):AddItem(debounce,Delay)
  4432.                         c=Instance.new("ObjectValue")
  4433.                         c.Name="creator"
  4434.                         c.Value=Player
  4435.                         c.Parent=h
  4436.                         game:GetService("Debris"):AddItem(c,.5)
  4437.                 CRIT=false
  4438.                 hitDeb=true
  4439.                 AttackPos=6
  4440.         end
  4441. end
  4442.  
  4443. showDamage=function(Char,Dealt,du,Color)
  4444.         m=Instance.new("Model")
  4445.         m.Name=tostring(Dealt)
  4446.         h=Instance.new("Humanoid")
  4447.         h.Health=0
  4448.         h.MaxHealth=0
  4449.         h.Parent=m
  4450.         c=Instance.new("Part")
  4451.         c.Transparency=1
  4452.         c.BrickColor=Color
  4453.         c.Name="Head"
  4454.         c.TopSurface=0
  4455.         c.BottomSurface=0
  4456.         c.formFactor="Plate"
  4457.         c.Size=Vector3.new(1,.4,1)
  4458.         ms=Instance.new("CylinderMesh")
  4459.         ms.Scale=Vector3.new(.8,.8,.8)
  4460.         if CRIT==true then
  4461.                 ms.Scale=Vector3.new(1,1.25,1)
  4462.         end
  4463.         ms.Parent=c
  4464.         c.Reflectance=0
  4465.         Instance.new("BodyGyro").Parent=c
  4466.         c.Parent=m
  4467.         if Char:findFirstChild("Head")~=nil then
  4468.         c.CFrame=cf(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4469.         elseif Char.Parent:findFirstChild("Head")~=nil then
  4470.         c.CFrame=cf(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4471.         end
  4472.         f=Instance.new("BodyPosition")
  4473.         f.P=2000
  4474.         f.D=100
  4475.         f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4476.         f.position=c.Position+Vector3.new(0,3,0)
  4477.         f.Parent=c
  4478.         game:GetService("Debris"):AddItem(m,.5+du)
  4479.         c.CanCollide=false
  4480.         m.Parent=workspace
  4481.         c.CanCollide=false
  4482. end
  4483.  
  4484. combo=0
  4485. function ob1d(mouse)
  4486. hold=true
  4487. if attack==true or equipped==false then return end
  4488. if Mode=="Binary" then
  4489. idle=0
  4490. if Anim=="Run" then
  4491. SpinSlash()
  4492. else
  4493. if combo==0 then
  4494. combo=1
  4495. attackone()
  4496. elseif combo==1 then
  4497. combo=2
  4498. attacktwo()
  4499. elseif combo==2 then
  4500. combo=0
  4501. attackthree()
  4502. end
  4503. end
  4504. else
  4505. if combo==0 then
  4506. combo=1
  4507. Demonattackone()
  4508. elseif combo==1 then
  4509. combo=2
  4510. Demonattacktwo()
  4511. elseif combo==2 then
  4512. combo=0
  4513. Demonattackthree()
  4514. end
  4515. end
  4516. coroutine.resume(coroutine.create(function()
  4517. for i=1,20 do
  4518. if attack==false then
  4519. swait()
  4520. end
  4521. end
  4522. if attack==false then
  4523. combo=0
  4524. --equipanim()
  4525. end
  4526. end))
  4527. end
  4528.  
  4529. function ob1u(mouse)
  4530. hold = false
  4531. end
  4532.  
  4533. buttonhold = false
  4534.  
  4535. eul=0
  4536. holdx=false
  4537. equipped=false
  4538. function key(key)
  4539. if key=="c" then
  4540. if guard==true then
  4541. guard=false
  4542. else
  4543. guard=true
  4544. end
  4545. end
  4546. if key=="x" then
  4547. holdx=true
  4548. end
  4549. if attack==true then return end
  4550. if key=="f" then
  4551. if equipped==false then
  4552. equipped=true
  4553. RSH=ch.Torso["Right Shoulder"]
  4554. LSH=ch.Torso["Left Shoulder"]
  4555. --
  4556. RSH.Parent=nil
  4557. LSH.Parent=nil
  4558. --
  4559. RW.Name="Right Shoulder"
  4560. RW.Part0=ch.Torso
  4561. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  4562. RW.C1=cf(0, 0.5, 0)
  4563. RW.Part1=ch["Right Arm"]
  4564. RW.Parent=ch.Torso
  4565. --
  4566. LW.Name="Left Shoulder"
  4567. LW.Part0=ch.Torso
  4568. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  4569. LW.C1=cf(0, 0.5, 0)
  4570. LW.Part1=ch["Left Arm"]
  4571. LW.Parent=ch.Torso
  4572. --
  4573. equipanim()
  4574. else
  4575. equipped=false
  4576. hideanim()
  4577. swait(0)
  4578. RW.Parent=nil
  4579. LW.Parent=nil
  4580. RSH.Parent=player.Character.Torso
  4581. LSH.Parent=player.Character.Torso
  4582. end
  4583. end
  4584. if equipped==false then return end
  4585. if Mode=="Binary" then
  4586. if key=="q" then
  4587. idle=500
  4588. end
  4589. if key=="z" and hitfloor~=nil then
  4590. BinarySwing()
  4591. end
  4592. if key=="x" then
  4593. BinaryImpulse()
  4594. end
  4595. if key=="c" then
  4596. Bash()
  4597. end
  4598. if key=="v" then
  4599. UnleashTheDemon()
  4600. end
  4601. end
  4602. if Mode=="Demon" then
  4603. if key=="x" then
  4604. LetItBuild()
  4605. end
  4606. if key=="c" then
  4607. YourMoveCreep()
  4608. end
  4609. end
  4610. if key=="0" then
  4611. Humanoid.WalkSpeed=(180)
  4612. end
  4613. end
  4614.  
  4615. function key2(key)
  4616. if key=="0" then
  4617. Humanoid.WalkSpeed=16
  4618. end
  4619. if key=="x" then
  4620. holdx=false
  4621. end
  4622. end
  4623.  
  4624. function s(mouse)
  4625. mouse.Button1Down:connect(function() ob1d(mouse) end)
  4626. mouse.Button1Up:connect(function() ob1u(mouse) end)
  4627. mouse.KeyDown:connect(key)
  4628. mouse.KeyUp:connect(key2)
  4629.  
  4630. player=Player
  4631. ch=Character
  4632. MMouse=mouse
  4633. end
  4634.  
  4635. function ds(mouse)
  4636. end
  4637.  
  4638. Bin.Selected:connect(s)
  4639. Bin.Deselected:connect(ds)
  4640. print("Fixer the Demon Mercenary loaded.")
  4641.  
  4642. local thenum=0
  4643. while true do
  4644. swait()
  4645. if Mode=="Demon" then
  4646. if thenum>=5 then
  4647. ElecEffect(prtd7.CFrame,2,4,2)
  4648. thenum=0
  4649. end
  4650. thenum=thenum+1
  4651. for _,c in pairs(Character:children()) do
  4652. for _,v in pairs(c:children()) do
  4653. if v.className=="BodyGyro" or v.className=="BodyPosition" or v.className=="BodyVelocity" or v.className=="BodyAngularVelocity" then
  4654. if v.Name~="FixerVel" and v.Name~="FixerGyro" then
  4655. v.Parent=nil
  4656. end
  4657. end
  4658. end
  4659. end
  4660. end
  4661. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4662. local velderp=RootPart.Velocity.y
  4663. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4664. if equipped==true then
  4665. if Anim=="Idle" and attack==false and Mode=="Binary" then
  4666. idle=idle+1
  4667. else
  4668. idle=0
  4669. end
  4670. if idleanim>=0.3 then
  4671. idleanim2=true
  4672. elseif idleanim<=0 then
  4673. idleanim2=false
  4674. end
  4675. if idleanim2==false then
  4676. if Anim=="Walk" then
  4677. idleanim=idleanim+0.005
  4678. elseif Anim=="Idle" then
  4679. idleanim=idleanim+0.003
  4680. end
  4681. else
  4682. if Anim=="Walk" then
  4683. idleanim=idleanim-0.005
  4684. elseif Anim=="Idle" then
  4685. idleanim=idleanim-0.003
  4686. end
  4687. end
  4688. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4689. Anim="Jump"
  4690. if attack==false and Mode=="Binary" then
  4691. wld1.C0=clerp(wld1.C0,euler(0.4,0,-0.5)*cf(0,1,0),.3)
  4692. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(3,0,-0.2),.3)
  4693. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.5),.3)
  4694. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  4695. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4696. RH.C0=clerp(RH.C0,cf(1,-0.5,-1)*euler(-0.5,1.57,0),.2)
  4697. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.7,-1.57,0),.2)
  4698. end
  4699. if attack==false and Mode=="Demon" then
  4700. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,0),.3)
  4701. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  4702. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.8,-0.5,.8)*euler(.1,0,0),.3)
  4703. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  4704. RH.C0=clerp(RH.C0,cf(1,-.7,-.1)*euler(0.1,1.57,0),.3)
  4705. LH.C0=clerp(LH.C0,cf(-1,-.3,-.2)*euler(0.4,-1.57,0)*euler(0,0,0),.3)
  4706. end
  4707. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4708. Anim="Fall"
  4709. if attack==false and Mode=="Binary" then
  4710. wld1.C0=clerp(wld1.C0,euler(0.4,0,-0.5)*cf(0,1,0),.3)
  4711. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2.6,0,-0.2),.3)
  4712. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.5),.3)
  4713. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.4,0,0),.3)
  4714. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4715. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  4716. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  4717. end
  4718. if attack==false and Mode=="Demon" then
  4719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,0),.3)
  4720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.2,0,0),.3)
  4721. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.6,0,.5),.3)
  4722. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-1),.3)
  4723. RH.C0=clerp(RH.C0,cf(1,-.7,-.1)*euler(-0.1,1.57,0),.3)
  4724. LH.C0=clerp(LH.C0,cf(-1,-.6,-.2)*euler(0.8,-1.57,0)*euler(0,0,0),.3)
  4725. end
  4726. elseif torvel<1 and hitfloor~=nil then
  4727. if Anim=="Fall" then
  4728. if velderp<=-70 then
  4729. coroutine.resume(coroutine.create(function()
  4730. Stomp()
  4731. end))
  4732. end
  4733. end
  4734. Anim="Idle"
  4735. if idle<=500 then
  4736. if attack==false and Mode=="Binary" then
  4737. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.3)
  4738. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.5),.3)
  4739. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.5),.3)
  4740. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1-(idleanim/4),-0.5+idleanim,-0.7+(idleanim/2)),.3)
  4741. LW.C0=clerp(LW.C0,cf(-1+idleanim,0.5-idleanim,-0.5)*euler(1-idleanim,-0.5+idleanim,0.5),.3)
  4742. RH.C0=clerp(RH.C0,RHC0,.2)
  4743. LH.C0=clerp(LH.C0,LHC0,.2)
  4744. end
  4745. if attack==false and Mode=="Demon" then
  4746. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-idleanim)*euler(0.4+(idleanim/2),0,-0.4),.3)
  4747. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-idleanim/2,0,0.4),.3)
  4748. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.1+idleanim,0,0),.3)
  4749. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.2,0,-0.2-idleanim),.3)
  4750. RH.C0=clerp(RH.C0,cf(1,-1,-idleanim)*euler(-0.2-(idleanim/2),1.57,0),.3)
  4751. LH.C0=clerp(LH.C0,cf(-1,-.5+idleanim,0)*euler(0.5+(idleanim/2),-1.2,0)*euler(-.2,0,0),.3)
  4752. end
  4753. else
  4754. if attack==false and Mode=="Binary" then
  4755. --wld1.C0=clerp(wld1.C0,euler(.2,0,0.1)*cf(0,.8,.3),.1)
  4756. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-.3),.1)
  4757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1+(idleanim/2),0,0),.1)
  4758. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)*euler(0.1,0,0),.1)
  4759. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.7,0,1.5),.1)
  4760. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,.2),.1)
  4761. LW.C0=clerp(LW.C0,cf(-1.2,0.5,-0.3)*euler(1.4,0,.8),.1)
  4762. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1.2,1.57,0),.15)
  4763. LH.C0=clerp(LH.C0,cf(-1.1,0.4,-0.8)*euler(-0.05,-1.57,0),.15)
  4764. end
  4765. end
  4766. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4767. if Anim=="Fall" then
  4768. if velderp<=-70 then
  4769. coroutine.resume(coroutine.create(function()
  4770. Stomp()
  4771. end))
  4772. end
  4773. end
  4774. Anim="Walk"
  4775. if attack==false and Mode=="Binary" then
  4776. wld1.C0=clerp(wld1.C0,euler(0.4,0,-0.5)*cf(0,1,0),.2)
  4777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  4778. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  4779. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  4780. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(3-idleanim,0,-0.2+(idleanim/2)),.2)
  4781. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.57,-(idleanim/2),1.3-(idleanim/2)),.2)
  4782. RH.C0=clerp(RH.C0,RHC0,.3)
  4783. LH.C0=clerp(LH.C0,LHC0,.3)
  4784. end
  4785. if attack==false and Mode=="Demon" then
  4786. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,0),.3)
  4787. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  4788. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.5,-0.5,1.5)*euler(.2,0,.2+idleanim),.3)
  4789. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(idleanim,0,-0.2),.3)
  4790. RH.C0=clerp(RH.C0,cf(1,-.5,0)*euler(0.2,1.57,0),.3)
  4791. LH.C0=clerp(LH.C0,cf(-1,-.5,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  4792. end
  4793. elseif torvel>=22 and hitfloor~=nil then
  4794. if Anim=="Fall" then
  4795. if velderp<=-70 then
  4796. coroutine.resume(coroutine.create(function()
  4797. Stomp()
  4798. end))
  4799. end
  4800. end
  4801. Anim="Run"
  4802. if attack==false and Mode=="Binary" then
  4803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.3,0,0.5),.4)
  4804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*euler(0.5,0,-0.5),.4)
  4805. wld1.C0=clerp(wld1.C0,euler(1.57,0,0)*cf(0,1,-0.3),.4)
  4806. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,-0.8,-0.2),.4)
  4807. LW.C0=clerp(LW.C0,cf(-.7,0.5,-0.7)*euler(1.2,-0.5,0.8),.4)
  4808. RH.C0=clerp(RH.C0,RHC0*cf(0,0,0)*euler(0.2,0.2,.5),.3)
  4809. --LH.C0=clerp(LH.C0,LHC0*cf(.5,0.5,-.2)*euler(-0.5,0.5,-0.7),.3)
  4810. LH.C0=clerp(LH.C0,LHC0*cf(.5,0.2,0)*euler(0,.5,0.2),.3)
  4811. end
  4812. if attack==false and Mode=="Demon" then
  4813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,-0.4),.3)
  4814. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,.4),.3)
  4815. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.5,-0.5,1.5)*euler(.2,0,.4),.3)
  4816. LW.C0=clerp(LW.C0,cf(0,0.5,-0.5)*euler(1.57,-1.57,0)*euler(1.5,0,0),.3)
  4817. RH.C0=clerp(RH.C0,cf(1,-.3,-.5)*euler(-0.2,2,0)*euler(0,0,0),.3)
  4818. LH.C0=clerp(LH.C0,cf(-1,-.2,0)*euler(0.5,-1.2,0)*euler(-.2,0,0),.3)
  4819. end
  4820. end
  4821. end
  4822. if #Effects>0 then
  4823. --table.insert(Effects,{prt,"Block1",delay})
  4824. for e=1,#Effects do
  4825. if Effects[e]~=nil then
  4826. --for j=1,#Effects[e] do
  4827. local Thing=Effects[e]
  4828. if Thing~=nil then
  4829. local Part=Thing[1]
  4830. local Mode=Thing[2]
  4831. local Delay=Thing[3]
  4832. local IncX=Thing[4]
  4833. local IncY=Thing[5]
  4834. local IncZ=Thing[6]
  4835. if Thing[1].Transparency<=1 then
  4836. if Thing[2]=="Block1" then
  4837. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4838. Mesh=Thing[1].Mesh
  4839. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4840. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4841. elseif Thing[2]=="Cylinder" then
  4842. Mesh=Thing[1].Mesh
  4843. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4844. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4845. elseif Thing[2]=="Blood" then
  4846. Mesh=Thing[1].Mesh
  4847. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  4848. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4849. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4850. elseif Thing[2]=="Elec" then
  4851. Mesh=Thing[1].Mesh
  4852. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  4853. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4854. elseif Thing[2]=="Disappear" then
  4855. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4856. end
  4857. else
  4858. Part.Parent=nil
  4859. table.remove(Effects,e)
  4860. end
  4861. end
  4862. --end
  4863. end
  4864. end
  4865. end
  4866. end
  4867. end)
  4868. ------------------------------------Knife---------------------------------------
  4869. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton5.MouseButton1Down:connect(function()
  4870.     me = game.Players.LocalPlayer
  4871.  
  4872. char = me.Character
  4873.  
  4874. selected = false
  4875.  
  4876. attacking = false
  4877.  
  4878. hurt = false
  4879.  
  4880. grabbed = nil
  4881.  
  4882. mode = "drop"
  4883.  
  4884. bloodcolors = {"Really red", "Bright red"}
  4885.  
  4886.  
  4887.  
  4888. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  4889.  
  4890. part.Parent = parent
  4891.  
  4892. part.formFactor = form
  4893.  
  4894. part.CanCollide = collide
  4895.  
  4896. part.Transparency = tran
  4897.  
  4898. part.Reflectance = ref
  4899.  
  4900. part.Size = Vector3.new(x,y,z)
  4901.  
  4902. part.BrickColor = BrickColor.new(color)
  4903.  
  4904. part.TopSurface = 0
  4905.  
  4906. part.BottomSurface = 0
  4907.  
  4908. part.Anchored = anchor
  4909.  
  4910. part.Locked = true
  4911.  
  4912. part:BreakJoints()
  4913.  
  4914. end
  4915.  
  4916.  
  4917. function weld(w, p, p1, a, b, c, x, y, z)
  4918.  
  4919. w.Parent = p
  4920.  
  4921. w.Part0 = p
  4922.  
  4923. w.Part1 = p1
  4924.  
  4925. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  4926.  
  4927. end
  4928.  
  4929.  
  4930. function mesh(mesh, parent, x, y, z, type)
  4931.  
  4932. mesh.Parent = parent
  4933.  
  4934. mesh.Scale = Vector3.new(x, y, z)
  4935.  
  4936. mesh.MeshType = type
  4937.  
  4938. end
  4939.  
  4940.  
  4941. function remgui()
  4942.  
  4943. for _,v in pairs(me.PlayerGui:GetChildren()) do
  4944.  
  4945. if v.Name == "Modeshow" then
  4946.  
  4947. v:remove()
  4948.  
  4949. end
  4950.  
  4951. end
  4952.  
  4953. end
  4954.  
  4955.  
  4956. function inform(text,delay)
  4957.  
  4958. remgui()
  4959.  
  4960. local sc = Instance.new("ScreenGui")
  4961.  
  4962. sc.Parent = me.PlayerGui
  4963.  
  4964. sc.Name = "Modeshow"
  4965.  
  4966. local bak = Instance.new("Frame",sc)
  4967.  
  4968. bak.BackgroundColor3 = Color3.new(1,1,1)
  4969.  
  4970. bak.Size = UDim2.new(0.94,0,0.1,0)
  4971.  
  4972. bak.Position = UDim2.new(0.03,0,0.037,0)
  4973.  
  4974. bak.BorderSizePixel = 0
  4975.  
  4976. local gi = Instance.new("TextLabel",sc)
  4977.  
  4978. gi.Size = UDim2.new(0.92,0,0.09,0)
  4979.  
  4980. gi.BackgroundColor3 = Color3.new(0,0,0)
  4981.  
  4982. gi.Position = UDim2.new(0.04,0,0.042,0)
  4983.  
  4984. gi.TextColor3 = Color3.new(1,1,1)
  4985.  
  4986. gi.FontSize = "Size12"
  4987.  
  4988. gi.Text = text
  4989.  
  4990. coroutine.resume(coroutine.create(function()
  4991.  
  4992. wait(delay)
  4993.  
  4994. sc:remove()
  4995.  
  4996. end))
  4997.  
  4998. end
  4999.  
  5000.  
  5001. if char:findFirstChild("Bricks",true) then
  5002.  
  5003. char:findFirstChild("Bricks",true):remove()
  5004.  
  5005. end
  5006.  
  5007.  
  5008. bricks = Instance.new("Model",me.Character)
  5009.  
  5010. bricks.Name = "Bricks"
  5011.  
  5012.  
  5013. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  5014.  
  5015.  
  5016. rarm = char:findFirstChild("Right Arm")
  5017.  
  5018. larm = char:findFirstChild("Left Arm")
  5019.  
  5020. lleg = char:findFirstChild("Left Leg")
  5021.  
  5022. torso = char:findFirstChild("Torso")
  5023.  
  5024. hum = char:findFirstChild("Humanoid")
  5025.  
  5026.  
  5027. righthold = Instance.new("Part")
  5028.  
  5029. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  5030.  
  5031. w11 = Instance.new("Weld")
  5032.  
  5033. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  5034.  
  5035.  
  5036. lefthold = Instance.new("Part")
  5037.  
  5038. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  5039.  
  5040. w12 = Instance.new("Weld")
  5041.  
  5042. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  5043.  
  5044.  
  5045. hold = Instance.new("Part")
  5046.  
  5047. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Really red", false, "Custom")
  5048.  
  5049. oh = Instance.new("Weld")
  5050.  
  5051. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  5052.  
  5053.  
  5054. knife = Instance.new("Part")
  5055.  
  5056. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Really black", false, "Custom")
  5057.  
  5058. orr = Instance.new("Weld")
  5059.  
  5060. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  5061.  
  5062. ar = Instance.new("Weld")
  5063.  
  5064. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  5065.  
  5066.  
  5067.  
  5068. blade = Instance.new("Part")
  5069.  
  5070. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  5071.  
  5072. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  5073.  
  5074. w2 = Instance.new("Weld")
  5075.  
  5076. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  5077.  
  5078.  
  5079. blade2 = Instance.new("Part")
  5080.  
  5081. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  5082.  
  5083. local mew = Instance.new("SpecialMesh",blade2)
  5084.  
  5085. mew.MeshType = "Wedge"
  5086.  
  5087. mew.Scale = Vector3.new(0.3,1,1)
  5088.  
  5089. w3 = Instance.new("Weld")
  5090.  
  5091. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097. rb = Instance.new("Part")
  5098.  
  5099. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  5100.  
  5101. w13 = Instance.new("Weld")
  5102.  
  5103. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  5104.  
  5105.  
  5106. lb = Instance.new("Part")
  5107.  
  5108. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  5109.  
  5110. w14 = Instance.new("Weld")
  5111.  
  5112. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  5113.  
  5114.  
  5115. rw = Instance.new("Weld")
  5116.  
  5117. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  5118.  
  5119.  
  5120. lw = Instance.new("Weld")
  5121.  
  5122. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  5123.  
  5124.  
  5125. grabweld = nil
  5126.  
  5127. platlol = nil
  5128.  
  5129. lolhum = nil
  5130.  
  5131.  
  5132. function touch(h)
  5133.  
  5134. if hurt then
  5135.  
  5136. if grabbed == nil then
  5137.  
  5138. local hu = h.Parent:findFirstChild("Humanoid")
  5139.  
  5140. local head = h.Parent:findFirstChild("Head")
  5141.  
  5142. local torz = h.Parent:findFirstChild("Torso")
  5143.  
  5144. if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  5145.  
  5146. if hu.Health > 0 then
  5147.  
  5148. grabbed = torz
  5149.  
  5150. hu.PlatformStand = true
  5151.  
  5152. local w = Instance.new("Weld")
  5153.  
  5154. weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  5155.  
  5156. grabweld = w
  5157.  
  5158. lolhum = hu
  5159.  
  5160. local lolxd = true
  5161.  
  5162. platlol = lolxd
  5163.  
  5164. hu.Changed:connect(function(prop)
  5165.  
  5166. if prop == "PlatformStand" and platlol then
  5167.  
  5168. hu.PlatformStand = true
  5169.  
  5170. end
  5171.  
  5172. end)
  5173.  
  5174. end
  5175.  
  5176. end
  5177.  
  5178. end
  5179.  
  5180. end
  5181.  
  5182. end
  5183.  
  5184.  
  5185. righthold.Touched:connect(touch)
  5186.  
  5187. lefthold.Touched:connect(touch)
  5188.  
  5189.  
  5190. function bleed(part,po)
  5191.  
  5192. local lol1 = math.random(5,30)/100
  5193.  
  5194. local lol2 = math.random(5,30)/100
  5195.  
  5196. local lol3 =math.random(5,30)/100
  5197.  
  5198. local lol4 = math.random(1,#bloodcolors)
  5199.  
  5200. local p = Instance.new("Part")
  5201.  
  5202. prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  5203.  
  5204. p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  5205.  
  5206. p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  5207.  
  5208. p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  5209.  
  5210. coroutine.resume(coroutine.create(function()
  5211.  
  5212. wait(3)
  5213.  
  5214. p:remove()
  5215.  
  5216. end))
  5217.  
  5218. end
  5219.  
  5220.  
  5221. if script.Parent.className ~= "HopperBin" then
  5222.  
  5223. h = Instance.new("HopperBin",me.Backpack)
  5224.  
  5225. h.Name = "Grab"
  5226.  
  5227. script.Parent = h
  5228.  
  5229. end
  5230.  
  5231.  
  5232. bin = script.Parent
  5233.  
  5234.  
  5235. function select(mouse)
  5236.  
  5237. orr.Part1 = nil
  5238.  
  5239. ar.Part1 = knife
  5240.  
  5241. mouse.Button1Down:connect(function()
  5242.  
  5243. if attacking == false then
  5244.  
  5245. attacking = true
  5246.  
  5247. lw.Part1 = larm
  5248.  
  5249. rw.Part1 = rarm
  5250.  
  5251. hurt = true
  5252.  
  5253. for i=1, 8 do
  5254.  
  5255. rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  5256.  
  5257. lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  5258.  
  5259. wait()
  5260.  
  5261. end
  5262.  
  5263. wait(1)
  5264.  
  5265. hurt = false
  5266.  
  5267. if grabbed == nil then
  5268.  
  5269. for i=1, 4 do
  5270.  
  5271. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  5272.  
  5273. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  5274.  
  5275. wait()
  5276.  
  5277. end
  5278.  
  5279. lw.C0 = CFrame.new(0,0,0)
  5280.  
  5281. rw.C0 = CFrame.new(0,0,0)
  5282.  
  5283. lw.Part1 = nil
  5284.  
  5285. rw.Part1 = nil
  5286.  
  5287. attacking = false
  5288.  
  5289. end
  5290.  
  5291. elseif hurt == false and grabbed ~= nil and mode == "drop" then
  5292.  
  5293. grabweld:remove()
  5294.  
  5295. grabweld = nil
  5296.  
  5297. platlol = false
  5298.  
  5299. grabbed = nil
  5300.  
  5301. lolhum.PlatformStand = false
  5302.  
  5303. lolhum = nil
  5304.  
  5305. for i=1, 4 do
  5306.  
  5307. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  5308.  
  5309. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  5310.  
  5311. wait()
  5312.  
  5313. end
  5314.  
  5315. lw.C0 = CFrame.new(0,0,0)
  5316.  
  5317. rw.C0 = CFrame.new(0,0,0)
  5318.  
  5319. lw.Part1 = nil
  5320.  
  5321. rw.Part1 = nil
  5322.  
  5323. attacking = false
  5324.  
  5325. platlol = nil
  5326.  
  5327. elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  5328.  
  5329. grabweld:remove()
  5330.  
  5331. grabweld = nil
  5332.  
  5333. local bf = Instance.new("BodyForce",grabbed)
  5334.  
  5335. bf.force = torso.CFrame.lookVector * 8500
  5336.  
  5337. bf.force = bf.force + Vector3.new(0,7400,0)
  5338.  
  5339. coroutine.resume(coroutine.create(function()
  5340.  
  5341. wait(0.12)
  5342.  
  5343. bf:remove()
  5344.  
  5345. end))
  5346.  
  5347. for i=1, 6 do
  5348.  
  5349. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  5350.  
  5351. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  5352.  
  5353. wait()
  5354.  
  5355. end
  5356.  
  5357. for i=1, 4 do
  5358.  
  5359. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  5360.  
  5361. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  5362.  
  5363. wait()
  5364.  
  5365. end
  5366.  
  5367. wait(0.2)
  5368.  
  5369. platlol = false
  5370.  
  5371. grabbed = nil
  5372.  
  5373. lolhum.PlatformStand = false
  5374.  
  5375. lolhum = nil
  5376.  
  5377. for i=1, 4 do
  5378.  
  5379. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  5380.  
  5381. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  5382.  
  5383. wait()
  5384.  
  5385. end
  5386.  
  5387. lw.C0 = CFrame.new(0,0,0)
  5388.  
  5389. rw.C0 = CFrame.new(0,0,0)
  5390.  
  5391. lw.Part1 = nil
  5392.  
  5393. rw.Part1 = nil
  5394.  
  5395. attacking = false
  5396.  
  5397. platlol = nil
  5398.  
  5399. elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  5400.  
  5401. for i=1, 5 do
  5402.  
  5403. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  5404.  
  5405. wait()
  5406.  
  5407. end
  5408.  
  5409. local ne = grabbed:findFirstChild("Neck")
  5410.  
  5411. coroutine.resume(coroutine.create(function()
  5412.  
  5413. local duh = grabbed
  5414.  
  5415. local duh2 = grabbed.Parent.Head
  5416.  
  5417. local lolas = lolhum
  5418.  
  5419. duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  5420.  
  5421. for i=1, 60 do
  5422.  
  5423. wait()
  5424.  
  5425. local hm = math.random(1,9)
  5426.  
  5427. pcall(function()
  5428.  
  5429. if hm == 1 then
  5430.  
  5431. duh2.Sound.Pitch = math.random(90,110)/100
  5432.  
  5433. duh2.Sound:play()
  5434.  
  5435. end
  5436.  
  5437. end)
  5438.  
  5439. if hm > 0 and hm < 3 then
  5440.  
  5441. bleed(duh,1)
  5442.  
  5443. bleed(duh2,-0.5)
  5444.  
  5445. end
  5446.  
  5447. end
  5448.  
  5449. lolas.Health = 0
  5450.  
  5451. for i=1, 85 do
  5452.  
  5453. wait()
  5454.  
  5455. local hm = math.random(1,9)
  5456.  
  5457. pcall(function()
  5458.  
  5459. if hm == 1 then
  5460.  
  5461. duh2.Sound.Pitch = math.random(90,110)/100
  5462.  
  5463. duh2.Sound:play()
  5464.  
  5465. end
  5466.  
  5467. end)
  5468.  
  5469. if hm > 0 and hm < 3 then
  5470.  
  5471. bleed(duh,1)
  5472.  
  5473. bleed(duh2,-0.5)
  5474.  
  5475. end
  5476.  
  5477. end
  5478.  
  5479. end))
  5480.  
  5481. for i=1, 3 do
  5482.  
  5483. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  5484.  
  5485. if ne ~= nil then
  5486.  
  5487. grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  5488.  
  5489. end
  5490.  
  5491. wait()
  5492.  
  5493. end
  5494.  
  5495. grabweld:remove()
  5496.  
  5497. grabweld = nil
  5498.  
  5499. for i=1, 4 do
  5500.  
  5501. lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  5502.  
  5503. wait()
  5504.  
  5505. end
  5506.  
  5507. for i=1, 4 do
  5508.  
  5509. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  5510.  
  5511. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  5512.  
  5513. wait()
  5514.  
  5515. end
  5516.  
  5517. lw.C0 = CFrame.new(0,0,0)
  5518.  
  5519. rw.C0 = CFrame.new(0,0,0)
  5520.  
  5521. lw.Part1 = nil
  5522.  
  5523. rw.Part1 = nil
  5524.  
  5525. platlol = false
  5526.  
  5527. grabbed = nil
  5528.  
  5529. lolhum = nil
  5530.  
  5531. attacking = false
  5532.  
  5533. platlol = nil
  5534.  
  5535. end
  5536.  
  5537. end)
  5538.  
  5539. mouse.KeyDown:connect(function(kai)
  5540.  
  5541. key = kai:lower()
  5542.  
  5543. if key == "q" then
  5544.  
  5545. mode = "drop"
  5546.  
  5547. inform("Mode: Drop",2)
  5548.  
  5549. elseif key == "e" then
  5550.  
  5551. mode = "throw"
  5552.  
  5553. inform("Mode: Throw",2)
  5554.  
  5555. elseif key == "f" then
  5556.  
  5557. mode = "kill"
  5558.  
  5559. inform("Mode: Kill",2)
  5560.  
  5561. end
  5562.  
  5563. end)
  5564.  
  5565. end
  5566.  
  5567.  
  5568. function desel()
  5569.  
  5570. repeat wait() until attacking == false
  5571.  
  5572. orr.Part1 = knife
  5573.  
  5574. ar.Part1 = nil
  5575.  
  5576. end
  5577.  
  5578.  
  5579. bin.Selected:connect(select)
  5580.  
  5581. bin.Deselected:connect(desel)
  5582.  
  5583.  
  5584. char.Humanoid.Died:connect(function()
  5585.  
  5586. pcall(function()
  5587.  
  5588. grabweld:remove()
  5589.  
  5590. grabweld = nil
  5591.  
  5592. grabbed = nil
  5593.  
  5594. platlol = false
  5595.  
  5596. platlol = nil
  5597.  
  5598. end)
  5599.  
  5600. end)
  5601.  
  5602.  
  5603. inform("Grab script loaded succesfully.",2)
  5604. end)
  5605. -------------------------------------SexGui--------------------------------------
  5606. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton6.MouseButton1Down:connect(function()
  5607.     script.Parent = game.Players.LocalPlayer.PlayerGui
  5608. local banlist = {"ragedrawr","",""}
  5609. playerGui = game.Players.LocalPlayer.PlayerGui
  5610. playa = game.Players.LocalPlayer
  5611. script.Name = "Main"
  5612. local nkdfc = "http://www.roblox.com/asset/?id=41236579"
  5613. local weegee = "http://www.roblox.com/asset/?id=53933616"
  5614. local Black = Color3.new(0/255,0/255,0/255)
  5615. local White = Color3.new(255/255,255/255,255/255)
  5616. local main = Instance.new("ScreenGui",playerGui)
  5617. main.Name = "AdministratorGUI"
  5618. local frame = Instance.new("Frame",main)
  5619. frame.Name = "Border"
  5620. frame.Active = true
  5621. frame.BackgroundColor3 = Black
  5622. frame.BackgroundTransparency = 0.7
  5623. frame.BorderColor3 = Black
  5624. frame.Size = UDim2.new(0.4,0,1,0)
  5625. frame.Position = UDim2.new(-0.39,0,0.25,0)
  5626. local usertest = Instance.new("TextBox",frame)
  5627. usertest.Name = "User"
  5628. usertest.BackgroundColor3 = Black
  5629. usertest.BackgroundTransparency = 0.2
  5630. usertest.Position = UDim2.new(0,10,0,10)
  5631. usertest.Size = UDim2.new(0,100,0,50)
  5632. usertest.FontSize = 5
  5633. usertest.Text = "me"
  5634. usertest.TextColor3 = White
  5635. local kbutton = Instance.new("TextButton",frame)
  5636. kbutton.Name = "KillButton"
  5637. kbutton.Position = UDim2.new(0,130,0,10)
  5638. kbutton.Size = UDim2.new(0,100,0,50)
  5639. kbutton.Style = 1
  5640. kbutton.FontSize = 6
  5641. kbutton.Text = "Kill"
  5642. kbutton.TextColor3 = White
  5643. local msg = Instance.new("TextButton",frame)
  5644. msg.Name = "BroadcastButton"
  5645. msg.Position = UDim2.new(0,250,0,10)
  5646. msg.Size = UDim2.new(0,100,0,50)
  5647. msg.Style = 1
  5648. msg.FontSize = 6
  5649. msg.Text = "Msg"
  5650. msg.TextColor3 = White
  5651. local option = Instance.new("TextBox",frame)
  5652. option.Name = "MsgText"
  5653. option.Position = UDim2.new(0,490,0,10)
  5654. option.Size = UDim2.new(0,100,0,50)
  5655. option.BackgroundColor3 = Black
  5656. option.BackgroundTransparency = 0.3
  5657. option.Text = "Message"
  5658. option.FontSize = 5
  5659. option.TextColor3 = White
  5660. local ttbutton = Instance.new("TextButton",frame)
  5661. ttbutton.Name = "TTButton"
  5662. ttbutton.Position = UDim2.new(0,10,0,75)
  5663. ttbutton.Size = UDim2.new(0,100,0,50)
  5664. ttbutton.Style = 1
  5665. ttbutton.FontSize = 6
  5666. ttbutton.Text = "TTs"
  5667. ttbutton.TextColor3 = White
  5668. local nkdbutton = Instance.new("TextButton",frame)
  5669. nkdbutton.Name = "NKDButton"
  5670. nkdbutton.Position = UDim2.new(0,130,0,75)
  5671. nkdbutton.Size = UDim2.new(0,100,0,50)
  5672. nkdbutton.Style = 1
  5673. nkdbutton.FontSize = 6
  5674. nkdbutton.Text = "Naked"
  5675. nkdbutton.TextColor3 = White
  5676. local tw = Instance.new("TextButton",frame)
  5677. tw.Name = "TWButton"
  5678. tw.Position = UDim2.new(0,250,0,75)
  5679. tw.Size = UDim2.new(0,100,0,50)
  5680. tw.Style = 1
  5681. tw.FontSize = 6
  5682. tw.Text = "Bumf"
  5683. tw.TextColor3 = White
  5684. local twuser = Instance.new("TextBox",frame)
  5685. twuser.Name = "twuser2"
  5686. twuser.Position = UDim2.new(0,490,0,75)
  5687. twuser.Size = UDim2.new(0,100,0,50)
  5688. twuser.BackgroundColor3 = Black
  5689. twuser.BackgroundTransparency = 0.3
  5690. twuser.Text = "Option2"
  5691. twuser.FontSize = 5
  5692. twuser.TextColor3 = White
  5693. local dkbutton = Instance.new("TextButton",frame)
  5694. dkbutton.Name = "DKButton"
  5695. dkbutton.Position = UDim2.new(0,10,0,150)
  5696. dkbutton.Size = UDim2.new(0,100,0,50)
  5697. dkbutton.Style = 1
  5698. dkbutton.FontSize = 6
  5699. dkbutton.Text = "DK"
  5700. dkbutton.TextColor3 = White
  5701. local sdkbutton = Instance.new("TextButton",frame)
  5702. sdkbutton.Name = "SDKButton"
  5703. sdkbutton.Position = UDim2.new(0,130,0,150)
  5704. sdkbutton.Size = UDim2.new(0,100,0,50)
  5705. sdkbutton.Style = 1
  5706. sdkbutton.FontSize = 6
  5707. sdkbutton.Text = "SDK"
  5708. sdkbutton.TextColor3 = White
  5709. local mdkbutton = Instance.new("TextButton",frame)
  5710. mdkbutton.Name = "MDKButton"
  5711. mdkbutton.Position = UDim2.new(0,250,0,150)
  5712. mdkbutton.Size = UDim2.new(0,100,0,50)
  5713. mdkbutton.Style = 1
  5714. mdkbutton.FontSize = 6
  5715. mdkbutton.Text = "MDK"
  5716. mdkbutton.TextColor3 = White
  5717. local hdkbutton = Instance.new("TextButton",frame)
  5718. hdkbutton.Name = "HDKButton"
  5719. hdkbutton.Position = UDim2.new(0,490,0,150)
  5720. hdkbutton.Size = UDim2.new(0,100,0,50)
  5721. hdkbutton.Style = 1
  5722. hdkbutton.FontSize = 6
  5723. hdkbutton.Text = "HDK"
  5724. hdkbutton.TextColor3 = White
  5725. local godbutton = Instance.new("TextButton",frame)
  5726. godbutton.Name = "GodButton"
  5727. godbutton.Position = UDim2.new(0,10,0,210)
  5728. godbutton.Size = UDim2.new(0,100,0,50)
  5729. godbutton.Style = 1
  5730. godbutton.FontSize = 6
  5731. godbutton.Text = "God"
  5732. godbutton.TextColor3 = White
  5733. local kick = Instance.new("TextButton",frame)
  5734. kick.Name = "KickButton"
  5735. kick.Position = UDim2.new(0,130,0,210)
  5736. kick.Size = UDim2.new(0,100,0,50)
  5737. kick.Style = 1
  5738. kick.FontSize = 6
  5739. kick.Text = "Kick"
  5740. kick.TextColor3 = White
  5741. local ban = Instance.new("TextButton",frame)
  5742. ban.Name = "BanButton"
  5743. ban.Position = UDim2.new(0,250,0,210)
  5744. ban.Size = UDim2.new(0,100,0,50)
  5745. ban.Style = 1
  5746. ban.FontSize = 6
  5747. ban.Text = "Ban"
  5748. ban.TextColor3 = White
  5749. local dtr = Instance.new("TextButton",frame)
  5750. dtr.Name = "DTRButton"
  5751. dtr.Position = UDim2.new(0,490,0,210)
  5752. dtr.Size = UDim2.new(0,100,0,50)
  5753. dtr.Style = 1
  5754. dtr.FontSize = 6
  5755. dtr.Text = "DTR"
  5756. dtr.TextColor3 = White
  5757. local sbj = Instance.new("TextButton",frame)
  5758. sbj.Name = "SBJButton"
  5759. sbj.Position = UDim2.new(0,10,0,280)
  5760. sbj.Size = UDim2.new(0,100,0,50)
  5761. sbj.Style = 1
  5762. sbj.FontSize = 6
  5763. sbj.Text = "SBJ"
  5764. sbj.TextColor3 = White
  5765. local n = Instance.new("TextButton",frame)
  5766. n.Name = "MakeButton"
  5767. n.Position = UDim2.new(0,130,0,280)
  5768. n.Size = UDim2.new(0,100,0,50)
  5769. n.Style = 1
  5770. n.FontSize = 6
  5771. n.Text = "Make"
  5772. n.TextColor3 = White
  5773. local c = Instance.new("TextButton",frame)
  5774. c.Name = "CawmButton"
  5775. c.Position = UDim2.new(0,250,0,280)
  5776. c.Size = UDim2.new(0,100,0,50)
  5777. c.Style = 1
  5778. c.FontSize = 6
  5779. c.Text = [=['Cum']=]
  5780. c.TextColor3 = White
  5781. local dkinp = Instance.new("TextButton",frame)
  5782. dkinp.Name = "TourButton"
  5783. dkinp.Position = UDim2.new(0,370,0,10)
  5784. dkinp.Size = UDim2.new(0,100,0,50)
  5785. dkinp.Style = 1
  5786. dkinp.FontSize = 6
  5787. dkinp.Text = [=[Tour]=]
  5788. dkinp.TextColor3 = White
  5789. local dkinperson=Instance.new('TextButton',frame)
  5790. dkinperson.Name = "dkinpersonButton"
  5791. dkinperson.Position = UDim2.new(0,370,0,280)
  5792. dkinperson.Size = UDim2.new(0,100,0,50)
  5793. dkinperson.Style = 1
  5794. dkinperson.FontSize = 4
  5795. dkinperson.Text = [=[DK in person]=]
  5796. dkinperson.TextColor3 = White
  5797. local queeeef=Instance.new('TextButton',frame)
  5798. queeeef.Name = "QueeeefButton"
  5799. queeeef.Position = UDim2.new(0,370,0,210)
  5800. queeeef.Size = UDim2.new(0,100,0,50)
  5801. queeeef.Style = 1
  5802. queeeef.FontSize = 6
  5803. queeeef.Text = [=['Queef']=]
  5804. queeeef.TextColor3 = White
  5805. local base=Instance.new('TextButton',frame)
  5806. base.Name = "BaseButton"
  5807. base.Position = UDim2.new(0,370,0,150)
  5808. base.Size = UDim2.new(0,100,0,50)
  5809. base.Style = 1
  5810. base.FontSize = 6
  5811. base.Text = [=[Base]=]
  5812. base.TextColor3 = White
  5813. local base_white=Instance.new('TextButton',frame)
  5814. base_white.Name = "Base_WhiteButton"
  5815. base_white.Position = UDim2.new(0,370,0,75)
  5816. base_white.Size = UDim2.new(0,100,0,50)
  5817. base_white.Style = 1
  5818. base_white.FontSize = 4
  5819. base_white.Text = [=[White_Base]=]
  5820. base_white.TextColor3 = White
  5821. local evolve = Instance.new("TextButton",frame)
  5822. evolve.Name = "EvolveButton"
  5823. evolve.Position = UDim2.new(0,490,0,280)
  5824. evolve.Size = UDim2.new(0,100,0,50)
  5825. evolve.Style = 1
  5826. evolve.FontSize = 6
  5827. evolve.Text = "Evolve"
  5828. evolve.TextColor3 = White
  5829. local cn = Instance.new("TextButton",frame)
  5830. cn.Name = "NameButton"
  5831. cn.Position = UDim2.new(0,370,0,350)
  5832. cn.Size = UDim2.new(0,100,0,50)
  5833. cn.Style = 1
  5834. cn.FontSize = 6
  5835. cn.Text = "Name"
  5836. cn.TextColor3 = White
  5837. local explo = Instance.new("TextButton",frame)
  5838. explo.Name = "ExplodeButton"
  5839. explo.Position = UDim2.new(0,490,0,350)
  5840. explo.Size = UDim2.new(0,100,0,50)
  5841. explo.Style = 1
  5842. explo.FontSize = 6
  5843. explo.Text = "Explode"
  5844. explo.TextColor3 = White
  5845. local threeway = Instance.new("TextButton",frame)
  5846. threeway.Name = "ThreeWayButton"
  5847. threeway.Position = UDim2.new(0,250,0,350)
  5848. threeway.Size = UDim2.new(0,100,0,50)
  5849. threeway.Style = 1
  5850. threeway.FontSize = 6
  5851. threeway.Text = "3w"
  5852. threeway.TextColor3 = White
  5853. local threewayuser = Instance.new("TextBox",frame)
  5854. threewayuser.Name = "ThreeWayUser"
  5855. threewayuser.Position = UDim2.new(0,130,0,350)
  5856. threewayuser.Size = UDim2.new(0,100,0,50)
  5857. threewayuser.BackgroundColor3 = Black
  5858. threewayuser.BackgroundTransparency = 0.3
  5859. threewayuser.Text = "Option3"
  5860. threewayuser.FontSize = 5
  5861. threewayuser.TextColor3 = White
  5862. local bjay = Instance.new("TextButton",frame)
  5863. bjay.Name = "BjButton"
  5864. bjay.Position = UDim2.new(0,10,0,350)
  5865. bjay.Size = UDim2.new(0,100,0,50)
  5866. bjay.Style = 1
  5867. bjay.FontSize = 6
  5868. bjay.Text = "Bj"
  5869. bjay.TextColor3 = White
  5870.  
  5871. function fBase(c)
  5872.         for i,v in pairs(workspace:children()) do
  5873.                 if v.Name == 'Base' then
  5874.                         v:Destroy''
  5875.                 end
  5876.         end
  5877.         local b = Instance.new('Part',workspace)
  5878.         b.BrickColor = BrickColor.new(c)
  5879.         b.Anchored=true
  5880.         b.Name='Base'
  5881.         b.Locked=true
  5882.         b.Size=Vector3.new(512,1.2,512)
  5883.         b.CFrame=CFrame.new(0,0.5,0)
  5884. end
  5885. function SearchPlayer(Player,tab)
  5886.     if tab==nil then tab={} end
  5887.     if Player:lower()=="others" then
  5888.         local s={}
  5889.         for i,v in pairs(game.Players:GetChildren()) do
  5890.             if v ~= game.Players.LocalPlayer then
  5891.                 table.insert(s,v)
  5892.             end
  5893.         end
  5894.         return s
  5895.     end
  5896.     if Player:lower()=="all" then
  5897.         local s={}
  5898.         for i,v in pairs(game.Players:GetPlayers()) do
  5899.             table.insert(s,v)
  5900.         end
  5901.         return s
  5902.     end
  5903.     for i,v in pairs(game.Players:GetPlayers()) do
  5904.         if v.Name:lower():find(Player:lower())==1 then
  5905.             table.insert(tab,v)
  5906.         end
  5907.     end
  5908.     if Player:lower()=="me" then
  5909.         local s={}
  5910.         for i,v in pairs(game.Players:GetChildren()) do
  5911.             if v == game.Players.LocalPlayer then
  5912.                 table.insert(s,v)
  5913.             end
  5914.         end
  5915.         return s
  5916.     end
  5917.     return tab
  5918. end
  5919. function kbuttonclick()
  5920.     local user=usertest.Text
  5921.     for i,v in pairs(SearchPlayer(user)) do
  5922.         v.Character:BreakJoints()
  5923.     end
  5924. end
  5925. function dkclick()
  5926.     local user=usertest.Text
  5927.         local sizorz=4
  5928.     for i,v in pairs(SearchPlayer(user)) do
  5929.        
  5930.         coroutine.resume(coroutine.create(function()
  5931.         person=v.Name
  5932.         color = "Pastel brown"
  5933.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  5934.         D = Instance.new("Model",workspace[person])
  5935.         D.Name = "Nice thing"
  5936.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  5937.         d = Instance.new("Part")
  5938.         d.TopSurface = 0
  5939.         d.BottomSurface = 0
  5940.         d.Name = "Main"
  5941.         d.Parent = workspace[person]["Nice thing"]
  5942.         d.formFactor = 3
  5943.         d.Size = Vector3.new(1,sizorz+0.5,1)
  5944.         d.BrickColor = BrickColor.new(color)
  5945.         d.Position = workspace[person].Head.Position
  5946.         d.CanCollide = true
  5947.         local cy = Instance.new("CylinderMesh")
  5948.         cy.Parent = d
  5949.         cy.Scale = Vector3.new(1.05,1,1.05)
  5950.         w = Instance.new("Weld")
  5951.         w.Parent = workspace[person].Head
  5952.         w.Part0 = d
  5953.         w.Part1 = workspace[person].Head
  5954.         w.C0 = CFrame.new(0,-0.6,1.8)*CFrame.Angles(math.rad(30),0,0)
  5955.         local c = Instance.new("Part")
  5956.         c.Name = "Mush"
  5957.         c.BottomSurface = 0
  5958.         c.TopSurface = 0
  5959.         c.FormFactor = 3
  5960.         c.Size = Vector3.new(1,1,1)
  5961.         c.CFrame = CFrame.new(d.Position)
  5962.         c.BrickColor = BrickColor.new("Pink")
  5963.         c.CanCollide = true
  5964.         c.Parent = workspace[person]["Nice thing"]
  5965.         local msm = Instance.new("SpecialMesh")
  5966.         msm.Parent = c
  5967.         msm.MeshType = "Head"
  5968.         msm.Scale = Vector3.new(1,0.6,1)
  5969.         local cw = Instance.new("Weld")
  5970.         cw.Parent = c
  5971.         cw.Part0 = d
  5972.         cw.Part1 = c
  5973.         cw.C0 = CFrame.new(0,2.3,0)
  5974.         local ball1 = Instance.new("Part")
  5975.         ball1.Parent = workspace[person]["Nice thing"]
  5976.         ball1.Name = "Left Ball"
  5977.         ball1.BottomSurface = 0
  5978.         ball1.TopSurface = 0
  5979.         ball1.CanCollide = true
  5980.         ball1.formFactor = 3
  5981.         ball1.Size = Vector3.new(1.2,1.2,1.2)
  5982.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  5983.         ball1.BrickColor = BrickColor.new(color)
  5984.         local bsm = Instance.new("SpecialMesh")
  5985.         bsm.Parent = ball1
  5986.         bsm.MeshType = "Sphere"
  5987.         local b1w = Instance.new("Weld")
  5988.         b1w.Parent = ball1
  5989.         b1w.Part0 = workspace[person].Torso
  5990.         b1w.Part1 = ball1
  5991.         b1w.C0 = CFrame.new(-0.6,-1,-0.8)
  5992.         local ball2 = Instance.new("Part")
  5993.         ball2.Parent = workspace[person]["Nice thing"]
  5994.         ball2.Name = "Right Ball"
  5995.         ball2.BottomSurface = 0
  5996.         ball2.CanCollide = true
  5997.         ball2.TopSurface = 0
  5998.         ball2.formFactor = 3
  5999.         ball2.Size = Vector3.new(1.2,1.2,1.2)
  6000.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  6001.         ball2.BrickColor = BrickColor.new(color)
  6002.         local b2sm = Instance.new("SpecialMesh")
  6003.         b2sm.Parent = ball2
  6004.         b2sm.MeshType = "Sphere"
  6005.         local b2w = Instance.new("Weld")
  6006.         b2w.Parent = ball2
  6007.         b2w.Part0 = workspace[person].Torso
  6008.         b2w.Part1 = ball2
  6009.         b2w.C0 = CFrame.new(0.6,-1,-0.8)
  6010. local char=v.Character
  6011. local t=char.Torso
  6012. local lw=Instance.new('Weld',t)
  6013. lw.Name='leftWeld'
  6014. lw.Part0=t
  6015. lw.Part1=char['Left Arm']
  6016. lw.C0=CFrame.new(-1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(20))
  6017. local rw=Instance.new('Weld',t)
  6018. rw.Name='rightWeld'
  6019. rw.Part0=t
  6020. rw.Part1=char['Right Arm']
  6021. rw.C0=CFrame.new(1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(-10),math.rad(-20))
  6022. while wait() do
  6023. lw.C0=CFrame.new(-1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(20))
  6024. rw.C0=CFrame.new(1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(-10),math.rad(-20))
  6025. wait(0.05)
  6026. lw.C0=CFrame.new(-1.15,0.8,-1) *CFrame.Angles(math.rad(95),math.rad(10),math.rad(20))
  6027. rw.C0=CFrame.new(1.15,0.8,-1) *CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20))
  6028. wait(0.05)
  6029. lw.C0=CFrame.new(-1.15,0.6,-1) *CFrame.Angles(math.rad(90),math.rad(10),math.rad(20))
  6030. rw.C0=CFrame.new(1.15,0.6,-1) *CFrame.Angles(math.rad(90),math.rad(-10),math.rad(-20))
  6031. wait(0.05)
  6032. lw.C0=CFrame.new(-1.15,0.4,-1) *CFrame.Angles(math.rad(85),math.rad(10),math.rad(20))
  6033. rw.C0=CFrame.new(1.15,0.4,-1) *CFrame.Angles(math.rad(85),math.rad(-10),math.rad(-20))
  6034. wait(0.05)
  6035. lw.C0=CFrame.new(-1.15,0.2,-1) *CFrame.Angles(math.rad(80),math.rad(10),math.rad(20))
  6036. rw.C0=CFrame.new(1.15,0.2,-1) *CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-20))
  6037. wait(0.05)
  6038. end end))
  6039.     end
  6040. end
  6041. function cawm()
  6042.         local user = usertest.Text
  6043.         for i,v in pairs(SearchPlayer(user)) do
  6044.                 person = v.Name
  6045.                 while true do
  6046.                                                 local s = Instance.new("Part",workspace[person]["Nice thing"])
  6047.                                 s.BrickColor = BrickColor.new("White")
  6048.                                 s.Size = Vector3.new(0.5,0.5,0.5)
  6049.                                 s.TopSurface = 0
  6050.                                 s.BottomSurface = 0
  6051.                                 s.Shape = 0
  6052.                                 s.CFrame = CFrame.new(workspace[person]["Nice thing"].Main.Position+Vector3.new(0,1,0))
  6053.             local dm = Instance.new("SpecialMesh")
  6054.             dm.MeshType = "Sphere"
  6055.             dm.Parent = s
  6056.             dm.Scale = Vector3.new(0.1,0.1,0.1)
  6057.                 wait(0.5)
  6058.         end
  6059.         end
  6060. end
  6061. function invisible()
  6062. local user=usertest.Text
  6063. for i,v in pairs(SearchPlayer(user)) do
  6064. char = v.Character
  6065. char["Left Arm"].Transparency = 1
  6066. char["Right Arm"].Transparency = 1
  6067. char["Left Leg"].Transparency = 1
  6068. char["Right Leg"].Transparency = 1
  6069. char.Torso.Transparency = 1
  6070. char.Head.Transparency = 1
  6071. char.Head.face.Texture = nil
  6072. for i,v in pairs(char:children()) do
  6073. if v.className == "Hat" then
  6074. v.Transparency = 1
  6075. end
  6076. end
  6077. end
  6078. end
  6079. function FF(x)
  6080. local abc = Instance.new("ForceField",x)
  6081. end
  6082. function godclick()
  6083. local user = usertest.Text
  6084. for i, v in pairs(SearchPlayer(user)) do
  6085. v.Character.Humanoid.MaxHealth = math.huge
  6086. FF(v.Character)
  6087. end
  6088. end
  6089. function twclick()
  6090.         local user = usertest.Text
  6091.         local user2 = twuser.Text
  6092.         for i,v in pairs(SearchPlayer(user)) do
  6093.                 for c,b in pairs(SearchPlayer(user2)) do
  6094. pcall(function()
  6095. n1 = v.Name
  6096. n2 = b.Name
  6097. t1 = workspace[n1].Torso
  6098. t2 = workspace[n2].Torso
  6099. t2.Parent.Humanoid.PlatformStand = true
  6100. t1["Left Shoulder"]:Remove()
  6101. ls1 = Instance.new("Weld")
  6102. ls1.Parent = t1
  6103. ls1.Part0 = t1
  6104. ls1.Part1 = t1.Parent["Left Arm"]
  6105. ls1.C0 = CFrame.new(-1.5,0,0)
  6106. ls1.Name = "Left Shoulder"
  6107. t1["Right Shoulder"]:Remove()
  6108. rs1 = Instance.new("Weld")
  6109. rs1.Parent = t1
  6110. rs1.Part0 = t1
  6111. rs1.Part1 = t1.Parent["Right Arm"]
  6112. rs1.C0 = CFrame.new(1.5,0,0)
  6113. rs1.Name = "Right Shoulder"
  6114. t2["Left Shoulder"]:Remove()
  6115. ls2 = Instance.new("Weld")
  6116. ls2.Parent = t2
  6117. ls2.Part0 = t2
  6118. ls2.Part1 = t2.Parent["Left Arm"]
  6119. ls2.C0 = CFrame.new(-1.5,0,0)
  6120. ls2.Name = "Left Shoulder"
  6121. t2["Right Shoulder"]:Remove()
  6122. rs2 = Instance.new("Weld")
  6123. rs2.Parent = t2
  6124. rs2.Part0 = t2
  6125. rs2.Part1 = t2.Parent["Right Arm"]
  6126. rs2.C0 = CFrame.new(1.5,0,0)
  6127. rs2.Name = "Right Shoulder"
  6128. t2["Left Hip"]:Remove()
  6129. lh2 = Instance.new("Weld")
  6130. lh2.Parent = t2
  6131. lh2.Part0 = t2
  6132. lh2.Part1 = t2.Parent["Left Leg"]
  6133. lh2.C0 = CFrame.new(-0.5,-2,0)
  6134. lh2.Name = "Left Hip"
  6135. t2["Right Hip"]:Remove()
  6136. rh2 = Instance.new("Weld")
  6137. rh2.Parent = t2
  6138. rh2.Part0 = t2
  6139. rh2.Part1 = t2.Parent["Right Leg"]
  6140. rh2.C0 = CFrame.new(0.5,-2,0)
  6141. rh2.Name = "Right Hip"
  6142. local d = Instance.new("Part")
  6143. d.TopSurface = 0
  6144. d.BottomSurface = 0
  6145. d.CanCollide = false
  6146. d.BrickColor = BrickColor.new("Pastel brown")
  6147. d.Shape = "Ball"
  6148. d.Parent = t1
  6149. d.Size = Vector3.new(1,1,1)
  6150. local dm = Instance.new("SpecialMesh")
  6151. dm.MeshType = "Sphere"
  6152. dm.Parent = d
  6153. dm.Scale = Vector3.new(0.7,0.7,0.7)
  6154. fWeld("weld",t1,t1,d,true,-0.35,-1.3,-0.6,0,0,0)
  6155. d2 = d:Clone()
  6156. d2.Parent = t1
  6157. fWeld("weld",t1,t1,d2,true,0.35,-1.3,-0.6,0,0,0)
  6158. local c = Instance.new("Part")
  6159. c.TopSurface = 0
  6160. c.BottomSurface = 0
  6161. c.CanCollide = false
  6162. c.BrickColor = BrickColor.new("Pastel brown")
  6163. c.Parent = t1
  6164. c.formFactor = "Custom"
  6165. c.Size = Vector3.new(0.6,1.3,0.6)
  6166. cm = Instance.new("CylinderMesh")
  6167. cm.Parent = c
  6168. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-90),0,0)
  6169. c2 = d:Clone()
  6170. c2.BrickColor = BrickColor.new("Pink")
  6171. c2.Mesh.Scale = Vector3.new(0.599,0.62,0.699)
  6172. c2.Parent = t1
  6173. c2.Mesh.MeshType = "Head"
  6174. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,0,0,0)
  6175. local bl = Instance.new("Part")
  6176. bl.TopSurface = 0
  6177. bl.BottomSurface = 0
  6178. bl.CanCollide = false
  6179. bl.BrickColor = BrickColor.new("Pastel brown")
  6180. bl.Shape = "Ball"
  6181. bl.Parent = t2
  6182. bl.Size = Vector3.new(1,1,1)
  6183. local dm = Instance.new("SpecialMesh")
  6184. dm.MeshType = "Sphere"
  6185. dm.Parent = bl
  6186. dm.Scale = Vector3.new(1.2,1.2,1.2)
  6187. fWeld("weld",t2,t2,bl,true,-0.5,-1,0,0,0,0)
  6188. local br = Instance.new("Part")
  6189. br.TopSurface = 0
  6190. br.BottomSurface = 0
  6191. br.CanCollide = false
  6192. br.BrickColor = BrickColor.new("Pastel brown")
  6193. br.Shape = "Ball"
  6194. br.Parent = t2
  6195. br.Size = Vector3.new(1,1,1)
  6196. local dm = Instance.new("SpecialMesh")
  6197. dm.MeshType = "Sphere"
  6198. dm.Parent = br
  6199. dm.Scale = Vector3.new(1.2,1.2,1.2)
  6200. fWeld("weld",t2,t2,br,true,0.5,-1,0,0,0,0)
  6201. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  6202. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  6203. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  6204. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  6205. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  6206. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  6207. if t1:findFirstChild("weldx") ~= nil then
  6208. t1.weldx:Remove()
  6209. end
  6210. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  6211. n = t2.Neck
  6212. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-180), math.rad(180), math.rad(45))
  6213. t2.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=41236579"
  6214. end)
  6215. coroutine.resume(coroutine.create(function()
  6216. while wait() do
  6217. for i = 1,6*5 do
  6218. we.C1 = we.C1 * CFrame.new(0,-0.4/5,0)
  6219. wait()
  6220. end
  6221.  
  6222. for i = 1,6*5 do
  6223. we.C1 = we.C1 * CFrame.new(0,0.4/5,0)
  6224. wait()
  6225. end
  6226. end
  6227. end))
  6228. coroutine.resume(coroutine.create(function()
  6229. while wait() do
  6230.         for i=1,90 do
  6231.                 n.C0 = n.C0 *CFrame.Angles(0,0,math.rad(-1))
  6232.                 wait(0.0005)
  6233.         end
  6234.         for i=1,90 do
  6235.                 n.C0 = n.C0 *CFrame.Angles(0,0,math.rad(1))
  6236.                 wait(0.0005)
  6237.         end
  6238. end
  6239. end))
  6240.             end
  6241.         end
  6242. end
  6243. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  6244.         local funcw = Instance.new("Weld")
  6245.         funcw.Name = zName
  6246.         funcw.Parent = zParent
  6247.         funcw.Part0 = zPart0
  6248.         funcw.Part1 = zPart1
  6249.         if (zCoco == true) then
  6250.         funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6251.         else
  6252.         funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  6253.         end
  6254.         return funcw
  6255. end
  6256. function ttbuttonclick()
  6257.     local user = usertest.Text
  6258.          local size = twuser.Text
  6259.         local abcd=size*2
  6260.     for i,v in pairs(SearchPlayer(user)) do
  6261.                 v.Character.Head.face.Texture = nkdfc
  6262.                 t2 = v.Character.Torso
  6263.                 mdl = Instance.new("Model",t2)
  6264.                 mdl.Name = "Bewbs"
  6265.                 local bl = Instance.new("Part")
  6266.                 bl.TopSurface = 0
  6267.                 bl.BottomSurface = 0
  6268.                 bl.CanCollide = true
  6269.                 bl.BrickColor = BrickColor.new("Pastel brown")
  6270.                 bl.Shape = "Ball"
  6271.                 bl.Parent = mdl
  6272.                 bl.Size = Vector3.new(size,size,size)
  6273.                 local dm = Instance.new("SpecialMesh")
  6274.                 dm.MeshType = "Sphere"
  6275.                 dm.Parent = bl
  6276.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  6277.                 fWeld("weld",mdl,t2,bl,true,-size/2,size/abcd,-size/2,0,0,0)
  6278.                 local br = Instance.new("Part")
  6279.                 br.TopSurface = 0
  6280.                 br.BottomSurface = 0
  6281.                 br.CanCollide = true
  6282.                 br.BrickColor = BrickColor.new("Pastel brown")
  6283.                 br.Shape = "Ball"
  6284.                 br.Parent = mdl
  6285.                 br.Size = Vector3.new(size,size,size)
  6286.                 local dm = Instance.new("SpecialMesh")
  6287.                 dm.MeshType = "Sphere"
  6288.                 dm.Parent = br
  6289.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  6290.                 fWeld("weld",mdl,t2,br,true,size/2,size/abcd,-size/2,0,0,0)
  6291.                 local bln = Instance.new("Part")
  6292.                 bln.BrickColor = BrickColor.new("Pink")
  6293.                 bln.TopSurface = 0
  6294.                 bln.BottomSurface = 0
  6295.                 bln.CanCollide = true
  6296.                 bln.Shape = "Ball"
  6297.                 bln.Parent = mdl
  6298.                 bln.Size = Vector3.new(1,1,1)
  6299.         bln.CFrame = CFrame.new(bl.Position)
  6300.                 local dm = Instance.new("SpecialMesh")
  6301.                 dm.MeshType = "Sphere"
  6302.                 dm.Parent = bln
  6303.                 dm.Scale = Vector3.new(size/10,size/10,size/10)
  6304.         if size == 1 then
  6305.         dm.Scale = Vector3.new(0.2,0.2,0.2)
  6306.                 end
  6307.                 fWeld("weld",mdl,t2,bln,true,-size/2,size/abcd,-size-size/10,0,0,0)
  6308.                 local brn = Instance.new("Part")
  6309.                 brn.BrickColor = BrickColor.new("Pink")
  6310.                 brn.TopSurface = 0
  6311.                 brn.BottomSurface = 0
  6312.                 brn.CanCollide = true
  6313.                 brn.Shape = "Ball"
  6314.                 brn.Parent = mdl
  6315.                 brn.Size = Vector3.new(1,1,1)
  6316.         brn.CFrame = CFrame.new(br.Position)
  6317.                 local dm = Instance.new("SpecialMesh")
  6318.                 dm.MeshType = "Sphere"
  6319.                 dm.Parent = brn
  6320.                 dm.Scale = Vector3.new(size/10,size/10,size/10)
  6321.         if size == 1 then
  6322.         dm.Scale = Vector3.new(0.2,0.2,0.2)
  6323.                 end
  6324.                 fWeld("weld",mdl,t2,brn,true,size/2,size/abcd,-size-size/10,0,0,0)
  6325.     end
  6326. end
  6327. function msgclick()
  6328.     local user = usertest.Text
  6329.     local message = option.Text
  6330.     for i,v in pairs(SearchPlayer(user)) do
  6331.         local msg = message
  6332.         msg = message:gsub(([[`]]),"\127")
  6333.         game:service'Chat':Chat(v.Character.Head,msg,Enum.ChatColor.Blue)
  6334.     end
  6335. end
  6336. function nkdbuttonclick()
  6337.         nkdclr = BrickColor.new("Pastel brown")
  6338.         local user = usertest.Text
  6339.         for i,v in pairs(SearchPlayer(user)) do
  6340.                 v.Character["Left Arm"].BrickColor = nkdclr
  6341.                 v.Character["Right Arm"].BrickColor = nkdclr
  6342.                 v.Character["Left Leg"].BrickColor = nkdclr
  6343.                 v.Character["Right Leg"].BrickColor = nkdclr
  6344.                 v.Character.Head.BrickColor = nkdclr
  6345.                 v.Character.Torso.BrickColor = nkdclr
  6346.                 v.Character.Head.face.Texture = nkdfc
  6347.                 if v.Character.Torso.roblox then
  6348.                     v.Character.Torso.roblox:Destroy()
  6349.                 end
  6350.                 if v.Character.Shirt then
  6351.                         v.Character.Shirt:Destroy()
  6352.                 end
  6353.                 if v.Character.Pants then
  6354.                         v.Character.Pants:Destroy()
  6355.                 end
  6356.                 if v.Character["Body Colors"] then
  6357.                         local bc = v.Character["Body Colors"]
  6358.                         bc.TorsoColor = nkdclr
  6359.                         bc.LeftArmColor = nkdclr
  6360.                         bc.LeftLegColor = nkdclr
  6361.                         bc.RightArmColor = nkdclr
  6362.                         bc.RightLegColor = nkdclr
  6363.                         bc.HeadColor = nkdclr
  6364.                 end
  6365.                 if v.Character["Shirt Graphic"] then
  6366.                         v.Character["Shirt Graphic"]:Destroy()
  6367.                         v.Character.Torso.roblox:Destroy()
  6368.                 end
  6369.                 v.Character["Left Arm"].BrickColor = nkdclr
  6370.                 v.Character["Right Arm"].BrickColor = nkdclr
  6371.                 v.Character["Left Leg"].BrickColor = nkdclr
  6372.                 v.Character["Right Leg"].BrickColor = nkdclr
  6373.                 v.Character.Head.BrickColor = nkdclr
  6374.                 v.Character.Torso.BrickColor = nkdclr
  6375.                 v.Character.Head.face.Texture = nkdfc
  6376.         end
  6377. end
  6378. function threewayc()
  6379.         local user=usertest.Text
  6380.         local user2=twuser.Text
  6381.         local user3=threewayuser.Text
  6382.         for i,v in pairs(SearchPlayer(user)) do
  6383.                 for c,b in pairs(SearchPlayer(user2)) do
  6384.                         for y,x in pairs(SearchPlayer(user3)) do
  6385.                         coroutine.resume(coroutine.create(function()
  6386.                         p1 = v.Name
  6387.                         p2 = b.Name
  6388.                         p3 = x.Name
  6389.                         repeat wait()
  6390.                         until workspace[p1] and workspace[p2] and workspace[p3]
  6391.                         t1 = workspace[p1].Torso
  6392.                         t2 = workspace[p2].Torso
  6393.                         t3 = workspace[p3].Torso
  6394.                         t1.Parent.Humanoid.WalkSpeed = 6
  6395.                         t2.Parent.Humanoid.PlatformStand = true
  6396.                         t3.Parent.Humanoid.PlatformStand = true
  6397.                         pcall(function() t1.D:Destroy(); end)
  6398.                         model = Instance.new("Model",t1)
  6399.                         model.Name = "D"
  6400.                         d1 = Instance.new("Part",model)
  6401.                         d1.Name = "Main1"
  6402.                         d1.BrickColor = BrickColor.new("Pastel brown")
  6403.                         d1.formFactor = "Custom"
  6404.                         d1.TopSurface = 0
  6405.                         d1.BottomSurface = 0
  6406.                         d1.Size = Vector3.new(0.5,4,0.5)
  6407.                         d1.CFrame = CFrame.new(t1.Parent.Head.Position)
  6408.                         c1 = Instance.new("CylinderMesh",d1)
  6409.                         wd1 = Instance.new("Weld",d1)
  6410.                         wd1.Part0 = d1
  6411.                         wd1.Part1 = t1.Parent.Head
  6412.                         wd1.C0 = CFrame.new(0,-1.5,2.5) * CFrame.Angles(math.rad(90),0,0)
  6413.                         b1 = Instance.new("Part",model)
  6414.                         b1.Name = "B1"
  6415.                         b1.BrickColor = d1.BrickColor
  6416.                         b1.TopSurface = 0
  6417.                         b1.BottomSurface = 0
  6418.                         b1.formFactor = "Custom"
  6419.                         b1.Size = Vector3.new(1,1,1)
  6420.                         b1.Shape = "Ball"
  6421.                         bm1 = Instance.new("SpecialMesh",b1)
  6422.                         bm1.MeshType = "Sphere"
  6423.                         wb1 = Instance.new("Weld",b1)
  6424.                         wb1.Part0 = b1
  6425.                         wb1.Part1 = d1
  6426.                         wb1.C0 = CFrame.new(0.4,0.8,0.3)
  6427.                         b2 = Instance.new("Part",model)
  6428.                         b2.Name = "B2"
  6429.                         b2.BrickColor = d1.BrickColor
  6430.                         b2.TopSurface = 0
  6431.                         b2.BottomSurface = 0
  6432.                         b2.formFactor = "Custom"
  6433.                         b2.Size = Vector3.new(1,1,1)
  6434.                         b2.Shape = "Ball"
  6435.                         bm2 = Instance.new("SpecialMesh",b1)
  6436.                         bm2.MeshType = "Sphere"
  6437.                         wb2 = Instance.new("Weld",b2)
  6438.                         wb2.Part0 = b2
  6439.                         wb2.Part1 = d1
  6440.                         wb2.C0 = CFrame.new(-0.4,0.8,0.3)
  6441.                         c1 = Instance.new("Part",model)
  6442.                         c1.Name = "Tip"
  6443.                         c1.BrickColor = BrickColor.new("Pink")
  6444.                         c1.TopSurface = 0
  6445.                         c1.BottomSurface = 0
  6446.                         c1.formFactor = "Custom"
  6447.                         c1.Size = Vector3.new(0.6,0.6,0.6)
  6448.                         sm1 = Instance.new("SpecialMesh",c1)
  6449.                         wc1 = Instance.new("Weld",c1)
  6450.                         wc1.Part0 = c1
  6451.                         wc1.Part1 = d1
  6452.                         wc1.C0 = CFrame.new(0,-2,0)
  6453.                         pcall(function() t3["D2"]:Destroy(); end)
  6454.                         model2 = Instance.new("Model",t3)
  6455.                         model2.Name = "D2"
  6456.                         d2 = Instance.new("Part",model2)
  6457.                         d2.Name = "Main2"
  6458.                         d2.formFactor = "Custom"
  6459.                         d2.TopSurface = 0
  6460.                         d2.BottomSurface = 0
  6461.                         d2.BrickColor = d1.BrickColor
  6462.                         d2.Size = Vector3.new(0.4,1,0.4)
  6463.                         cm2 = Instance.new("CylinderMesh",d2)
  6464.                         wd2 = Instance.new("Weld",d2)
  6465.                         wd2.Part0 = d2
  6466.                         wd2.Part1 = t3.Parent.Head
  6467.                         wd2.C0 = CFrame.new(0,-1,2.5) *CFrame.Angles(math.rad(90),0,0)
  6468.                         b3 = Instance.new("Part",model2)
  6469.                         b3.Name = "B1"
  6470.                         b3.BrickColor = d2.BrickColor
  6471.                         b3.TopSurface = 0
  6472.                         b3.BottomSurface = 0
  6473.                         b3.formFactor = "Custom"
  6474.                         b3.Size = Vector3.new(0.5,0.5,0.5)
  6475.                         b3.Shape = "Ball"
  6476.                         bm3 = Instance.new("SpecialMesh",b3)
  6477.                         bm3.MeshType = "Sphere"
  6478.                         bm3.Scale = Vector3.new(0.5,0.5,0.5)
  6479.                         wb3 = Instance.new("Weld",b3)
  6480.                         wb3.Part0 = b3
  6481.                         wb3.Part1 = d2
  6482.                         wb3.C0 = CFrame.new(0.3,0.4,0)
  6483.                         b4 = Instance.new("Part",model2)
  6484.                         b4.Name = "B2"
  6485.                         b4.BrickColor = d2.BrickColor
  6486.                         b4.TopSurface = 0
  6487.                         b4.BottomSurface = 0
  6488.                         b4.formFactor = "Custom"
  6489.                         b4.Size = Vector3.new(0.5,0.5,0.5)
  6490.                         b4.Shape = "Ball"
  6491.                         bm4 = Instance.new("SpecialMesh",b4)
  6492.                         bm4.MeshType = "Sphere"
  6493.                         bm4.Scale = Vector3.new(0.5,0.5,0.5)
  6494.                         wb4 = Instance.new("Weld",b4)
  6495.                         wb4.Part0 = b4
  6496.                         wb4.Part1 = d2
  6497.                         wb4.C0 = CFrame.new(-0.3,0.4,0)
  6498.                         c2 = Instance.new("Part",model2)
  6499.                         c2.Name = "Tip"
  6500.                         c2.BrickColor = BrickColor.new("Pink")
  6501.                         c2.TopSurface = 0
  6502.                         c2.BottomSurface = 0
  6503.                         c2.formFactor = "Custom"
  6504.                         c2.Size = Vector3.new(0.389,0.389,0.389)
  6505.                         sm1 = Instance.new("SpecialMesh",c2)
  6506.                         wc2 = Instance.new("Weld",c2)
  6507.                         wc2.Part0 = c2
  6508.                         wc2.Part1 = d2
  6509.                         wc2.C0 = CFrame.new(0,-0.5,0)
  6510.                         for i,v in pairs(t1:children()) do
  6511.                                 if v.className == "Weld" then v:Destroy(); end
  6512.                         end
  6513.                         for i,v in pairs(t2:children()) do
  6514.                                 if v.className == "Weld" then v:Destroy(); end
  6515.                         end
  6516.                         for i,v in pairs(t3:children()) do
  6517.                                 if v.className == "Weld" then v:Destroy(); end
  6518.                         end
  6519.  
  6520.                         ls1 = Instance.new("Weld",t1)
  6521.                         ls1.Part0 = t1.Parent["Left Arm"]
  6522.                         ls1.Part1 = t1
  6523.                         ls1.C0 = CFrame.new(1.2,1,0) *CFrame.Angles(math.rad(-75),0,math.rad(35))
  6524.                         rs1 = Instance.new("Weld",t1)
  6525.                         rs1.Part0 = t1.Parent["Right Arm"]
  6526.                         rs1.Part1 = t1
  6527.                         rs1.C0 = CFrame.new(-1.2,1,0) *CFrame.Angles(math.rad(-75),0,math.rad(-35))
  6528.                         lh1 = Instance.new("Weld",t1)
  6529.                         lh1.Part0 = t1.Parent["Left Leg"]
  6530.                         lh1.Part1 = t1
  6531.                         lh1.C0 = CFrame.new(0.3,1.8,0.5) *CFrame.Angles(math.rad(45),math.rad(35),0)
  6532.                         rh1 = Instance.new("Weld",t1)
  6533.                         rh1.Part0 = t1.Parent["Right Leg"]
  6534.                         rh1.Part1 = t1
  6535.                         rh1.C0 = CFrame.new(-0.3,1.8,0.5) *CFrame.Angles(math.rad(45),math.rad(-35),0)
  6536.                         ls2 = Instance.new("Weld",t2)
  6537.                         ls2.Part0 = t2.Parent["Left Arm"]
  6538.                         ls2.Part1 = t2
  6539.                         ls2.C0 = CFrame.new(1.35,-1,0)
  6540.                         rs2 = Instance.new("Weld",t2)
  6541.                         rs2.Part0 = t2.Parent["Right Arm"]
  6542.                         rs2.Part1 = t2
  6543.                         rs2.C0 = CFrame.new(-1.35,-1,0)
  6544.                         lh2 = Instance.new("Weld",t2)
  6545.                         lh2.Part0 = t2.Parent["Left Leg"]
  6546.                         lh2.Part1 = t2
  6547.                         lh2.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15))
  6548.                         rh2 = Instance.new("Weld",t2)
  6549.                         rh2.Part0 = t2.Parent["Right Leg"]
  6550.                         rh2.Part1 = t2
  6551.                         rh2.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15))
  6552.                         ls3 = Instance.new("Weld",t3)
  6553.                         ls3.Part0 = t3.Parent["Left Arm"]
  6554.                         ls3.Part1 = t3
  6555.                         ls3.C0 = CFrame.new(1.5,0.4,0.3) *CFrame.Angles(math.rad(-68),math.rad(30),0)
  6556.                         rs3 = Instance.new("Weld",t3)
  6557.                         rs3.Part0 = t3.Parent["Right Arm"]
  6558.                         rs3.Part1 = t3
  6559.                         rs3.C0 = CFrame.new(-1.5,0.4,0.5) *CFrame.Angles(math.rad(-68),math.rad(-30),0)
  6560.                         lh3 = Instance.new("Weld",t3)
  6561.                         lh3.Part0 = t3.Parent["Left Leg"]
  6562.                         lh3.Part1 = t3
  6563.                         lh3.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15))
  6564.                         rh3 = Instance.new("Weld",t3)
  6565.                         rh3.Part0 = t3.Parent["Right Leg"]
  6566.                         rh3.Part1 = t3
  6567.                         rh3.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15))
  6568.  
  6569.                         wp12 = Instance.new("Weld",t1)
  6570.                         wp12.Part0 = t1
  6571.                         wp12.Part1 = t2
  6572.                         wp12.C0 = CFrame.new(0,-1,-4)
  6573.                         wp12.C1 = CFrame.Angles(math.rad(90),0,0)
  6574.  
  6575.                         wp23 = Instance.new("Weld",t2)
  6576.                         wp23.Part0 = t2
  6577.                         wp23.Part1 = t3
  6578.                         wp23.C0 = CFrame.new(0,3,-1)
  6579.                         wp23.C1 = CFrame.Angles(math.rad(40),math.rad(180),0)
  6580.  
  6581.  
  6582.                         while wait() do
  6583.                                 wait(0.05)
  6584.                                 for i=-4,-5,-0.1 do
  6585.                                         wp12.C0 = CFrame.new(0,-1,i)
  6586.                                         wait(0.005)
  6587.                                 end
  6588.                                 wb3.C0 = CFrame.new(0.3,0,0)
  6589.                                 wb4.C0 = CFrame.new(-0.3,0,0)
  6590.                                 wait(0.05)
  6591.                                 for i=-5,-4,0.1 do
  6592.                                         wp12.C0 = CFrame.new(0,-1,i)
  6593.                                         wait(0.005)
  6594.                                 end
  6595.                                 wb3.C0 = CFrame.new(0.3,0.4,0)
  6596.                                 wb4.C0 = CFrame.new(-0.3,0.4,0)
  6597.                         end end))
  6598.                 end
  6599.         end
  6600.         end
  6601. end
  6602. function sdkclick()
  6603. local user=usertest.Text
  6604. for i,v in pairs(SearchPlayer(user)) do
  6605.         person=v.Name
  6606.         game.Players[person].Character.Head.face.Texture = nkdfc
  6607.         color = "Pastel brown"
  6608.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  6609.         D = Instance.new("Model",workspace[person])
  6610.         D.Name = "Nice thing"
  6611.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  6612.         d = Instance.new("Part")
  6613.         d.TopSurface = 0
  6614.         d.BottomSurface = 0
  6615.         d.Name = "Main"
  6616.         d.Parent = workspace[person]["Nice thing"]
  6617.         d.formFactor = 3
  6618.         d.Size = Vector3.new(0.6,1,0.6)
  6619.         d.BrickColor = BrickColor.new(color)
  6620.         d.Position = workspace[person].Head.Position
  6621.         d.CanCollide = true
  6622.         local cy = Instance.new("CylinderMesh")
  6623.         cy.Parent = d
  6624.                     cy.Scale = Vector3.new(1.1,2,1.1)
  6625.         w = Instance.new("Weld")
  6626.         w.Parent = workspace[person].Head
  6627.         w.Part0 = d
  6628.         w.Part1 = workspace[person].Head
  6629.         w.C0 = CFrame.new(0,-1,2.35)*CFrame.Angles(math.rad(90),0,0)
  6630.         local c = Instance.new("Part")
  6631.         c.Name = "Mush"
  6632.         c.BottomSurface = 0
  6633.         c.TopSurface = 0
  6634.         c.FormFactor = 3
  6635.         c.Size = Vector3.new(0.6,0.6,0.6)
  6636.         c.CFrame = CFrame.new(d.Position)
  6637.         c.BrickColor = BrickColor.new("Pink")
  6638.         c.CanCollide = true
  6639.         c.Parent = workspace[person]["Nice thing"]
  6640.         local msm = Instance.new("SpecialMesh")
  6641.         msm.Parent = c
  6642.         msm.MeshType = "Head"
  6643.                 msm.Scale = Vector3.new(0.99,0.99,0.99)
  6644.         local cw = Instance.new("Weld")
  6645.         cw.Parent = c
  6646.         cw.Part0 = d
  6647.         cw.Part1 = c
  6648.         cw.C0 = CFrame.new(0,1,0)
  6649.         local ball1 = Instance.new("Part")
  6650.         ball1.Parent = workspace[person]["Nice thing"]
  6651.         ball1.Name = "Left Ball"
  6652.         ball1.BottomSurface = 0
  6653.         ball1.TopSurface = 0
  6654.         ball1.CanCollide = true
  6655.         ball1.formFactor = 3
  6656.         ball1.Size = Vector3.new(1,1,1)
  6657.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  6658.         ball1.BrickColor = BrickColor.new(color)
  6659.         local bsm = Instance.new("SpecialMesh")
  6660.         bsm.Parent = ball1
  6661.         bsm.MeshType = "Sphere"
  6662.                         bsm.Scale = Vector3.new(0.8,0.8,0.8)
  6663.         local b1w = Instance.new("Weld")
  6664.         b1w.Parent = ball1
  6665.         b1w.Part0 = workspace[person]["Left Leg"]
  6666.         b1w.Part1 = ball1
  6667.         b1w.C0 = CFrame.new(0.75,1,-0.6)
  6668.         local ball2 = Instance.new("Part")
  6669.         ball2.Parent = workspace[person]["Nice thing"]
  6670.         ball2.Name = "Right Ball"
  6671.         ball2.BottomSurface = 0
  6672.         ball2.CanCollide = true
  6673.         ball2.TopSurface = 0
  6674.         ball2.formFactor = 3
  6675.         ball2.Size = Vector3.new(1,1,1)
  6676.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  6677.         ball2.BrickColor = BrickColor.new(color)
  6678.         local b2sm = Instance.new("SpecialMesh")
  6679.         b2sm.Parent = ball2
  6680.         b2sm.MeshType = "Sphere"
  6681.                         b2sm.Scale = Vector3.new(0.8,0.8,0.8)
  6682.         local b2w = Instance.new("Weld")
  6683.         b2w.Parent = ball2
  6684.         b2w.Part0 = workspace[person]["Right Leg"]
  6685.         b2w.Part1 = ball2
  6686.         b2w.C0 = CFrame.new(-0.75,1,-0.6)
  6687. local me = v
  6688. local c = me.Character
  6689. rs = c.Torso["Right Shoulder"]
  6690. ls = c.Torso["Left Shoulder"]
  6691. t = c.Torso
  6692. lh = t["Left Hip"]
  6693. rh = t["Right Hip"]
  6694. n = t.Neck
  6695. anim = c.Animate
  6696. if (anim ~= nil) or (anim) then
  6697. anim.Disabled = true
  6698. end
  6699. local cfa = CFrame.Angles
  6700. ls:SetDesiredAngle(0)
  6701. rs:SetDesiredAngle(0)
  6702. lh:SetDesiredAngle(0)
  6703. rh:SetDesiredAngle(0)
  6704. n:SetDesiredAngle(0)
  6705. for i=1,10 do
  6706.         ls.C0 = ls.C0 * cfa(0,math.rad(-1),math.rad(-2))
  6707.         rs.C0 = rs.C0 * cfa(0,math.rad(1),math.rad(2))
  6708. end
  6709. end
  6710. end
  6711. function mdkclick()
  6712.     local user=usertest.Text
  6713.     for i,v in pairs(SearchPlayer(user)) do
  6714.                     t1 = v.Character.Torso
  6715.                 t1.Parent.Head.face.Texture = nkdfc
  6716.                 local mdl = Instance.new("Model",t1)
  6717.                 mdl.Name = "MiniDK"
  6718.                 local d = Instance.new("Part")
  6719.         d.TopSurface = 0
  6720.         d.BottomSurface = 0
  6721.                 d.CanCollide = true
  6722.                 d.BrickColor = BrickColor.new("Pastel brown")
  6723.                 d.Shape = "Ball"
  6724.                                 d.Parent = mdl
  6725.                 d.Size = Vector3.new(1,1,1)
  6726.                 local dm = Instance.new("SpecialMesh")
  6727.                 dm.MeshType = "Sphere"
  6728.                 dm.Parent = d
  6729.                 dm.Scale = Vector3.new(0.4,0.4,0.4)
  6730.                 fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  6731.                 d2 = d:Clone()
  6732.                 d2.Parent = mdl
  6733.                 fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  6734.                 local c = Instance.new("Part")
  6735.                 c.TopSurface = 0 c.BottomSurface = 0
  6736.                 c.CanCollide = true
  6737.                 c.BrickColor = BrickColor.new("Pastel brown")
  6738.                 c.Parent = mdl
  6739.                 c.formFactor = "Custom"
  6740.                 c.Size = Vector3.new(0.4,1.3,0.4)
  6741.                 cm = Instance.new("CylinderMesh")
  6742.                 cm.Parent = c
  6743.                 a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  6744.                 c2 = d:Clone()
  6745.                 c2.BrickColor = BrickColor.new("Pink")
  6746.                 c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  6747.                 c2.Parent = mdl
  6748.                 fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  6749.                                 local d = Instance.new("Part")
  6750.                 d.TopSurface = 0
  6751.                 d.BottomSurface = 0
  6752.                 d.CanCollide = true
  6753.                 d.BrickColor = BrickColor.new("Pastel brown")
  6754.                 d.Shape = "Ball" d.Parent = mdl
  6755.                 d.Size = Vector3.new(1,1,1)
  6756.                 local dm = Instance.new("SpecialMesh")
  6757.                 dm.MeshType = "Sphere"
  6758.                 dm.Parent = d
  6759.                 dm.Scale = Vector3.new(0.4,0.4,0.4)
  6760.                 fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  6761.                 d2 = d:Clone()
  6762.                 d2.Parent = mdl
  6763.                 fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  6764.                 local c = Instance.new("Part")
  6765.                 c.TopSurface = 0 c.BottomSurface = 0
  6766.                 c.CanCollide = true
  6767.                 c.BrickColor = BrickColor.new("Pastel brown")
  6768.                 c.Parent = mdl
  6769.                 c.formFactor = "Custom"
  6770.                 c.Size = Vector3.new(0.4,1.3,0.4)
  6771.                 cm = Instance.new("CylinderMesh")
  6772.                 cm.Parent = c
  6773.                 a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  6774.                 c2 = d:Clone()
  6775.                 c2.BrickColor = BrickColor.new("Pink")
  6776.                 c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  6777.                 c2.Parent = mdl
  6778.                                          c2.Name = "Mush"
  6779.                 fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  6780.     end
  6781. end
  6782. function kickclick()
  6783.     local user=usertest.Text
  6784.     for i,v in pairs(SearchPlayer(user)) do
  6785.         if v ~= playa then
  6786.             v:Remove()
  6787.         end
  6788.     end
  6789. end
  6790. function banclick()
  6791.     local user=usertest.Text
  6792.     for i,v in pairs(SearchPlayer(user)) do
  6793.         if v ~= playa then
  6794.             v:Remove()
  6795.             table.insert(banlist,v)
  6796.         end
  6797.     end
  6798. end
  6799. function hdkclick()
  6800. local user=usertest.Text
  6801. for i,v in pairs(SearchPlayer(user)) do
  6802.         person=v.Name
  6803.         color = "Pastel brown"
  6804.         v.Character.Head.face.Texture = nkdfc
  6805.         pcall(function() v.Character["Nice thing"]:Remove() end)
  6806.         D = Instance.new("Model",workspace[person])
  6807.         D.Name = "Nice thing"
  6808.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  6809.         d = Instance.new("Part")
  6810.         d.TopSurface = 0
  6811.         d.BottomSurface = 0
  6812.         d.Name = "Main"
  6813.         d.Parent = workspace[person]["Nice thing"]
  6814.         d.formFactor = 3
  6815.         d.Size = Vector3.new(2,5,2)
  6816.         d.BrickColor = BrickColor.new(color)
  6817.         d.Position = workspace[person].Head.Position
  6818.         d.CanCollide = true
  6819.         local cy = Instance.new("CylinderMesh")
  6820.         cy.Parent = d
  6821.         cy.Scale = Vector3.new(0.6,1,0.6)
  6822.         w = Instance.new("Weld")
  6823.         w.Parent = workspace[person].Head
  6824.         w.Part0 = d
  6825.         w.Part1 = workspace[person].Head
  6826.         w.C0 = CFrame.new(0,-2.5,2.35)*CFrame.Angles(math.rad(90),0,0)
  6827.         local c = Instance.new("Part")
  6828.         c.Name = "Mush"
  6829.         c.BottomSurface = 0
  6830.         c.TopSurface = 0
  6831.         c.FormFactor = 3
  6832.         c.Size = Vector3.new(1,1,1)
  6833.         c.CFrame = CFrame.new(d.Position)
  6834.         c.BrickColor = BrickColor.new("Pink")
  6835.         c.CanCollide = true
  6836.         c.Parent = workspace[person]["Nice thing"]
  6837.         local msm = Instance.new("SpecialMesh")
  6838.         msm.Parent = c
  6839.         msm.MeshType = "Head"
  6840.                 msm.Scale = Vector3.new(1.199,1.199,1.199)
  6841.         local cw = Instance.new("Weld")
  6842.         cw.Parent = c
  6843.         cw.Part0 = d
  6844.         cw.Part1 = c
  6845.         cw.C0 = CFrame.new(0,2.5,0)
  6846.         local ball1 = Instance.new("Part")
  6847.         ball1.Parent = workspace[person]["Nice thing"]
  6848.         ball1.Name = "Left Ball"
  6849.         ball1.BottomSurface = 0
  6850.         ball1.TopSurface = 0
  6851.         ball1.CanCollide = true
  6852.         ball1.formFactor = 3
  6853.         ball1.Size = Vector3.new(2,2,2)
  6854.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  6855.         ball1.BrickColor = BrickColor.new(color)
  6856.         local bsm = Instance.new("SpecialMesh")
  6857.         bsm.Parent = ball1
  6858.         bsm.MeshType = "Sphere"
  6859.                         bsm.Scale = Vector3.new(0.8,0.8,0.8)
  6860.         local b1w = Instance.new("Weld")
  6861.         b1w.Parent = ball1
  6862.         b1w.Part0 = workspace[person]["Left Leg"]
  6863.         b1w.Part1 = ball1
  6864.         b1w.C0 = CFrame.new(1.2,0.5,-0.6)
  6865.         local ball2 = Instance.new("Part")
  6866.         ball2.Parent = workspace[person]["Nice thing"]
  6867.         ball2.Name = "Right Ball"
  6868.         ball2.BottomSurface = 0
  6869.         ball2.CanCollide = true
  6870.         ball2.TopSurface = 0
  6871.         ball2.formFactor = 3
  6872.         ball2.Size = Vector3.new(2,2,2)
  6873.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  6874.         ball2.BrickColor = BrickColor.new(color)
  6875.         local b2sm = Instance.new("SpecialMesh")
  6876.         b2sm.Parent = ball2
  6877.         b2sm.MeshType = "Sphere"
  6878.                         b2sm.Scale = Vector3.new(0.8,0.8,0.8)
  6879.         local b2w = Instance.new("Weld")
  6880.         b2w.Parent = ball2
  6881.         b2w.Part0 = workspace[person]["Right Leg"]
  6882.         b2w.Part1 = ball2
  6883.         b2w.C0 = CFrame.new(-1.2,0.5,-0.6)
  6884.                
  6885. end
  6886. end
  6887. function Status(player)
  6888.     for i,v in pairs(banlist) do
  6889.         if game.Players[v.Name] == game.Players[player.Name] then
  6890.             player:Remove()
  6891.         end
  6892.     end
  6893. end
  6894. on = true
  6895. yes = true
  6896. local Anchored = true
  6897. local Base = Instance.new("Part")
  6898. Base.Name = "Trunk"
  6899. Base.formFactor = "Custom"
  6900. Base.TopSurface = 0
  6901. Base.BottomSurface = 0
  6902. Base.Anchored = true
  6903. Base.BrickColor = BrickColor.new("Pastel brown")
  6904. local Leaves = Base:Clone()
  6905. Leaves.Name = "Leaves"
  6906. Leaves.CanCollide = true
  6907. Leaves.BrickColor = BrickColor.new("Pink")
  6908. local leafmesh = Instance.new("SpecialMesh")
  6909. --[[leafmesh.MeshType = "FileMesh"
  6910. leafmesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  6911. leafmesh.TextureId = "http://www.roblox.com/asset/?id=2861779" ]]--
  6912. leafmesh.Parent = Leaves
  6913. leafmesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  6914. local basemesh = Instance.new("CylinderMesh",Base)
  6915. local function Weld(x,y)
  6916.         local weld = Instance.new("Weld")
  6917.         weld.Part0 = x
  6918.         weld.Part1 = y
  6919.         local CJ = CFrame.new(x.Position)
  6920.         weld.C0 = x.CFrame:inverse() * CJ
  6921.         weld.C1 = y.CFrame:inverse() * CJ
  6922.         weld.Parent = x
  6923. end
  6924. -- get dot product of yz angles
  6925. local function dot(c1,c2)
  6926.         local m = CFrame.Angles(math.pi/2,0,0)
  6927.         return (c1*m).lookVector:Dot((c2*m).lookVector)
  6928. end
  6929. -- multiplier for various sizes of foliage
  6930. local leaf_mult = {
  6931.         Vector3.new(1.5,1.5,1.2);
  6932.         Vector3.new(1.5,1,1.5);
  6933.         Vector3.new(1.2,1.5,1.5);
  6934.         Vector3.new(1.5,1.5,1.5);
  6935. }
  6936. local function Branch(base,c)
  6937.         if c <= 0 then
  6938.                 -- if the complexity has run out, generate some foliage
  6939.                 local leaves = Leaves:Clone()
  6940.                 local vol = base.Size.x+base.Size.y+base.Size.z -- determine size based on branch size
  6941.                 leaves.Mesh.Scale = leaf_mult[math.random(1,#leaf_mult)]*math.random(2,4)/2
  6942.                 leaves.Size = leaves.Mesh.Scale*0.50
  6943.                 leaves.CFrame = base.CFrame * CFrame.new(0,base.Size.y/2,0) -- center foliage at top of branch
  6944.                 leaves.Parent = base.Parent
  6945.                 if not Anchored then
  6946.                         Weld(leaves,base)
  6947.                         leaves.Anchored = false
  6948.                 end
  6949.         else
  6950.                 -- otherwise, make some more branches
  6951.                 local pos = base.CFrame*CFrame.new(0,base.Size/2,0)
  6952.                 local height = base.Size.y
  6953.                 local width = base.Size.x
  6954.                 local nb = math.random(2,2) -- # of possible branches (2 seems to work fine for now)
  6955.                 local r = math.random(45,135) -- rotation of branches on y axis
  6956.                 -- branch split angle difference
  6957.                 -- the less complexity, the greater the possible angle
  6958.                 -- minimum: 20-75; maximum: 40-80
  6959.                 local da = math.random(20+55/c,40+40/c)
  6960.                 -- branch angle (overall angle of all branches)
  6961.                 local ba = math.random(-da/3,da/3)
  6962.                 -- ba+da/2 shouldn't be near or greater than 90 degrees
  6963.                 for i=0,nb-1 do -- for each branch
  6964.                         local branch = base:Clone()
  6965.                         branch.Name = "Branch"
  6966.                         local h = height*math.random(95,115)/100 -- height .95 to 1.15 of original
  6967.                         -- make new cframe
  6968.                         -- move new to top of base, then apply branch angle (ba)
  6969.                         local new = branch.CFrame * CFrame.new(0,height/2,0) * CFrame.Angles(0,0,math.rad(ba))
  6970.                         -- next, rotate branch so that it faces away from others, also apply overall rotation (r)
  6971.                         -- also, apply the split angle (da)
  6972.                         -- finally, move branch upward by half it's size
  6973.                         new = new * CFrame.Angles(0,i*(math.pi*2/nb)+r,math.rad(da/2)) * CFrame.new(0,h/2,0)
  6974.                         -- determine width by branch's final angle; greater the angle, smaller the width
  6975.                         -- also shave off a bit of width for more dramatic change in size
  6976.                         -- a frustum cone mesh would really help here
  6977.                         local w = dot(new,branch.CFrame)*width*0.9
  6978.                         branch.Size = Vector3.new(w,h,w)
  6979.                         branch.CFrame = new
  6980.                         branch.Parent = base.Parent
  6981.                         if not Anchored then
  6982.                                 Weld(branch,base)
  6983.                                 branch.Anchored = false
  6984.                         end
  6985.                         -- create the next set of branches with one less complexity
  6986.                         Branch(branch,c-1)
  6987.                 end
  6988.         end
  6989. --        wait()        -- uncomment to generate slower
  6990. end
  6991. -- Main Function ----------------
  6992. function GenerateTree(location,complexity,width,height,anchor)
  6993. print(","..complexity..","..width..","..height)
  6994. if on then
  6995.         local tree = Instance.new("Model")
  6996.         tree.Name = "Tree"
  6997.         tree.Parent = workspace
  6998.         local base = Base:Clone()
  6999.         base.Parent = tree
  7000.         base.Size = Vector3.new(width,height,width)
  7001.         -- move up by half its height, and rotate randomly
  7002.         base.CFrame = CFrame.new(location) * CFrame.new(0,height/2,0) * CFrame.Angles(0,math.rad(math.random(1,360)),0)
  7003.         -- start branching
  7004.         if not Anchored then
  7005.                 Weld(base,anchor)
  7006.                 base.Anchored = false
  7007.         end
  7008.         Branch(base,complexity)
  7009.         return tree
  7010. end
  7011. end
  7012. function dtrclick()
  7013.     local user=usertest.Text
  7014.     for i,v in pairs(SearchPlayer(user)) do
  7015.         for c,b in pairs(v.Character:children()) do
  7016.            if b.ClassName == "Part" then
  7017.                 b.Anchored = true
  7018.                 b.Transparency = 1
  7019.            end
  7020.         end
  7021.         GenerateTree(v.Character.Torso.Position-Vector3.new(0,3,0),4,3,7,v.Character)
  7022.         for i=0.5,0,-0.1 do
  7023.                 for _,v in next,v.Character.Torso:children() do
  7024.                         if v.ClassName == "Part" then
  7025.                                 v.Transparency = i
  7026.                         end
  7027.                 end
  7028.                 wait(0.5)
  7029.         end
  7030.         for _,x in next,v.Character:children() do
  7031.                 if x.Name == "Tree" then
  7032.                 face = Instance.new("Decal",x.Base)
  7033.                 face.Texture = weegee
  7034.                 end
  7035.         end
  7036.     end
  7037. end
  7038. function sbjclick()
  7039. local user=usertest.Text
  7040. for i,v in pairs(SearchPlayer(user)) do
  7041. coroutine.resume(coroutine.create(function()
  7042. local char=v.Character
  7043. local t=char.Torso
  7044. char.Head.face.Texture = nkdfc
  7045. n=t.Neck
  7046. local lw=Instance.new('Weld',t)
  7047. lw.Name='leftWeld'
  7048. lw.Part0=t
  7049. lw.Part1=char['Left Arm']
  7050. lw.C0=CFrame.new(-1,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(30))
  7051. local rw=Instance.new('Weld',t)
  7052. rw.Name='rightWeld'
  7053. rw.Part0=t
  7054. rw.Part1=char['Right Arm']
  7055. rw.C0=CFrame.new(1,0.5,-1) *CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-30))
  7056. name = v.Name
  7057. seg = 5
  7058.         person = v.Name
  7059.         color = "Pastel brown"
  7060.                   repeat wait() until workspace[person]
  7061.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  7062.         D = Instance.new("Model",workspace[person])
  7063.         D.Name = "Nice thing"
  7064.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  7065.         d = Instance.new("Part")
  7066.         d.TopSurface = 0
  7067.         d.BottomSurface = 0
  7068.         d.Name = "Main"
  7069.         d.Parent = workspace[person]["Nice thing"]
  7070.         d.formFactor = 3
  7071.         d.Size = Vector3.new(1,1,1)
  7072.         d.BrickColor = BrickColor.new(color)
  7073.         d.Position = workspace[person].Torso.Position
  7074.         d.CanCollide = true
  7075.         local cy = Instance.new("CylinderMesh")
  7076.         cy.Parent = d
  7077.                   cy.Scale = Vector3.new(0.3,1,0.3)
  7078.         w = Instance.new("Weld")
  7079.         w.Parent = workspace[person].Torso
  7080.         w.Part0 = d
  7081.         w.Part1 = workspace[person].Torso
  7082.         w.C0 = CFrame.new(0,-0.8,1)*CFrame.Angles(math.rad(90),0,0)
  7083. function Neck(char,segs)
  7084.         for i = 1,segs do
  7085.                 local nseg = Instance.new("Part", char)
  7086.                 nseg.Name = "Part"..i
  7087.                 nseg.Anchored = false
  7088.                 nseg.CanCollide = true
  7089.                 nseg.Size = Vector3.new(1,1,1)
  7090.                 nseg.BrickColor = BrickColor.new'Pastel brown'
  7091.                 local mseg = Instance.new("CylinderMesh",nseg)
  7092.                 mseg.Scale = Vector3.new(0.3,0.8,0.3)
  7093.                 nseg:BreakJoints()
  7094.                 local wseg = Instance.new("Weld", nseg)
  7095.                 if i == 1 then
  7096.                         wseg.Part0 = char
  7097.                 else
  7098.                         wseg.Part0 = char["Part"..i-1]
  7099.                 end
  7100.                 wseg.Part1 = nseg
  7101.                 if i == 1 then
  7102.                         wseg.C1 = CFrame.new(0,-0.8,0.34)
  7103.                 else
  7104.                         wseg.C1 = CFrame.new(0,-0.8,0.35)
  7105.                 end
  7106.                 char["Part"..i].Weld.C0 = CFrame.Angles(math.pi/4,0,0)
  7107.                 if nseg.Name == 'Part'..seg then
  7108.                         nseg.Mesh:destroy'';
  7109.                         nseg.BrickColor = BrickColor.new'Pink';
  7110.                         mesh=Instance.new("SpecialMesh",nseg)
  7111.                         mesh.Scale = Vector3.new(0.4,0.35,0.4)
  7112.                         --nseg.Weld.C1 = CFrame.new(0,0,0) *CFrame.Angles(0,0,0)
  7113.                         char["Part"..seg].Weld.C0 = CFrame.new(0,0.1,0.8) *CFrame.Angles(math.rad(-55),0,0)
  7114.                 end
  7115.         end
  7116. end
  7117.         local ball1 = Instance.new("Part")
  7118.         ball1.Parent = workspace[person]["Nice thing"]
  7119.         ball1.Name = "Left Ball"
  7120.         ball1.BottomSurface = 0
  7121.         ball1.TopSurface = 0
  7122.         ball1.CanCollide = true
  7123.         ball1.formFactor = 3
  7124.         ball1.Size = Vector3.new(1.5,1.5,1.5)
  7125.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  7126.         ball1.BrickColor = BrickColor.new(color)
  7127.         local bsm = Instance.new("SpecialMesh")
  7128.         bsm.Parent = ball1
  7129.         bsm.MeshType = "Sphere"
  7130.                   bsm.Scale = Vector3.new(0.3,0.3,0.3)
  7131.         local b1w = Instance.new("Weld")
  7132.         b1w.Parent = ball1
  7133.         b1w.Part0 = workspace[person]["Left Leg"]
  7134.         b1w.Part1 = ball1
  7135.         b1w.C0 = CFrame.new(0.3,1,-0.6)
  7136.         local ball2 = Instance.new("Part")
  7137.         ball2.Parent = workspace[person]["Nice thing"]
  7138.         ball2.Name = "Right Ball"
  7139.         ball2.BottomSurface = 0
  7140.         ball2.CanCollide = true
  7141.         ball2.TopSurface = 0
  7142.         ball2.formFactor = 3
  7143.         ball2.Size = Vector3.new(1.5,1.5,1.5)
  7144.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  7145.         ball2.BrickColor = BrickColor.new(color)
  7146.         local b2sm = Instance.new("SpecialMesh")
  7147.         b2sm.Parent = ball2
  7148.         b2sm.MeshType = "Sphere"
  7149.                   b2sm.Scale = Vector3.new(0.3,0.3,0.3)
  7150.         local b2w = Instance.new("Weld")
  7151.         b2w.Parent = ball2
  7152.         b2w.Part0 = workspace[person]["Right Leg"]
  7153.         b2w.Part1 = ball2
  7154.         b2w.C0 = CFrame.new(-0.3,1,-0.6)
  7155. Neck(d,seg)
  7156.  
  7157. while wait() do
  7158.         for i=1,50 do
  7159.                 n.C0 = n.C0 *CFrame.Angles(math.rad(-0.2),0,0)
  7160.                 wait(0.0015)
  7161.         end
  7162.         for i=1,50 do
  7163.                 n.C0 = n.C0 *CFrame.Angles(math.rad(0.2),0,0)
  7164.                 wait(0.0015)
  7165.         end
  7166. end end))
  7167. end
  7168. end
  7169. function nclick()
  7170.         local user=usertest.Text
  7171.         local name=twuser.Text
  7172.         for i,v in pairs(SearchPlayer(user)) do
  7173.                 for c,b in pairs(SearchPlayer(name)) do
  7174.                         v.CharacterAppearance = b.CharacterAppearance
  7175.                         v.Character:BreakJoints()
  7176.                 end
  7177.         end
  7178. end
  7179.  
  7180. function dkinpc()
  7181. local user=usertest.Text
  7182. for i,v in pairs(SearchPlayer(user)) do
  7183.         coroutine.resume(coroutine.create(function()
  7184.         person=v.Name
  7185.         color = "Pastel brown"
  7186.         v.Character.Head.face.Texture = nkdfc
  7187.         pcall(function() v.Character["Nice thing"]:Remove() end)
  7188.         D = Instance.new("Model",workspace[person])
  7189.         D.Name = "Nice thing"
  7190.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  7191.         d = Instance.new("Part")
  7192.         d.TopSurface = 0
  7193.         d.BottomSurface = 0
  7194.         d.Name = "Main"
  7195.         d.Parent = workspace[person]["Nice thing"]
  7196.         d.formFactor = 3
  7197.         d.Size = Vector3.new(1,1,1)
  7198.         d.BrickColor = BrickColor.new(color)
  7199.         d.Position = workspace[person].Head.Position
  7200.         d.CanCollide = true
  7201.         local cy = Instance.new("CylinderMesh")
  7202.         cy.Parent = d
  7203.                     cy.Scale = Vector3.new(0.8,1,0.8)
  7204.         w = Instance.new("Weld")
  7205.         w.Parent = workspace[person].Head
  7206.         w.Part0 = d
  7207.         w.Part1 = workspace[person].Head
  7208.         w.C0 = CFrame.new(0,-1,2.5)*CFrame.Angles(math.rad(90),0,0)
  7209.                 local ball1 = Instance.new("Part")
  7210.         ball1.Parent = workspace[person]["Nice thing"]
  7211.         ball1.Name = "Left Ball"
  7212.         ball1.BottomSurface = 0
  7213.         ball1.TopSurface = 0
  7214.         ball1.CanCollide = true
  7215.         ball1.formFactor = 3
  7216.         ball1.Size = Vector3.new(1,1,1)
  7217.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  7218.         ball1.BrickColor = BrickColor.new(color)
  7219.         local bsm = Instance.new("SpecialMesh")
  7220.         bsm.Parent = ball1
  7221.         bsm.MeshType = "Sphere"
  7222.         bsm.Scale = Vector3.new(0.9,0.9,0.9)
  7223.         local b1w = Instance.new("Weld")
  7224.         b1w.Parent = ball1
  7225.         b1w.Part0 = workspace[person]["Left Leg"]
  7226.         b1w.Part1 = ball1
  7227.         b1w.C0 = CFrame.new(0.855,0.6,-0.6)
  7228.         local ball2 = Instance.new("Part")
  7229.         ball2.Parent = workspace[person]["Nice thing"]
  7230.         ball2.Name = "Right Ball"
  7231.         ball2.BottomSurface = 0
  7232.         ball2.CanCollide = true
  7233.         ball2.TopSurface = 0
  7234.         ball2.formFactor = 3
  7235.         ball2.Size = Vector3.new(1,1,1)
  7236.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  7237.         ball2.BrickColor = BrickColor.new(color)
  7238.         local b2sm = Instance.new("SpecialMesh")
  7239.         b2sm.Parent = ball2
  7240.         b2sm.MeshType = "Sphere"
  7241.                         b2sm.Scale = Vector3.new(0.9,0.9,0.9)
  7242.         local b2w = Instance.new("Weld")
  7243.         b2w.Parent = ball2
  7244.         b2w.Part0 = workspace[person]["Right Leg"]
  7245.         b2w.Part1 = ball2
  7246.         b2w.C0 = CFrame.new(-0.855,0.6,-0.6)
  7247. name = v.Name
  7248. seg = twuser.Text
  7249. seg = seg+1
  7250.  
  7251. function Neck(char,segs)
  7252.         for i = 1,segs do
  7253.                 local nseg = Instance.new("Part", char)
  7254.                 nseg.Name = "seg"..i
  7255.                 nseg.Anchored = false
  7256.                 nseg.CanCollide = true
  7257.                 nseg.Size = Vector3.new(1,1,1)
  7258.                 nseg.BrickColor = BrickColor.new'Pastel brown'
  7259.                 local mseg = Instance.new("CylinderMesh",nseg)
  7260.                 mseg.Scale = Vector3.new(0.8,1.2,0.8)
  7261.                 nseg:BreakJoints()
  7262.                 local wseg = Instance.new("Weld", nseg)
  7263.                 if i == 1 then
  7264.                         wseg.Part0 = char
  7265.                 else
  7266.                         wseg.Part0 = char["seg"..i-1]
  7267.                 end
  7268.                 wseg.Part1 = nseg
  7269.                 if i == 1 then
  7270.                         wseg.C1 = CFrame.new(0,-1,0)
  7271.                 else
  7272.                         wseg.C1 = CFrame.new(0,-0.8,0)
  7273.                 end
  7274.                                 if nseg.Name == "seg"..seg then
  7275.                                         nseg.Mesh:Destroy()
  7276.                                         nseg.BrickColor = BrickColor.new'Pink'
  7277.                                         local mseg = Instance.new("SpecialMesh",nseg)
  7278.                                         mseg.Scale = Vector3.new(1,0.8,1)
  7279.                                 end
  7280.                 char["seg"..i].Weld.C0 = CFrame.Angles(0,0,math.pi/8)
  7281.         end
  7282. end
  7283.  
  7284. Neck(workspace[name]["Nice thing"].Main,seg)
  7285.  
  7286. while wait(0.05) do
  7287.                 if tostring(seg):len() >= 1 and tostring(seg):len() <= 9 then
  7288.                         cfa = CFrame.Angles(math.cos(tick()*(seg/(seg/10)))/(seg/(seg/10)),0,0)
  7289.                 end
  7290.                 if tostring(seg):len() >= 10 and tostring(seg):len() <= 99 then
  7291.                         cfa = CFrame.Angles(math.cos(tick()*(seg/(seg/100)))/(seg/(seg/100)),0,0)
  7292.                 end
  7293.                 if seg == 100 then
  7294.                         cfa = CFrame.Angles(math.cos(tick()*(seg/2))/(seg/2),0,0)
  7295.                 end
  7296.                
  7297.         for i = 1,seg do
  7298.                 workspace[name]["Nice thing"].Main["seg"..i].Weld.C0 = cfa
  7299.         end
  7300.         --workspace[name].Torso.Neck.C0 = CFrame.new(math.cos((tick()*3)+math.pi)*3.7,((math.cos((tick()*6)+math.pi)*1.5)*0.8)+((seg/2)+(seg/10)),0) * CFrame.Angles(math.pi/2,((math.sin((tick()*3)+math.pi/2)*(math.pi/2)))+math.pi,0)
  7301. end end))
  7302.  
  7303. end
  7304. end
  7305.  
  7306. function dkpc()
  7307.         local user=usertest.Text
  7308.         local user2=twuser.Text
  7309.         for i,v in pairs(SearchPlayer(user)) do
  7310.                 for c,b in pairs(SearchPlayer(user2)) do
  7311. coroutine.resume(coroutine.create(function()
  7312.         local t2 = b.Character
  7313.         person=v.Name
  7314.                 v.Character.Head.face.Texture = nkdfc
  7315.                 t2.Head.face.Texture = nkdfc
  7316.         color = "Pastel brown"
  7317.                 workspace[person].Torso.Anchored=true
  7318.         pcall(function() v.Character["Nice thing"]:Remove() end)
  7319.         D = Instance.new("Model",workspace[person])
  7320.         D.Name = "Nice thing"
  7321.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  7322.         d = Instance.new("Part")
  7323.         d.TopSurface = 0
  7324.         d.BottomSurface = 0
  7325.         d.Name = "Main"
  7326.         d.Parent = workspace[person]["Nice thing"]
  7327.         d.formFactor = 3
  7328.         d.Size = Vector3.new(1,5,1)
  7329.         d.BrickColor = BrickColor.new(color)
  7330.         d.Position = workspace[person].Head.Position
  7331.         d.CanCollide = true
  7332.         local cy = Instance.new("CylinderMesh")
  7333.         cy.Parent = d
  7334.                     cy.Scale = Vector3.new(0.6,1,0.6)
  7335.         w = Instance.new("Weld")
  7336.         w.Parent = workspace[person].Head
  7337.         w.Part0 = d
  7338.         w.Part1 = workspace[person].Head
  7339.         w.C0 = CFrame.new(0,-2,2.35)*CFrame.Angles(math.rad(70),0,0)
  7340.         local c = Instance.new("Part")
  7341.         c.Name = "Mush"
  7342.         c.BottomSurface = 0
  7343.         c.TopSurface = 0
  7344.         c.FormFactor = 3
  7345.         c.Size = Vector3.new(1,1,1)
  7346.         c.CFrame = CFrame.new(d.Position)
  7347.         c.BrickColor = BrickColor.new("Pink")
  7348.         c.CanCollide = true
  7349.         c.Parent = workspace[person]["Nice thing"]
  7350.         local msm = Instance.new("SpecialMesh")
  7351.         msm.Parent = c
  7352.         msm.MeshType = "Head"
  7353.                 msm.Scale = Vector3.new(1.199,1.199,1.199)
  7354.         local cw = Instance.new("Weld")
  7355.         cw.Parent = c
  7356.         cw.Part0 = d
  7357.         cw.Part1 = c
  7358.         cw.C0 = CFrame.new(0,2.5,0)
  7359.         local ball1 = Instance.new("Part")
  7360.         ball1.Parent = workspace[person]["Nice thing"]
  7361.         ball1.Name = "Left Ball"
  7362.         ball1.BottomSurface = 0
  7363.         ball1.TopSurface = 0
  7364.         ball1.CanCollide = true
  7365.         ball1.formFactor = 3
  7366.         ball1.Size = Vector3.new(2,2,2)
  7367.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  7368.         ball1.BrickColor = BrickColor.new(color)
  7369.         local bsm = Instance.new("SpecialMesh")
  7370.         bsm.Parent = ball1
  7371.         bsm.MeshType = "Sphere"
  7372.                         bsm.Scale = Vector3.new(0.8,0.8,0.8)
  7373.         local b1w = Instance.new("Weld")
  7374.         b1w.Parent = ball1
  7375.         b1w.Part0 = workspace[person]["Left Leg"]
  7376.         b1w.Part1 = ball1
  7377.         b1w.C0 = CFrame.new(1.2,0.5,-0.6)
  7378.         local ball2 = Instance.new("Part")
  7379.         ball2.Parent = workspace[person]["Nice thing"]
  7380.         ball2.Name = "Right Ball"
  7381.         ball2.BottomSurface = 0
  7382.         ball2.CanCollide = true
  7383.         ball2.TopSurface = 0
  7384.         ball2.formFactor = 3
  7385.         ball2.Size = Vector3.new(2,2,2)
  7386.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  7387.         ball2.BrickColor = BrickColor.new(color)
  7388.         local b2sm = Instance.new("SpecialMesh")
  7389.         b2sm.Parent = ball2
  7390.         b2sm.MeshType = "Sphere"
  7391.                         b2sm.Scale = Vector3.new(0.8,0.8,0.8)
  7392.         local b2w = Instance.new("Weld")
  7393.         b2w.Parent = ball2
  7394.         b2w.Part0 = workspace[person]["Right Leg"]
  7395.         b2w.Part1 = ball2
  7396.         b2w.C0 = CFrame.new(-1.2,0.5,-0.6)
  7397.                 local newweld=Instance.new('Weld',d)
  7398.                 newweld.Part0=d
  7399.                 newweld.Part1=t2.Torso
  7400.                 newweld.C0=CFrame.new(0,2,1)*CFrame.Angles(math.rad(90),0,0)
  7401. ls2 = Instance.new("Weld",t2)
  7402.                         ls.Part0 = t2["Left Arm"]
  7403.                         ls.Part1 = t2.Torso
  7404.                         ls.C0 = CFrame.new(1.35,-1,0)
  7405.                         rs = Instance.new("Weld",t2)
  7406.                         rs.Part0 = t2["Right Arm"]
  7407.                         rs.Part1 = t2.Torso
  7408.                         rs.C0 = CFrame.new(-1.35,-1,0)
  7409.                         lh = Instance.new("Weld",t2)
  7410.                         lh.Part0 = t2["Left Leg"]
  7411.                         lh.Part1 = t2.Torso
  7412.                         lh.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15))
  7413.                         rh = Instance.new("Weld",t2)
  7414.                         rh.Part0 = t2["Right Leg"]
  7415.                         rh.Part1 = t2.Torso
  7416.                         rh.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15))
  7417. while true do
  7418.         for i=1,135/2 do
  7419.                 rs.C0 = rs.C0 * cfa(0,0,math.rad(2))
  7420.                 ls.C0 = ls.C0 * cfa(0,0,math.rad(2))
  7421.                 wait(0.0005)
  7422.         end
  7423.         for i=1,135/2 do
  7424.                 rs.C0 = rs.C0 * cfa(0,0,math.rad(-2))
  7425.                 ls.C0 = ls.C0 * cfa(0,0,math.rad(-2))
  7426.                 wait(0.0005)
  7427.         end
  7428. end end))
  7429.                 end
  7430.         end
  7431. end
  7432. function basec()
  7433.         fBase("Dark green")
  7434. end
  7435. function basewc()
  7436.         fBase("White")
  7437. end
  7438. function q()
  7439.         local user=usertest.Text
  7440.         for i,v in pairs(SearchPlayer(user)) do
  7441.                 _c=v.Character
  7442.                 t=_c.Torso
  7443.                 ls=t['Left Shoulder']
  7444.                 rs=t['Right Shoulder']
  7445.                 lh=t['Left Hip']
  7446.                 rh=t['Right Hip']
  7447.                 n=t.Neck
  7448.                 _c.Animate.Disabled=true
  7449.                 cfa=CFrame.Angles
  7450.                 cf=CFrame.new
  7451.                 for i=1,180 do
  7452.                         ls.C0 = ls.C0 *cfa(0,0,math.rad(-1))
  7453.                         rs.C0 = rs.C0 *cfa(0,0,math.rad(1))
  7454.                 end
  7455.                 for i=1,35 do
  7456.                         lh.C0 = lh.C0 *cf(0,0.01,0) *cfa(math.rad(-1.2),0,0)
  7457.                         rh.C0 = rh.C0 *cf(0,0.01,0) *cfa(math.rad(-1.2),0,0)
  7458.                 end
  7459.                 t.Parent:MoveTo(t.Position+Vector3.new(0,5,0))
  7460.                 t.Anchored=true
  7461.                 _c.Head.Anchored=true
  7462.                 local s=Instance.new('Smoke',t)
  7463.                 s.Opacity=0.5
  7464.                 s.RiseVelocity=(-25)
  7465.                 s.Size=0.1
  7466.         end
  7467. end
  7468.  
  7469. function evolvec()
  7470.         local user=usertest.Text
  7471.         for i,v in pairs(SearchPlayer(user)) do
  7472. coroutine.resume(coroutine.create(function()
  7473. person=v.Name
  7474. local surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  7475. color = "Pastel brown"
  7476. pcall(function() v.Character["Nice thing"]:Remove() end)
  7477. D = Instance.new("Model",workspace[person])
  7478. D.Name = "Nice thing"
  7479. bg = Instance.new("BodyGyro",workspace[person].Torso)
  7480. d = Instance.new("Part")
  7481. d.TopSurface = 0
  7482. d.BottomSurface = 0
  7483. d.Name = "Main"
  7484. d.Parent = workspace[person]["Nice thing"]
  7485. d.formFactor = 3
  7486. d.Size = Vector3.new(1,1,1)
  7487. d.BrickColor = BrickColor.new(color)
  7488. d.Position = workspace[person].Head.Position
  7489. d.CanCollide = true
  7490. local cy = Instance.new("CylinderMesh")
  7491. cy.Parent = d
  7492. cy.Scale = Vector3.new(1,1,1)
  7493. w = Instance.new("Weld")
  7494. w.Parent = workspace[person].Head
  7495. w.Part0 = d
  7496. w.Part1 = workspace[person].Head
  7497. w.C0 = CFrame.new(0,-1,2.5)*CFrame.Angles(math.rad(90),0,0)
  7498. local ball1 = Instance.new("Part")
  7499. ball1.Parent = workspace[person]["Nice thing"]
  7500. ball1.Name = "Left Ball"
  7501. ball1.BottomSurface = 0
  7502. ball1.TopSurface = 0
  7503. ball1.CanCollide = true
  7504. ball1.formFactor = 3
  7505. ball1.Size = Vector3.new(1,1,1)
  7506. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  7507. ball1.BrickColor = BrickColor.new(color)
  7508. local bsm = Instance.new("SpecialMesh")
  7509. bsm.Parent = ball1
  7510. bsm.MeshType = "Sphere"
  7511. bsm.Scale = Vector3.new(0.9,0.9,0.9)
  7512. local b1w = Instance.new("Weld")
  7513. b1w.Parent = ball1
  7514. b1w.Part0 = workspace[person]["Left Leg"]
  7515. b1w.Part1 = ball1
  7516. b1w.C0 = CFrame.new(0.855,0.6,-0.6)
  7517. local ball2 = Instance.new("Part")
  7518. ball2.Parent = workspace[person]["Nice thing"]
  7519. ball2.Name = "Right Ball"
  7520. ball2.BottomSurface = 0
  7521. ball2.CanCollide = true
  7522. ball2.TopSurface = 0
  7523. ball2.formFactor = 3
  7524. ball2.Size = Vector3.new(1,1,1)
  7525. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  7526. ball2.BrickColor = BrickColor.new(color)
  7527. local b2sm = Instance.new("SpecialMesh")
  7528. b2sm.Parent = ball2
  7529. b2sm.MeshType = "Sphere"
  7530. b2sm.Scale = Vector3.new(0.9,0.9,0.9)
  7531. local b2w = Instance.new("Weld")
  7532. b2w.Parent = ball2
  7533. b2w.Part0 = workspace[person]["Right Leg"]
  7534. b2w.Part1 = ball2
  7535. b2w.C0 = CFrame.new(-0.855,0.6,-0.6)
  7536. name = v.Name
  7537. seg = tonumber(twuser.Text)
  7538. other = seg+50
  7539.  
  7540. function newNeck(char,segs)
  7541. for i = 1,segs do
  7542. local nseg = Instance.new("Part", char)
  7543. nseg.Name = "seg"..i
  7544. nseg.Anchored = false
  7545. nseg.CanCollide = true
  7546. nseg.Size = Vector3.new(1,1,1)
  7547. nseg.BrickColor = BrickColor.new'Pastel brown'
  7548. local mseg = Instance.new("CylinderMesh",nseg)
  7549. mseg.Scale = Vector3.new(1,1,1)
  7550. nseg:BreakJoints()
  7551. local wseg = Instance.new("Weld", nseg)
  7552. if i == 1 then
  7553. wseg.Part0 = char
  7554. else
  7555. wseg.Part0 = char["seg"..i-1]
  7556. end
  7557. wseg.Part1 = nseg
  7558. if i == 1 then
  7559. wseg.C1 = CFrame.new(0,-1,0)
  7560. else
  7561. wseg.C1 = CFrame.new(0,-0.8,0)
  7562. end
  7563. if nseg.Name == "seg"..seg then
  7564. nseg.Mesh:Destroy()
  7565. nseg.BrickColor = BrickColor.new'Pink'
  7566. local mseg = Instance.new("SpecialMesh",nseg)
  7567. mseg.Scale = Vector3.new(1,0.8,1)
  7568. end
  7569. char["seg"..i].Weld.C0 = CFrame.Angles(math.rad(1.5),0,0)
  7570. if i > seg then
  7571. nseg.Transparency = 1
  7572. end
  7573. end
  7574. end
  7575.  
  7576. newNeck(workspace[name]["Nice thing"].Main,other)
  7577. par=workspace[name]["Nice thing"].Main
  7578. while true do
  7579. for i=1,seg do
  7580.         par["seg"..i].Mesh.Scale = Vector3.new(1,1,1)
  7581.         wait(0.015)
  7582.         par["seg"..i+1].Mesh.Scale = Vector3.new(2,1,2)
  7583.         if par["seg"..i+1].Name == "seg"..seg then
  7584.                 par["seg"..i+1].Mesh.Scale = Vector3.new(2,2,2)
  7585.         end
  7586.         wait(0.015)
  7587.         par["seg"..i+2].Mesh.Scale = Vector3.new(3,1,3)
  7588.         if par["seg"..i+2].Name == "seg"..seg then
  7589.                 par["seg"..i+2].Mesh.Scale = Vector3.new(3,3,3)
  7590.         end
  7591.         wait(0.015)
  7592.         par["seg"..i+3].Mesh.Scale = Vector3.new(4,1,4)
  7593.         if par["seg"..i+3].Name == "seg"..seg then
  7594.                 par["seg"..i+3].Mesh.Scale = Vector3.new(4,4,4)
  7595.         end
  7596.         wait(0.015)
  7597.         par["seg"..i+4].Mesh.Scale = Vector3.new(3,1,3)
  7598.         if par["seg"..i+4].Name == "seg"..seg then
  7599.                 local s = Instance.new("Part",par["seg"..seg])
  7600.                 s.Size = Vector3.new(2,2,2)
  7601.                 for i,v in pairs(surfaces) do
  7602.                         s[v]=0
  7603.                 end
  7604.                 s.BrickColor = BrickColor.new('White')
  7605.                 s.Shape = 'Ball'
  7606.                 local mesh = Instance.new("SpecialMesh",s)
  7607.                 mesh.MeshType = 'Sphere'
  7608.                 s.CFrame=CFrame.new(par["seg"..seg].Position)
  7609.                 par["seg"..i+4].Mesh.Scale = Vector3.new(3,3,3)
  7610.         end
  7611.         wait(0.015)
  7612.         par["seg"..i+5].Mesh.Scale = Vector3.new(2,1,2)
  7613.         if par["seg"..i+6].Name == "seg"..seg then
  7614.                 par["seg"..i+6].Mesh.Scale = Vector3.new(2,2,2)
  7615.         end
  7616.         wait(0.015)
  7617.         par["seg"..i+6].Mesh.Scale = Vector3.new(1,1,1)
  7618.         if par["seg"..i+6].Name == "seg"..seg then
  7619.                 par["seg"..i+6].Mesh.Scale = Vector3.new(1,1,1)
  7620.         end
  7621.         wait(0.015)
  7622. end
  7623. wait(0.2)
  7624. end
  7625. end))
  7626.         end
  7627. end
  7628.  
  7629. function nc()
  7630.         local user=usertest.Text
  7631.         for i,v in pairs(SearchPlayer(user)) do
  7632. local me=v;
  7633. local char=v.Character;
  7634. for _,c in pairs(char:children()) do
  7635. if c.className == 'Model' then
  7636. c:Destroy'';
  7637. end
  7638. end
  7639. local name=twuser.Text
  7640. local model=Instance.new('Model',char);
  7641. local humanoid=Instance.new('Humanoid',model);
  7642. local copy=char.Head:Clone'';
  7643. local weld=Instance.new('Weld',char.Head);
  7644. weld.Part0=char.Head
  7645. weld.Part1=copy
  7646. model.Name=name;
  7647. char.Head.Transparency=1;
  7648. humanoid.MaxHealth=0;
  7649. humanoid.Health=1;
  7650. copy.Parent=model;
  7651. copy.Name='Head';
  7652.         end
  7653. end
  7654.  
  7655. function exp()
  7656.         local user=usertest.Text
  7657.         for i,v in pairs(SearchPlayer(user)) do
  7658.                 local explosion=Instance.new("Explosion",v.Character)
  7659.                 explosion.Position = v.Character.Head.Position
  7660.         end
  7661. end
  7662.  
  7663. function bjclick()
  7664.         local user=usertest.Text
  7665.         local user2=twuser.Text
  7666.         for i,v in pairs(SearchPlayer(user)) do
  7667.                 for c,b in pairs(SearchPlayer(user2)) do
  7668. n2 = v.Name
  7669. n1 = b.Name
  7670.  
  7671. pcall(function()
  7672. t1 = game.Players[n1].Character.Torso
  7673. t2 = game.Players[n2].Character.Torso
  7674. t2.Parent.Humanoid.PlatformStand = true
  7675. t1["Left Shoulder"]:Remove()
  7676. ls1 = Instance.new("Weld")
  7677. ls1.Parent = t1
  7678. ls1.Part0 = t1
  7679. ls1.Part1 = t1.Parent["Left Arm"]
  7680. ls1.C0 = CFrame.new(-1.5,0,0)
  7681. ls1.Name = "Left Shoulder"
  7682. t1["Right Shoulder"]:Remove()
  7683. rs1 = Instance.new("Weld")
  7684. rs1.Parent = t1
  7685. rs1.Part0 = t1
  7686. rs1.Part1 = t1.Parent["Right Arm"]
  7687. rs1.C0 = CFrame.new(1.5,0,0)
  7688. rs1.Name = "Right Shoulder"
  7689. t2["Left Shoulder"]:Remove()
  7690. ls2 = Instance.new("Weld")
  7691. ls2.Parent = t2
  7692. ls2.Part0 = t2
  7693. ls2.Part1 = t2.Parent["Left Arm"]
  7694. ls2.C0 = CFrame.new(-1.5,0,0)
  7695. ls2.Name = "Left Shoulder"
  7696. t2["Right Shoulder"]:Remove()
  7697. rs2 = Instance.new("Weld")
  7698. rs2.Parent = t2
  7699. rs2.Part0 = t2
  7700. rs2.Part1 = t2.Parent["Right Arm"]
  7701. rs2.C0 = CFrame.new(1.5,0,0)
  7702. rs2.Name = "Right Shoulder"
  7703. t2["Left Hip"]:Remove()
  7704. lh2 = Instance.new("Weld")
  7705. lh2.Parent = t2
  7706. lh2.Part0 = t2
  7707. lh2.Part1 = t2.Parent["Left Leg"]
  7708. lh2.C0 = CFrame.new(-0.5,-2,0)
  7709. lh2.Name = "Left Hip"
  7710. t2["Right Hip"]:Remove()
  7711. rh2 = Instance.new("Weld")
  7712. rh2.Parent = t2
  7713. rh2.Part0 = t2
  7714. rh2.Part1 = t2.Parent["Right Leg"]
  7715. rh2.C0 = CFrame.new(0.5,-2,0)
  7716. rh2.Name = "Right Hip"
  7717. local d = Instance.new("Part")
  7718. d.TopSurface = 0
  7719. d.BottomSurface = 0
  7720. d.CanCollide = false
  7721. d.BrickColor = BrickColor.new("Medium stone grey")
  7722. d.Shape = "Ball"
  7723. d.Parent = t1
  7724. d.Size = Vector3.new(1,1,1)
  7725. local dm = Instance.new("SpecialMesh")
  7726. dm.MeshType = "Sphere"
  7727. dm.Parent = d
  7728. dm.Scale = Vector3.new(0.4,0.4,0.4)
  7729. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  7730. d2 = d:Clone()
  7731. d2.Parent = t1
  7732. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  7733. local c = Instance.new("Part")
  7734. c.TopSurface = 0
  7735. c.BottomSurface = 0
  7736. c.CanCollide = false
  7737. c.BrickColor = BrickColor.new("Pastel brown")
  7738. c.Parent = t1
  7739. c.formFactor = "Custom"
  7740. c.Size = Vector3.new(0.4,1.3,0.4)
  7741. cm = Instance.new("CylinderMesh")
  7742. cm.Parent = c
  7743. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  7744. c2 = d:Clone()
  7745. c2.BrickColor = BrickColor.new("Medium stone grey")
  7746. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  7747. c2.Parent = t1
  7748. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  7749. local bl = Instance.new("Part")
  7750. bl.TopSurface = 0
  7751. bl.BottomSurface = 0
  7752. bl.CanCollide = false
  7753. bl.BrickColor = BrickColor.new("Pastel brown")
  7754. bl.Shape = "Ball"
  7755. bl.Parent = t2
  7756. bl.Size = Vector3.new(1,1,1)
  7757. local dm = Instance.new("SpecialMesh")
  7758. dm.MeshType = "Sphere"
  7759. dm.Parent = bl
  7760. dm.Scale = Vector3.new(1.2,1.2,1.2)
  7761. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  7762. local br = Instance.new("Part")
  7763. br.TopSurface = 0
  7764. br.BottomSurface = 0
  7765. br.CanCollide = false
  7766. br.BrickColor = BrickColor.new("Pastel brown")
  7767. br.Shape = "Ball"
  7768. br.Parent = t2
  7769. br.Size = Vector3.new(1,1,1)
  7770. local dm = Instance.new("SpecialMesh")
  7771. dm.MeshType = "Sphere"
  7772. dm.Parent = br
  7773. dm.Scale = Vector3.new(1.2,1.2,1.2)
  7774. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  7775. local bln = Instance.new("Part")
  7776. bln.TopSurface = 0
  7777. bln.BottomSurface = 0
  7778. bln.CanCollide = false
  7779. bln.Shape = "Ball"
  7780. bln.Parent = t2
  7781. bln.Size = Vector3.new(1,1,1)
  7782. local dm = Instance.new("SpecialMesh")
  7783. dm.MeshType = "Sphere"
  7784. dm.Parent = bln
  7785. dm.Scale = Vector3.new(0.2,0.2,0.2)
  7786. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  7787. local brn = Instance.new("Part")
  7788. brn.TopSurface = 0
  7789. brn.BottomSurface = 0
  7790. brn.CanCollide = false
  7791. brn.Shape = "Ball"
  7792. brn.Parent = t2
  7793. brn.Size = Vector3.new(1,1,1)
  7794. local dm = Instance.new("SpecialMesh")
  7795. dm.MeshType = "Sphere"
  7796. dm.Parent = brn
  7797. dm.Scale = Vector3.new(0.2,0.2,0.2)
  7798. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  7799. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  7800. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  7801. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.7,-0.2,0)
  7802. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.7,0.2,0)
  7803. ls1.C1 = CFrame.new(-0.5,0.9,0.5) * CFrame.Angles(-1.2,.2,0)
  7804. rs1.C1 = CFrame.new(0.5,0.9,0.5) * CFrame.Angles(-1.2,-.2,0)
  7805. if t1:findFirstChild("weldx") ~= nil then
  7806. t1.weldx:Remove()
  7807. end
  7808. we = fWeld("weldx", t1, t1, t2, true, 0, -1.8, -2.47, math.rad(-130), 0, 172.79)
  7809. n = t2.Neck
  7810. n.C0 = CFrame.new(0, 1.2, 0) * CFrame.Angles(math.rad(-235), math.rad(180), 0)
  7811. end)
  7812. coroutine.resume(coroutine.create(function()
  7813. while wait() do
  7814. for i = 1,6 do
  7815. we.C1 = we.C1 * CFrame.new(0.0,0.05,-0.05)
  7816. ls2.C1 = ls2.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.014,-0.004,0)
  7817. rs2.C1 = rs2.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.014,-0.004,0)
  7818. ls1.C1 = ls1.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.020,0,0)
  7819. rs1.C1 = rs1.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.020,0,0)
  7820. wait()
  7821. end
  7822.  
  7823. for i = 1,6 do
  7824. we.C1 = we.C1 * CFrame.new(0.0,-0.05,0.05)
  7825. ls2.C1 = ls2.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.014,0.004,0)
  7826. rs2.C1 = rs2.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.014,0.004,0)
  7827. ls1.C1 = ls1.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.020,0,0)
  7828. rs1.C1 = rs1.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.020,0,0)
  7829. wait()
  7830. end
  7831. end
  7832. end))
  7833. end
  7834. end
  7835. end
  7836.  
  7837.  
  7838. msg.MouseButton1Click:connect(msgclick)
  7839. kbutton.MouseButton1Click:connect(kbuttonclick)
  7840. ttbutton.MouseButton1Click:connect(ttbuttonclick)
  7841. nkdbutton.MouseButton1Click:connect(nkdbuttonclick)
  7842. tw.MouseButton1Click:connect(twclick)
  7843. dkbutton.MouseButton1Click:connect(dkclick)
  7844. sdkbutton.MouseButton1Click:connect(sdkclick)
  7845. mdkbutton.MouseButton1Click:connect(mdkclick)
  7846. hdkbutton.MouseButton1Click:connect(hdkclick)
  7847. godbutton.MouseButton1Click:connect(godclick)
  7848. kick.MouseButton1Click:connect(kickclick)
  7849. ban.MouseButton1Click:connect(banclick)
  7850. dtr.MouseButton1Click:connect(dtrclick)
  7851. sbj.MouseButton1Click:connect(sbjclick)
  7852. n.MouseButton1Click:connect(nclick)
  7853. c.MouseButton1Click:connect(cawm)
  7854. dkinp.MouseButton1Click:connect(dkinpc)
  7855. dkinperson.MouseButton1Click:connect(dkpc)
  7856. base.MouseButton1Click:connect(basec)
  7857. queeeef.MouseButton1Click:connect(q)
  7858. base_white.MouseButton1Click:connect(basewc)
  7859. evolve.MouseButton1Click:connect(evolvec)
  7860. cn.MouseButton1Click:connect(nc)
  7861. explo.MouseButton1Click:connect(exp)
  7862. threeway.MouseButton1Click:connect(threewayc)
  7863. bjay.MouseButton1Click:connect(bjclick)
  7864. frame.MouseEnter:connect(function()
  7865. frame:TweenPosition(UDim2.new(0,0,0.25,0), "Out", "Quad", 1, true)
  7866. end)
  7867. frame.MouseLeave:connect(function()
  7868. frame:TweenPosition(UDim2.new(-0.39,0,0.25,0), "Out", "Quad", 1, true)
  7869. end)
  7870. game.Players.PlayerAdded:connect(Status)
  7871. end)
  7872. ---------------------------------------Skeleton Skybox--------------------------
  7873. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton7.MouseButton1Down:connect(function()
  7874.     imageOne = "http://www.roblox.com/asset/?id=169585459"
  7875. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  7876. imageThree = "http://www.roblox.com/asset/?id=169585485"
  7877. imageFour = "http://www.roblox.com/asset/?id=169585502"
  7878. imageFive = "http://www.roblox.com/asset/?id=169585515"
  7879. imageSix = "http://www.roblox.com/asset/?id=169585502"
  7880. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  7881. imageEight = "http://www.roblox.com/asset/?id=169585475"
  7882.  
  7883. Spooky = Instance.new("Sound", workspace)
  7884. Spooky.Name = "Spooky"
  7885. Spooky.SoundId = "rbxassetid://174270407"
  7886. Spooky.Volume = 15
  7887. Spooky.Looped = true
  7888. Spooky:Play()
  7889.  
  7890. Sky = Instance.new("Sky", game.Lighting)
  7891. Sky.SkyboxBk = imageOne
  7892. Sky.SkyboxDn = imageOne
  7893. Sky.SkyboxFt = imageOne
  7894. Sky.SkyboxLf = imageOne
  7895. Sky.SkyboxRt = imageOne
  7896. Sky.SkyboxUp = imageOne
  7897.  
  7898.  
  7899. while true do
  7900.     Sky.SkyboxBk = imageOne
  7901.     Sky.SkyboxDn = imageOne
  7902.     Sky.SkyboxFt = imageOne
  7903.     Sky.SkyboxLf = imageOne
  7904.     Sky.SkyboxRt = imageOne
  7905.     Sky.SkyboxUp = imageOne
  7906.     wait(0.15)
  7907.     Sky.SkyboxBk = imageTwo
  7908.     Sky.SkyboxDn = imageTwo
  7909.     Sky.SkyboxFt = imageTwo
  7910.     Sky.SkyboxLf = imageTwo
  7911.     Sky.SkyboxRt = imageTwo
  7912.     Sky.SkyboxUp = imageTwo
  7913.     wait(0.15)
  7914.     Sky.SkyboxBk = imageThree
  7915.     Sky.SkyboxDn = imageThree
  7916.     Sky.SkyboxFt = imageThree
  7917.     Sky.SkyboxLf = imageThree
  7918.     Sky.SkyboxRt = imageThree
  7919.     Sky.SkyboxUp = imageThree
  7920.     wait(0.15)
  7921.     Sky.SkyboxBk = imageFour
  7922.     Sky.SkyboxDn = imageFour
  7923.     Sky.SkyboxFt = imageFour
  7924.     Sky.SkyboxLf = imageFour
  7925.     Sky.SkyboxRt = imageFour
  7926.     Sky.SkyboxUp = imageFour
  7927.     wait(0.15)
  7928.     Sky.SkyboxBk = imageFive
  7929.     Sky.SkyboxDn = imageFive
  7930.     Sky.SkyboxFt = imageFive
  7931.     Sky.SkyboxLf = imageFive
  7932.     Sky.SkyboxRt = imageFive
  7933.     Sky.SkyboxUp = imageFive
  7934.     wait(0.15)
  7935.     Sky.SkyboxBk = imageSix
  7936.     Sky.SkyboxDn = imageSix
  7937.     Sky.SkyboxFt = imageSix
  7938.     Sky.SkyboxLf = imageSix
  7939.     Sky.SkyboxRt = imageSix
  7940.     Sky.SkyboxUp = imageSix
  7941.     wait(0.15)
  7942.     Sky.SkyboxBk = imageSeven
  7943.     Sky.SkyboxDn = imageSeven
  7944.     Sky.SkyboxFt = imageSeven
  7945.     Sky.SkyboxLf = imageSeven
  7946.     Sky.SkyboxRt = imageSeven
  7947.     Sky.SkyboxUp = imageSeven
  7948.     wait(0.15)
  7949.     Sky.SkyboxBk = imageEight
  7950.     Sky.SkyboxDn = imageEight
  7951.     Sky.SkyboxFt = imageEight
  7952.     Sky.SkyboxLf = imageEight
  7953.     Sky.SkyboxRt = imageEight
  7954.     Sky.SkyboxUp = imageEight
  7955.     wait(0.15)
  7956.    
  7957. end
  7958. end)
  7959. --------------------------------666---------------------------------------------
  7960. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton8.MouseButton1Down:connect(function()
  7961.     loadstring([[
  7962. --~transiate~--
  7963. for i,v in next,workspace:children''do
  7964.   if(v:IsA'BasePart')then
  7965.     me=v;
  7966.     bbg=Instance.new('BillboardGui',me);
  7967.     bbg.Name='stuf';
  7968.     bbg.Adornee=me;
  7969.     bbg.Size=UDim2.new(2.5,0,2.5,0)
  7970.     --bbg.StudsOffset=Vector3.new(0,2,0)
  7971.     tlb=Instance.new'TextLabel';
  7972.     tlb.Text='666 666 666 666 666 666';
  7973.     tlb.Font='SourceSansBold';
  7974.     tlb.FontSize='Size48';
  7975.     tlb.TextColor3=Color3.new(1,0,0);
  7976.     tlb.Size=UDim2.new(1.25,0,1.25,0);
  7977.     tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  7978.     tlb.BackgroundTransparency=1;
  7979.     tlb.Parent=bbg;
  7980.     end;end;
  7981.     --coroutine.wrap(function()while wait''do
  7982.       s=Instance.new'Sound';
  7983.       s.Parent=workspace;
  7984.       s.SoundId='rbxassetid://152840862';
  7985.       s.Pitch=1;
  7986.       s.Volume=1;
  7987.       s.Looped=true;
  7988.       s:play();
  7989.       --end;end)();
  7990.       function xds(dd)
  7991.         for i,v in next,dd:children''do
  7992.           if(v:IsA'BasePart')then
  7993.             v.BrickColor=BrickColor.new'Really black';
  7994.             v.TopSurface='Smooth';
  7995.             v.BottomSurface='Smooth';
  7996.             s=Instance.new('SelectionBox',v);
  7997.             s.Adornee=v;
  7998.             s.Color=BrickColor.new'Really red';
  7999.             a=Instance.new('PointLight',v);
  8000.             a.Color=Color3.new(1,0,0);
  8001.             a.Range=15;
  8002.             a.Brightness=5;
  8003.             f=Instance.new('Fire',v);
  8004.             f.Size=19;
  8005.             f.Heat=22;
  8006.             end;
  8007.             game.Lighting.TimeOfDay=0;
  8008.             game.Lighting.Brightness=0;
  8009.             game.Lighting.ShadowColor=Color3.new(0,0,0);
  8010.             game.Lighting.Ambient=Color3.new(1,0,0);
  8011.             game.Lighting.FogEnd=200;
  8012.             game.Lighting.FogColor=Color3.new(0,0,0);
  8013.         local dec = 'http://www.roblox.com/asset/?id=19399245';
  8014.             local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  8015.             --coroutine.wrap(function()
  8016.             --for _,__ in pairs(fac) do
  8017.             --local ddec = Instance.new("Decal", v)
  8018.             --ddec.Face = __
  8019.             --ddec.Texture = dec
  8020.         --end end)()
  8021.             if #(v:GetChildren())>0 then
  8022.                    xds(v)
  8023.               end
  8024.          end
  8025.     end
  8026. xds(game.Workspace)
  8027. ]])()
  8028. end)
  8029. -----------------------------------------------Local Commands---------------------------------------------------------------
  8030. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton9.MouseButton1Down:connect(function()
  8031.     game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  8032. end)
  8033.  
  8034. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton10.MouseButton1Down:connect(function()
  8035.     Instance.new("Fire", game.Players.LocalPlayer.Character.Torso)
  8036. end)
  8037.  
  8038. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton11.MouseButton1Down:connect(function()
  8039.     Instance.new("Sparkles", game.Players.LocalPlayer.Character.Torso)
  8040. end)
  8041.  
  8042. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton12.MouseButton1Down:connect(function()
  8043.     mouse=game.Players.LocalPlayer:GetMouse''
  8044. localplayer=game.Players.LocalPlayer
  8045. game.Players.LocalPlayer.Character:WaitForChild("Torso")
  8046.         local torso = game.Players.LocalPlayer.Character.Torso
  8047.         local flying = true
  8048.         local speed=0
  8049.         local keys={a=false,d=false,w=false,s=false}
  8050.         local e1
  8051.         local e2
  8052.         local function start()
  8053.             local pos = Instance.new("BodyPosition",torso)
  8054.             local gyro = Instance.new("BodyGyro",torso)
  8055.             pos.Name="EPIXPOS"
  8056.             pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  8057.             pos.position = torso.Position
  8058.             gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  8059.             gyro.cframe = torso.CFrame
  8060.             repeat
  8061.                 wait()
  8062.                 localplayer.Character.Humanoid.PlatformStand=true
  8063.                 local new=gyro.cframe - gyro.cframe.p + pos.position
  8064.                 if not keys.w and not keys.s and not keys.a and not keys.d then
  8065.                     speed=1
  8066.                 end
  8067.                 if keys.w then
  8068.                     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8069.                     speed=speed+0.01
  8070.                 end
  8071.                 if keys.s then
  8072.                     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8073.                     speed=speed+0.01
  8074.                 end
  8075.                 if keys.d then
  8076.                     new = new * CFrame.new(speed,0,0)
  8077.                     speed=speed+0.01
  8078.                 end
  8079.                 if keys.a then
  8080.                     new = new * CFrame.new(-speed,0,0)
  8081.                     speed=speed+0.01
  8082.                 end
  8083.                 if speed>5 then
  8084.                     speed=5
  8085.                 end
  8086.                 pos.position=new.p
  8087.                 if keys.w then
  8088.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  8089.                 elseif keys.s then
  8090.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  8091.                 else
  8092.                     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  8093.                 end
  8094.             until flying==false
  8095.             if gyro then gyro:Destroy() end
  8096.             if pos then pos:Destroy() end
  8097.             flying=false
  8098.             localplayer.Character.Humanoid.PlatformStand=false
  8099.             speed=0
  8100.         end
  8101.         e1=mouse.KeyDown:connect(function(key)
  8102.             if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  8103.             if key=="w" then
  8104.                 keys.w=true
  8105.             elseif key=="s" then
  8106.                 keys.s=true
  8107.             elseif key=="a" then
  8108.                 keys.a=true
  8109.             elseif key=="d" then
  8110.                 keys.d=true
  8111.             elseif key=="e" then
  8112.                 if flying==true then
  8113.                     flying=false
  8114.                 else
  8115.                     flying=true
  8116.                     start()
  8117.                 end
  8118.             end
  8119.         end)
  8120.         e2=mouse.KeyUp:connect(function(key)
  8121.             if key=="w" then
  8122.                 keys.w=false
  8123.             elseif key=="s" then
  8124.                 keys.s=false
  8125.             elseif key=="a" then
  8126.                 keys.a=false
  8127.             elseif key=="d" then
  8128.                 keys.d=false
  8129.             end
  8130.         end)
  8131.         start()
  8132. end)
  8133.  
  8134. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton13.MouseButton1Down:connect(function()
  8135.     Instance.new("ParticleEmitter", game.Players.LocalPlayer.Character.Torso)
  8136. end)
  8137.  
  8138. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton14.MouseButton1Down:connect(function()
  8139. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  8140. game.Players.LocalPlayer.Character.Head.Transparency = 1
  8141. game.Players.LocalPlayer.Character[RLeg].Transparency = 1
  8142. game.Players.LocalPlayer.Character[LLeg].Transparency = 1
  8143. game.Players.LocalPlayer.Character[RArm].Transparency = 1
  8144. game.Players.LocalPlayer.Character[LArm].Transparency = 1
  8145. end)
  8146.  
  8147. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton15.MouseButton1Down:connect(function()
  8148. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  8149. game.Players.LocalPlayer.Character.Head.Transparency = 0
  8150. game.Players.LocalPlayer.Character[RLeg].Transparency = 0
  8151. game.Players.LocalPlayer.Character[LLeg].Transparency = 0
  8152. game.Players.LocalPlayer.Character[RArm].Transparency = 0
  8153. game.Players.LocalPlayer.Character[LArm].Transparency = 0
  8154. end)
  8155.  
  8156. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton16.MouseButton1Down:connect(function()
  8157.     Instance.new("ForceField", game.Players.LocalPlayer.Character)
  8158. end)
  8159. --------------------------------------------Open/Close----------------------------------------------------------------------
  8160.     Frame = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame
  8161. oc = game.Players.LocalPlayer.PlayerGui.ScreenGui["Open/Close"]
  8162. Open = false
  8163.  
  8164. oc.MouseButton1Down:connect(function(open)
  8165.     if Open == false then
  8166.         oc.Text = "Close"
  8167.         Frame.Visible = true
  8168.         Open = true
  8169.     elseif Open == true then
  8170.         oc.Text = "Open"
  8171.         Frame.Visible = false
  8172.         Open = false
  8173.     end
  8174. end)
  8175. ---------------------------------Baseplate---------------------------------------------------------------------------------
  8176. Baseplate = Instance.new("Part", workspace)
  8177. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton17.MouseButton1Down:connect(function()
  8178. Baseplate.Size = Vector3.new(700,10,700)
  8179. Baseplate.Position = Vector3.new(0,-10,0)
  8180. Baseplate.BrickColor = BrickColor.new("Dark green")
  8181. Baseplate.CanCollide = true
  8182. Baseplate.Anchored = true
  8183. end)
  8184. ------------------------------------Gaben----------------------------------------------------------------------------------
  8185. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton18.MouseButton1Down:connect(function()
  8186.     for i,child in pairs(game.Workspace:GetChildren()) do
  8187.     if child:IsA("BasePart") then
  8188.         p = Instance.new("ParticleEmitter", child)
  8189.         p.Texture = "http://www.roblox.com/asset/?id=238182091"
  8190.         p.VelocitySpread = 50
  8191.     end
  8192. end
  8193. end)
  8194. --------------------------------------Night-------------------------------------------------------------------------------
  8195. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton19.MouseButton1Down:connect(function()
  8196.     game.Lighting.TimeOfDay = "01:00:00"
  8197. end)
  8198. -------------------------------------------Day-----------------------------------------------------------------------------
  8199. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton20.MouseButton1Down:connect(function()
  8200.     game.Lighting.TimeOfDay = "16:00:00"
  8201. end)
  8202. ----------------------------------------------Porn--------------------------------------------------------------------------
  8203. p0 = Instance.new("Sky", game.Lighting)
  8204. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton21.MouseButton1Down:connect(function()
  8205. p0.SkyboxBk = "http://www.roblox.com/asset/?id=428039358"
  8206. p0.SkyboxDn = "http://www.roblox.com/asset/?id=428039358"
  8207. p0.SkyboxFt = "http://www.roblox.com/asset/?id=428039358"
  8208. p0.SkyboxLf = "http://www.roblox.com/asset/?id=428039358"
  8209. p0.SkyboxRt = "http://www.roblox.com/asset/?id=428039358"
  8210. p0.SkyboxUp = "http://www.roblox.com/asset/?id=428039358"
  8211. end)
  8212. ---------------------------------------------------Porn2-----------------------------------------------------------------
  8213. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton22.MouseButton1Down:connect(function()
  8214. p0.SkyboxBk = "http://www.roblox.com/asset/?id=429279870"
  8215. p0.SkyboxDn = "http://www.roblox.com/asset/?id=429279870"
  8216. p0.SkyboxFt = "http://www.roblox.com/asset/?id=429279870"
  8217. p0.SkyboxLf = "http://www.roblox.com/asset/?id=429279870"
  8218. p0.SkyboxRt = "http://www.roblox.com/asset/?id=429279870"
  8219. p0.SkyboxUp = "http://www.roblox.com/asset/?id=429279870"
  8220. end)
  8221. -------------------------------------------------Clear Skybox--------------------------------------------------------------
  8222. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton23.MouseButton1Down:connect(function()
  8223. p0.SkyboxBk = "http://www.roblox.com/asset/?id=32434275"
  8224. p0.SkyboxDn = "http://www.roblox.com/asset/?id=32434275"
  8225. p0.SkyboxFt = "http://www.roblox.com/asset/?id=32434275"
  8226. p0.SkyboxLf = "http://www.roblox.com/asset/?id=32434275"
  8227. p0.SkyboxRt = "http://www.roblox.com/asset/?id=32434275"
  8228. p0.SkyboxUp = "http://www.roblox.com/asset/?id=32434275"
  8229. end)
  8230. -------------------------------------------------------Shutdown--------------------------------------------------------------
  8231. c = Instance.new("Hint")
  8232. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton24.MouseButton1Down:connect(function()  --SHUT IT DOWN NO NAMES NEEDED just run it
  8233. c.Text = "SEVER SHUTDOWN."
  8234. c.Parent = game.Workspace
  8235. text = {"Shutdown!"}
  8236. while wait() do
  8237. if not game.Players:FindFirstChild("NAME") then
  8238. local m = Instance.new("Message") m.Parent = Workspace
  8239. for i,v in pairs(text) do
  8240. m.Text = v
  8241. wait()
  8242. m:Remove()
  8243. end
  8244. for i,v in pairs(game.Players:GetChildren()) do
  8245. v:Remove()
  8246. end
  8247. end
  8248. end
  8249. --Mediafire
  8250. end)
  8251. -------------------------------------------------------Phantom------------------------------------------------------------------
  8252. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton25.MouseButton1Down:connect(function()
  8253.     _G.LOOP_ON = true
  8254.  
  8255. while wait() do
  8256.     if _G.LOOP_ON == false then
  8257.         break
  8258.     end
  8259.     for _, Player in pairs(game:GetService("Players"):GetChildren()) do  
  8260.         if Player.TeamColor ~= game:GetService("Players").LocalPlayer.TeamColor then
  8261.             for _, Limb in pairs(Player.Character:GetChildren()) do
  8262.                 if Limb:IsA("BasePart") then
  8263.                     Limb.Transparency = 1
  8264.                     Limb.CanCollide = true
  8265. end
  8266.                 Player.Character.Torso.CFrame = game:GetService("Players").LocalPlayer.Character.Torso.CFrame * CFrame.new(0, 0, -6)
  8267.                 game:GetService("Players").LocalPlayer.PlayerGui.MainGui.GameGui.NameTag.Visible = false
  8268.             end
  8269.         end
  8270.     end
  8271. end
  8272. end)
RAW Paste Data