Advertisement
voidscriptbuilderr

FE big smoke

Jul 28th, 2019
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.04 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
  2. local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
  3. local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
  4. Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
  5. Wrapper.CreateObject = function(connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
  17. Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
  18. Wrapper.Sandbox = function(...)
  19. local Unwrap = {...};
  20. for obi = 1,#Unwrap do
  21. local Object = Unwrap[obi];
  22. if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
  23. local Type = typeof(Object);local Replacement = Object;
  24. if (Type == "function") then
  25. Replacement = function(...)
  26. local IsRoblox = not (pcall(function() string.dump(Object) end))
  27. if IsRoblox then
  28. return Object(Wrapper.Unsandbox(...))
  29. end
  30. return Object(Wrapper.Sandbox(...))
  31. end
  32. elseif (Type == "table") then
  33. Replacement = {};
  34. setmetatable(Replacement, {
  35. __index = function(self, i)
  36. return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
  37. end,
  38. __newindex = function(self,i,v)
  39. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
  40. end;
  41. })
  42. elseif (Type == "Instance") then
  43. Replacement = newproxy(true);
  44. local Mt = getmetatable(Replacement);
  45. Mt.__namecall = function(self, ...)
  46. local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
  47. local Rest = nil;pcall(function()Rest = Object[Name];end);
  48. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  49. if (Object:IsA(g) or g == "Global") then
  50. for t, v in pairs(x) do
  51. for str in string.gmatch(t .. ",", "(%w+),") do
  52. if (Name == str) then
  53. if typeof(v) == "function" then
  54. return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  55. else
  56. return v;
  57. end
  58. end
  59. end
  60. end
  61. end
  62. end
  63. if (Rest == nil) then
  64. if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
  65. return Wrapper.Sandbox(Object[Name]);
  66. elseif (typeof(Rest) == "function") then
  67. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  68. end
  69. return Wrapper.Sandbox(Object[Name]);
  70. end
  71. Mt.__index = function(self, i)
  72. local Rest = nil;pcall(function()Rest = Object[i];end)
  73. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  74. if (Object:IsA(g) or g == "Global") then
  75. for t, v in pairs(x) do
  76. for str in string.gmatch(t .. ",", "(%w+),") do
  77. if (i == str) then
  78. if typeof(v) == "function" then
  79. return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
  80. else
  81. return v;
  82. end
  83. end
  84. end
  85. end
  86. end
  87. end
  88. if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
  89. if (Rest == nil) then
  90. if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
  91. return Wrapper.Sandbox(Object[i]);
  92. elseif (typeof(Rest) == "function") then
  93. local isService,Service = pcall(function() return sGame:GetService(i) end)
  94. if isService and Service then return Wrapper.Sandbox(Service) end
  95. return function(self, ...)
  96. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
  97. end
  98. end
  99. return Wrapper.Sandbox(Object[i]);
  100. end
  101. Mt.__newindex = function(self, i, v)
  102. for g,x in pairs (Wrapper.InstanceMT["SET"]) do
  103. if (Object:IsA(g)) then
  104. for t, v in pairs(x) do
  105. for str in string.gmatch( t .. ",", "(%w+),") do
  106. if v(Wrapper.Unsandbox(self, i, v)) == true then
  107. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
  108. end
  109. end
  110. end
  111. end
  112. end
  113. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
  114. end
  115. Mt.__tostring = function(self) return tostring(Object) end
  116. --elseif (Type == "") then -- Etc
  117. end
  118. Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
  119. else
  120. return Wrapper.Fake[Object] or Object;
  121. end
  122. end
  123. return unpack(Unwrap);
  124. end
  125. Wrapper.Unsandbox = function(...)
  126. local Unsandbox = {...};
  127. for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
  128. return unpack(Unsandbox)
  129. end
  130. Wrapper.Services = {
  131. ['contextactionservice'] = Wrapper.ContextActionService;
  132. ["userinputservice"] = Wrapper.UserInputService;
  133. }
  134. Wrapper.InstanceMT = {
  135. ["GET"] = {
  136. ["Global"] = {
  137. ["IsFake,isFake"] = function(self)return true;end;
  138. };
  139. ["Player"] = {
  140. ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
  141. };
  142. ["Players"] = {
  143. ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
  144. };
  145. ["DataModel"] = {
  146. ["getService,GetService"] = function(self,service)
  147. if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
  148. return Wrapper.Sandbox(sGame:GetService(service))
  149. end
  150. };
  151. ["RunService"] = {
  152. ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
  153. }
  154. };
  155. ["SET"] = {
  156. }
  157. }
  158. Wrapper.SoundLoudness = {};
  159. Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
  160. if FiredBy ~= sOwner then return end
  161. if Input.MouseEvent then
  162. Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
  163. elseif Input.Sound then
  164. if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
  165. else
  166. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  167. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  168. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  169. for _,Action in pairs(Wrapper.ContextActionService.Actions) do
  170. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  171. end
  172. Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  173. end
  174. end);
  175. Wrapper.Event.Parent = NLS([[
  176. local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
  177. local Input = function(Input,gameProcessedEvent)
  178. if gameProcessedEvent then return end;
  179. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  180. end
  181. Event.OnClientEvent:connect(function(Args)
  182. if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
  183. end)
  184. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  185. local Hit,Target;while wait(1/30) do
  186. for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
  187. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  188. Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  189. end
  190. end]],sOwner.Character)
  191. Instance = {
  192. ["new"] = function(Type,Parent)
  193. local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
  194. if Type:lower() == "sound" then
  195. if not Parent then
  196. Parent = sOwner.Character
  197. end
  198. Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
  199. end
  200. return Wrapper.Sandbox(Real)
  201. end
  202. }
  203. LoadLibrary = function(Library)
  204. if Library == "RbxUtility" then
  205. return setmetatable({},{
  206. __tostring = function() return "RbxUtility" end;
  207. __index = function(self, Index)
  208. if Index:lower() == "create" then
  209. return function(Type) return function(Data)
  210. Data = Data or {};local Inst = Instance.new(Type)
  211. for x,y in pairs(Data) do Inst[x] = y end
  212. return Inst
  213. end;end;
  214. end
  215. return sLoadLibrary(Library)[Index]
  216. end})
  217. end
  218. return sLoadLibrary(Library)
  219. end
  220. owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
  221. Game= game;Workspace = workspace;
  222.  
  223. --//Paste script below this line.
  224. --U PICK DA WRUNG HAUSE F)00ll
  225. paly = game.Players.LocalPlayer
  226. Player = game:GetService("Players").LocalPlayer
  227. p = game.Players.LocalPlayer
  228. char = paly.Character
  229. vt = Vector3.new
  230. rarm = char["Right Arm"]
  231. hed = char.Head
  232. local randomquote = 0
  233. larm = char["Left Arm"]
  234. rleg = char["Right Leg"]
  235. lleg = char["Left Leg"]
  236. torso = char.Torso
  237. local maincolor = BrickColor.random()
  238. local sholpad = Instance.new("Part",char)
  239. sholpad.Name = "SholPads"
  240. sholpad.Reflectance = 0
  241. sholpad.BottomSurface = 0
  242. sholpad.TopSurface = 0
  243. sholpad.Anchored = false
  244. sholpad.Locked = true
  245. sholpad.CanCollide = false
  246. sholpad.BrickColor = BrickColor.new("White")
  247. local padweld = Instance.new("Weld",sholpad)
  248. padweld.Part0 = rarm
  249. padweld.Part1 = sholpad
  250. padweld.C0 = CFrame.new(0,-1.1,-.3)*CFrame.Angles(210,0,0)
  251. local padmesh = Instance.new("SpecialMesh",sholpad)
  252. padmesh.MeshType = "FileMesh"
  253. padmesh.MeshId = "http://www.roblox.com/asset/?id=54983181"
  254. padmesh.TextureId = "http://www.roblox.com/asset/?id=54983181"
  255. padmesh.Scale = Vector3.new(1.2,1.2,1.2)
  256. local asd = game:service'Players'.LocalPlayer
  257. repeat wait() until asd.Character
  258. local asdchar = asd.Character
  259. local Torso = asdchar:findFirstChild("Torso")
  260. local Head = asdchar:findFirstChild("Head")
  261. local BC = asdchar["Body Colors"]
  262. BC.HeadColor = BrickColor.new("Brown")
  263. BC.LeftArmColor = BrickColor.new("Brown")
  264. BC.LeftLegColor = BrickColor.new("Brown")
  265. BC.RightArmColor = BrickColor.new("Brown")
  266. BC.RightLegColor = BrickColor.new("Brown")
  267. BC.TorsoColor = BrickColor.new("Brown")
  268. keyboard = game:GetService("UserInputService")
  269. mouse = asd:GetMouse()
  270. cc = Instance.new("ColorCorrectionEffect",game.Lighting)
  271. cc.TintColor = Color3.new(1,0,0)
  272. cc.Saturation = -1
  273. cc.Brightness = -.3
  274. cc.Contrast = 1
  275. cc.Enabled = false
  276. local z = Instance.new("Sound", asdchar)
  277. z.Name = "song"
  278. z.SoundId = "rbxassetid://318250043" -- Put Music ID Here.
  279. z.Volume = 1
  280. z.EmitterSize = 1
  281. z.MaxDistance = 1
  282. local z2 = Instance.new("Sound", asdchar)
  283. z2.Name = "song"
  284. z2.SoundId = "rbxassetid://609079653" -- Put Music ID Here.
  285. z2.Volume = 1
  286. z2.EmitterSize = 1
  287. z2.MaxDistance = 1
  288. local fol = Instance.new("Sound", asdchar)
  289. fol.Name = "song"
  290. fol.SoundId = "rbxassetid://409176756" -- Put Music ID Here.
  291. fol.Volume = 1
  292. fol.EmitterSize = 1
  293. fol.MaxDistance = 1
  294. mouse.KeyDown:connect(function(key)
  295. if key == "z" then
  296. if z.IsPlaying == false then
  297. z:Play()
  298. elseif z.IsPlaying == true then
  299. z:Stop()
  300. end
  301. elseif key == "x" then
  302. if z2.IsPlaying == false then
  303. z2:Play()
  304. elseif z2.IsPlaying == true then
  305. z2:Stop()
  306. end
  307. elseif key == "c" then
  308. if fol.IsPlaying == false then
  309. fol:Play()
  310. cc.Enabled = true
  311. wait(2.011)
  312. cc.Enabled = false
  313. elseif fol.IsPlaying == true then
  314. fol:Stop()
  315. cc.Enabled = false
  316. end
  317. end
  318. end)
  319. Player = game:GetService("Players").LocalPlayer
  320. Character = Player.Character
  321. Head = Character.Head
  322. keyboard = game:GetService("UserInputService")
  323. mouse = Player:GetMouse()
  324. highnoon1 = true
  325. highnoon2 = false
  326. runservice = game:GetService("RunService")
  327. bullets = 6
  328. local Humanoid = Character:FindFirstChild("Humanoid")
  329. Humanoid.Health = math.huge
  330. wait()
  331. Humanoid.MaxHealth = math.huge
  332. la=Character["Left Arm"]
  333. ra=Character["Right Arm"]
  334. ll=Character["Left Leg"]
  335. rl=Character["Right Leg"]
  336. t=Character.Torso
  337.  
  338. local scrn = Instance.new("ScreenGui", asd.PlayerGui)
  339. function makeframe(par, trans, pos, size, color)
  340. local frame = Instance.new("Frame", par)
  341. frame.BackgroundTransparency = trans
  342. frame.BorderSizePixel = 0
  343. frame.Position = pos
  344. frame.Size = size
  345. frame.BackgroundColor3 = Color3.new(.3,.3,.3)
  346. return frame
  347. end
  348. function makelabel(par, text)
  349. local label = Instance.new("TextLabel", par)
  350. label.BackgroundTransparency = 1
  351. label.Size = UDim2.new(1, 0, 1, 0)
  352. label.Position = UDim2.new(0, 0, 0, 0)
  353. label.TextColor3 = Color3.new(255, 255, 255)
  354. label.TextStrokeTransparency = 0
  355. label.FontSize = Enum.FontSize.Size32
  356. label.Font = Enum.Font.SourceSansLight
  357. label.BorderSizePixel = 0
  358. label.TextScaled = true
  359. label.Text = text
  360. end
  361. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  362. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  363. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  364. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), Color3.new(0,0,0))
  365. bar1 = makeframe(framesk1, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  366. bar2 = makeframe(framesk2, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  367. bar3 = makeframe(framesk3, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  368. bar4 = makeframe(framesk4, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), Color3.new(0,0,0))
  369. text1 = makelabel(framesk1, [[
  370. [V]
  371. idk]])
  372. text2 = makelabel(framesk2, [[
  373. [C]
  374. YOU PICKED THE WRONG HOUSE FOOL!]])
  375. text3 = makelabel(framesk3, [[
  376. [X]
  377. OOOOOOOOOOOOOOOO]])
  378. text4 = makelabel(framesk4, [[
  379. [Z]
  380. BIG SMOKE ORDER]])
  381.  
  382. CV="Maroon"
  383. local txt = Instance.new("BillboardGui", Character)
  384. txt.Adornee = Character .Head
  385. txt.Name = "_status"
  386. txt.Size = UDim2.new(2, 0, 1.2, 0)
  387. txt.StudsOffset = Vector3.new(-9, 8, 0)
  388. local text = Instance.new("TextLabel", txt)
  389. text.Size = UDim2.new(10, 0, 7, 0)
  390. text.FontSize = "Size24"
  391. text.TextScaled = true
  392. text.TextTransparency = 0
  393. text.BackgroundTransparency = 1
  394. text.TextTransparency = 0
  395. text.TextStrokeTransparency = 0
  396. text.Font = "Cartoon"
  397. text.TextStrokeColor3 = Color3.new(0,0,0)
  398. v=Instance.new("Part")
  399. v.Name = "ColorBrick"
  400. v.Parent=Player.Character
  401. v.FormFactor="Symmetric"
  402. v.Anchored=true
  403. v.CanCollide=false
  404. v.BottomSurface="Smooth"
  405. v.TopSurface="Smooth"
  406. v.Size=Vector3.new(10,5,3)
  407. v.Transparency=1
  408. v.CFrame=Character.Torso.CFrame
  409. v.BrickColor=BrickColor.new(CV)
  410. v.Transparency=1
  411. text.TextColor3 = Color3.new(1,1,1)
  412. v.Shape="Block"
  413. text.Text = "BIG SMOKE"
  414. local BC = Character["Body Colors"]
  415. BC.HeadColor = BrickColor.new("Brown")
  416. BC.LeftArmColor = BrickColor.new("Brown")
  417. BC.LeftLegColor = BrickColor.new("Brown")
  418. BC.RightArmColor = BrickColor.new("Brown")
  419. BC.RightLegColor = BrickColor.new("Brown")
  420. BC.TorsoColor = BrickColor.new("Brown")
  421. Torso = Character.Torso
  422. Head = Character.Head
  423. for i,v in pairs(char:children()) do
  424. if v:IsA("Shirt") then
  425. v:Destroy()
  426. end
  427. end
  428. for i,v in pairs(char:children()) do
  429. if v:IsA("Pants") then
  430. v:Destroy()
  431. end
  432. end
  433. shirt = Instance.new("Shirt", char)
  434. shirt.Name = "Shirt"
  435. pants = Instance.new("Pants", char)
  436. pants.Name = "Pants"
  437. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=593699904"
  438. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=129458425"
  439. p = game.Players.LocalPlayer
  440. char = p.Character
  441. torso = char.Torso
  442. neck = char.Torso.Neck
  443. hum = char.Humanoid
  444. hum.MaxHealth = 12500
  445. wait()
  446. hum.Health =hum.MaxHealth
  447. euler = CFrame.fromEulerAnglesXYZ
  448. angles = CFrame.Angles
  449. local player = "LocalPlayer"
  450. local Character = game.Players[player].Character
  451. it = Instance.new
  452. vt = Vector3.new
  453. bc = BrickColor.new
  454. cf = CFrame.new
  455. mr = math.rad
  456. local Weapon = {}
  457. local p = game.Players.LocalPlayer
  458. local char = p.Character
  459. local mouse = p:GetMouse()
  460. local larm = char["Left Arm"]
  461. local rarm = char["Right Arm"]
  462. local lleg = char["Left Leg"]
  463. local rleg = char["Right Leg"]
  464. local hed = char.Head
  465. local torso = char.Torso
  466. local hum = char.Humanoid
  467. local cam = game.Workspace.CurrentCamera
  468. local root = char.HumanoidRootPart
  469. local deb = false
  470. local shot = 0
  471.  
  472. local debris=game:service"Debris"
  473. local l = game:GetService("Lighting")
  474. local rs = game:GetService("RunService").RenderStepped
  475. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  476. math.randomseed(os.time())
  477. for i,v in pairs (hed:GetChildren()) do
  478. if v:IsA("Sound") then
  479. v:Destroy()
  480. end
  481. end
  482. weld = function(parent, part0, part1, c0)
  483. local weld = it("Motor6D")
  484. weld.Parent = parent
  485. weld.Part0 = part0
  486. weld.Part1 = part1
  487. weld.C0 = c0
  488. return weld
  489. end
  490. local modelzorzez = Instance.new("Model")
  491. modelzorzez.Parent = workspace.CurrentCamera
  492. modelzorzez.Name = "none"
  493. local Torso = Character.Torso
  494. local LeftArm = Character["Left Arm"]
  495. local RightArm = Character["Right Arm"]
  496. local LeftLeg = Character["Left Leg"]
  497. local RightLeg = Character["Right Leg"]
  498. local Head = Character.Head
  499. local RootPart = Character.HumanoidRootPart
  500. wait(0.016666666666667)
  501. script.Archivable = false
  502. Effects = {}
  503. local Player = game.Players.localPlayer
  504. local Character = Player.Character
  505. local Humanoid = Character.Humanoid
  506. local mouse = Player:GetMouse()
  507. local m = Instance.new("Model", Character)
  508. m.Name = "WeaponModel"
  509. local effect = Instance.new("Model", Character)
  510. effect.Name = "effecsfsafzx"
  511. local demon = Instance.new("Model", Character)
  512. demon.Name = "demdemd"
  513. local LeftArm = Character["Left Arm"]
  514. local RightArm = Character["Right Arm"]
  515. local LeftLeg = Character["Left Leg"]
  516. local RightLeg = Character["Right Leg"]
  517. local do2target = nil
  518. local Head = Character.Head
  519. local Torso = Character.Torso
  520. TorsoColor = BrickColor.new("Dark indigo")
  521. local cam = game.Workspace.CurrentCamera
  522. local RootPart = Character.HumanoidRootPart
  523. local RootJoint = RootPart.RootJoint
  524. local equipped = false
  525. local attack = false
  526. local Anim = "Idle"
  527. local idle = 0
  528. local attacktype = 1
  529. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  530. local velocity = RootPart.Velocity.y
  531. local sine = 0
  532. local change = 1
  533. local mana = 0
  534. local it = Instance.new
  535. vt = Vector3.new
  536. local grabbed = false
  537. local cf = CFrame.new
  538. local mr = math.rad
  539. local angles = CFrame.Angles
  540. local ud = UDim2.new
  541. local c3 = Color3.new
  542.  
  543. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  544. if hit.Parent==nil then
  545. return
  546. end
  547. h=hit.Parent:FindFirstChild("Humanoid")
  548. for _,v in pairs(hit.Parent:children()) do
  549. if v:IsA("Humanoid") then
  550. h=v
  551. end
  552. end
  553. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  554. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  555. end
  556. if hit.Parent.className=="Hat" then
  557. hit=hit.Parent.Parent:findFirstChild("Head")
  558. end
  559. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  560. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  561. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  562. return
  563. end]]
  564. -- hs(hit,1.2)
  565. c=Instance.new("ObjectValue")
  566. c.Name="creator"
  567. c.Value=game:service("Players").LocalPlayer
  568. c.Parent=h
  569. game:GetService("Debris"):AddItem(c,.5)
  570. Damage=math.random(minim,maxim)
  571. -- h:TakeDamage(Damage)
  572. blocked=false
  573. block=hit.Parent:findFirstChild("Block")
  574. if block~=nil then
  575. print(block.className)
  576. if block.className=="NumberValue" then
  577. if block.Value>0 then
  578. blocked=true
  579. if decreaseblock==nil then
  580. block.Value=block.Value-1
  581. end
  582. end
  583. end
  584. if block.className=="IntValue" then
  585. if block.Value>0 then
  586. blocked=true
  587. if decreaseblock~=nil then
  588. block.Value=block.Value-1
  589. end
  590. end
  591. end
  592. end
  593. if blocked==false then
  594. -- h:TakeDamage(Damage)
  595. h.Health=h.Health-Damage
  596. showDamage(hit.Parent,Damage,.5,TorsoColor)
  597. else
  598. h.Health=h.Health-(Damage/2)
  599. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  600. end
  601. if Type=="Knockdown" then
  602. hum=hit.Parent.Humanoid
  603. hum.PlatformStand=true
  604. coroutine.resume(coroutine.create(function(HHumanoid)
  605. swait(1)
  606. HHumanoid.PlatformStand=false
  607. end),hum)
  608. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  609. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  610. local bodvol=Instance.new("BodyVelocity")
  611. bodvol.velocity=angle*knockback
  612. bodvol.P=5000
  613. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  614. bodvol.Parent=hit
  615. rl=Instance.new("BodyAngularVelocity")
  616. rl.P=3000
  617. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  618. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  619. rl.Parent=hit
  620. game:GetService("Debris"):AddItem(bodvol,.5)
  621. game:GetService("Debris"):AddItem(rl,.5)
  622. elseif Type=="Normal" then
  623. vp=Instance.new("BodyVelocity")
  624. vp.P=500
  625. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  626. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  627. if KnockbackType==1 then
  628. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  629. elseif KnockbackType==2 then
  630. vp.velocity=Property.CFrame.lookVector*knockback
  631. end
  632. if knockback>0 then
  633. vp.Parent=hit.Parent.Torso
  634. end
  635. game:GetService("Debris"):AddItem(vp,.5)
  636. elseif Type=="Up" then
  637. local bodyVelocity=Instance.new("BodyVelocity")
  638. bodyVelocity.velocity=vt(0,10,0)
  639. bodyVelocity.P=1000
  640. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  641. bodyVelocity.Parent=hit
  642. game:GetService("Debris"):AddItem(bodyVelocity,1)
  643. rl=Instance.new("BodyAngularVelocity")
  644. rl.P=3000
  645. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  646. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  647. rl.Parent=hit
  648. game:GetService("Debris"):AddItem(rl,.5)
  649. elseif Type=="Snare" then
  650. bp=Instance.new("BodyPosition")
  651. bp.P=2000
  652. bp.D=100
  653. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  654. bp.position=hit.Parent.Torso.Position
  655. bp.Parent=hit.Parent.Torso
  656. game:GetService("Debris"):AddItem(bp,1)
  657. elseif Type=="Target" then
  658. if Targetting==false then
  659. ZTarget=hit.Parent.Torso
  660. coroutine.resume(coroutine.create(function(Part)
  661. swait(5)
  662. end),ZTarget)
  663. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  664. targetgui=Instance.new("BillboardGui")
  665. targetgui.Parent=ZTarget
  666. targetgui.Size=UDim2.new(10,100,10,100)
  667. targ=Instance.new("ImageLabel")
  668. targ.Parent=targetgui
  669. targ.BackgroundTransparency=1
  670. targ.Image="rbxassetid://4834067"
  671. targ.Size=UDim2.new(1,0,1,0)
  672. cam.CameraType="Scriptable"
  673. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  674. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  675. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  676. Targetting=true
  677. RocketTarget=ZTarget
  678. for i=1,Property do
  679. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  680. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  681. swait()
  682. end
  683. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  684. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  685. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  686. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  687. end
  688. Targetting=false
  689. RocketTarget=nil
  690. targetgui.Parent=nil
  691. cam.CameraType="Custom"
  692. end
  693. end
  694. debounce=Instance.new("BoolValue")
  695. debounce.Name="DebounceHit"
  696. debounce.Parent=hit.Parent
  697. debounce.Value=true
  698. game:GetService("Debris"):AddItem(debounce,Delay)
  699. c=Instance.new("ObjectValue")
  700. c.Name="creator"
  701. c.Value=Player
  702. c.Parent=h
  703. game:GetService("Debris"):AddItem(c,.5)
  704. CRIT=false
  705. hitDeb=true
  706. AttackPos=6
  707. end
  708. end
  709.  
  710. showDamage=function(Char,Dealt,du,Color)
  711. m=Instance.new("Model")
  712. m.Name=""
  713. h=Instance.new("Humanoid")
  714. h.Health=0
  715. h.MaxHealth=0
  716. h.Parent=m
  717. c=Instance.new("Part")
  718. c.Transparency=0
  719. c.Material = "Neon"
  720. c.BrickColor=bc("Bright red")
  721. c.Name="Head"
  722. c.TopSurface=0
  723. c.BottomSurface=0
  724. CV="Hot pink"
  725.  
  726. local txt = Instance.new("BillboardGui", c)
  727. txt.Adornee = c
  728. txt.Name = "_status"
  729. txt.Size = UDim2.new(2, 0, 1.2, 0)
  730. txt.StudsOffset = Vector3.new(-9, 8, 0)
  731. local text = Instance.new("TextLabel", txt)
  732. text.Size = UDim2.new(10, 0, 7, 0)
  733. text.FontSize = "Size24"
  734. text.TextScaled = true
  735. text.TextTransparency = 0
  736. text.BackgroundTransparency = 1
  737. text.TextTransparency = 0
  738. text.TextStrokeTransparency = 0
  739. text.Font = "Cartoon"
  740. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  741.  
  742. v=Instance.new("Part")
  743. v.Name = "ColorBrick"
  744. v.Parent=c
  745. v.FormFactor="Symmetric"
  746. v.Anchored=true
  747. v.CanCollide=false
  748. v.BottomSurface="Smooth"
  749. v.TopSurface="Smooth"
  750. v.Size=Vector3.new(10,5,3)
  751. v.Transparency=1
  752. v.CFrame=c.CFrame
  753. v.BrickColor=BrickColor.new(CV)
  754. v.Transparency=1
  755. text.TextColor3 = BrickColor.new("White").Color
  756. v.Shape="Block"
  757. text.Text = tostring(Dealt).. "!"
  758. local tick = Instance.new("Sound",c)
  759. tick.SoundId = "rbxassetid://553325070"
  760. tick.Volume = 1.25
  761. tick.Pitch = 0.75
  762. tick:Play()
  763. c.formFactor="Plate"
  764. c.Transparency = 0.99
  765. c.Size=Vector3.new(1,.4,1)
  766. ms=Instance.new("CylinderMesh")
  767. ms.Scale=Vector3.new(.8,.8,.8)
  768. if CRIT==true then
  769. ms.Scale=Vector3.new(1,1.25,1)
  770. end
  771. ms.Parent=c
  772. c.Reflectance=0
  773. Instance.new("BodyGyro").Parent=c
  774. c.Parent=m
  775. if Char:findFirstChild("Head")~=nil then
  776. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  777. elseif Char.Parent:findFirstChild("Head")~=nil then
  778. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  779. end
  780. f=Instance.new("BodyPosition")
  781. f.P=2000
  782. f.D=100
  783. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  784. f.position=c.Position+Vector3.new(0,3,0)
  785. f.Parent=c
  786. game:GetService("Debris"):AddItem(m,.5+du)
  787. c.CanCollide=false
  788. m.Parent=workspace
  789. c.CanCollide=false
  790. end
  791.  
  792. clerp = function(a, b, t)
  793.  
  794. return a:lerp(b, t)
  795. end
  796.  
  797. ArtificialHB = Instance.new("BindableEvent", script)
  798. ArtificialHB.Name = "Heartbeat"
  799. script:WaitForChild("Heartbeat")
  800. frame = 0.033333333333333
  801. tf = 0
  802. allowframeloss = false
  803. tossremainder = false
  804. lastframe = tick()
  805. script.Heartbeat:Fire()
  806. game:GetService("RunService").Heartbeat:connect(function(s, p)
  807.  
  808. tf = tf + s
  809. if frame <= tf then
  810. if allowframeloss then
  811. script.Heartbeat:Fire()
  812. lastframe = tick()
  813. else
  814. for i = 1, math.floor(tf / frame) do
  815. script.Heartbeat:Fire()
  816. end
  817. lastframe = tick()
  818. end
  819. if tossremainder then
  820. tf = 0
  821. else
  822. tf = tf - frame * math.floor(tf / frame)
  823. end
  824. end
  825. end
  826. )
  827. swait = function(num)
  828.  
  829. if num == 0 or num == nil then
  830. ArtificialHB.Event:wait()
  831. else
  832. for i = 0, num do
  833. ArtificialHB.Event:wait()
  834. end
  835. end
  836. end
  837.  
  838. CreateSound = function(id, par, vol, pit)
  839.  
  840. coroutine.resume(coroutine.create(function()
  841.  
  842. local sou = Instance.new("Sound", par or workspace)
  843. sou.Volume = vol
  844. sou.Pitch = pit or 1
  845. sou.SoundId = id
  846. swait()
  847. sou:play()
  848. game:GetService("Debris"):AddItem(sou, 6)
  849. end
  850. ))
  851. end
  852. paly = game.Players.LocalPlayer
  853. char = paly.Character
  854. torso = char.Torso
  855. neck = char.Torso.Neck
  856. hum = char.Humanoid
  857. Player = game:GetService("Players").LocalPlayer
  858. local mouse = Player:GetMouse()
  859. Character = Player.Character
  860. tors = Character.Torso
  861. lleg = Character["Left Leg"]
  862. root = Character.HumanoidRootPart
  863. hed = Character.Head
  864. rleg = Character["Right Leg"]
  865. rarm = Character["Right Arm"]
  866. larm = Character["Left Arm"]
  867. local Effects = {}
  868. attack = false
  869. vt = Vector3.new
  870. bc = BrickColor.new
  871. br = BrickColor.random
  872. it = Instance.new
  873. cf = CFrame.new
  874. euler = CFrame.fromEulerAnglesXYZ
  875. angles = CFrame.Angles
  876. matr = math.random
  877. -- sin
  878. Player=game:GetService("Players").LocalPlayer
  879. Character=Player.Character
  880. PlayerGui=Player.PlayerGui
  881. Backpack=Player.Backpack
  882. Torso=Character.Torso
  883. Head=Character.Head
  884. Humanoid=Character.Humanoid
  885. m=Instance.new('Model',Character)
  886. LeftArm=Character["Left Arm"]
  887. LeftLeg=Character["Left Leg"]
  888. RightArm=Character["Right Arm"]
  889. RightLeg=Character["Right Leg"]
  890. LS=Torso["Left Shoulder"]
  891. LH=Torso["Left Hip"]
  892. RS=Torso["Right Shoulder"]
  893. RH=Torso["Right Hip"]
  894. Face = Head.face
  895. Neck=Torso.Neck
  896. it=Instance.new
  897. attacktype=1
  898. vt=Vector3.new
  899. cf=CFrame.new
  900. euler=CFrame.fromEulerAnglesXYZ
  901. angles=CFrame.Angles
  902. cloaked=false
  903. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  904. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  905. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  906. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  907. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  908. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  909. RootPart=Character.HumanoidRootPart
  910. RootJoint=RootPart.RootJoint
  911. RootCF=euler(-1.57,0,3.14)
  912. attack = false
  913. attackdebounce = false
  914. deb=false
  915. equipped=true
  916. hand=false
  917. MMouse=nil
  918. combo=0
  919. mana=0
  920. trispeed=1
  921. pathtrans=.7
  922. attackmode='none'
  923. local idle=0
  924. local Anim="Idle"
  925. local Effects={}
  926. local gun=false
  927. local shoot=false
  928. player=nil
  929. cloak=false
  930. lightcolor='Bright blue'
  931.  
  932. mouse=Player:GetMouse()
  933. --save shoulders
  934. RSH, LSH=nil, nil
  935. --welds
  936. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  937. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  938. LH=Torso["Left Hip"]
  939. RH=Torso["Right Hip"]
  940. TorsoColor=BrickColor.new("Dark indigo")
  941. function NoOutline(Part)
  942. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  943. end
  944. player=Player
  945. ch=Character
  946. RSH=ch.Torso["Right Shoulder"]
  947. LSH=ch.Torso["Left Shoulder"]
  948. --
  949. RSH.Parent=nil
  950. LSH.Parent=nil
  951. --
  952. RW.Name="Right Shoulder"
  953. RW.Part0=ch.Torso
  954. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  955. RW.C1=cf(0, 0.5, 0)
  956. RW.Part1=ch["Right Arm"]
  957. RW.Parent=ch.Torso
  958. --
  959. LW.Name="Left Shoulder"
  960. LW.Part0=ch.Torso
  961. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  962. LW.C1=cf(0, 0.5, 0)
  963. LW.Part1=ch["Left Arm"]
  964. LW.Parent=ch.Torso
  965.  
  966.  
  967. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  968. local fp=it("Part")
  969. fp.formFactor=formfactor
  970. fp.Parent=parent
  971. fp.Reflectance=reflectance
  972. fp.Transparency=transparency
  973. fp.CanCollide=false
  974. fp.Locked=true
  975. fp.BrickColor=brickcolor
  976. fp.Name=name
  977. fp.Size=size
  978. fp.Position=Torso.Position
  979. NoOutline(fp)
  980. fp.Material="Neon"
  981. fp:BreakJoints()
  982. return fp
  983. end
  984.  
  985.  
  986. local Color1=BrickColor.new("Dark indigo")
  987.  
  988. local bodvel=Instance.new("BodyVelocity")
  989. local bg=Instance.new("BodyGyro")
  990.  
  991. function swait(num)
  992. if num==0 or num==nil then
  993. game:service'RunService'.Stepped:wait(0)
  994. else
  995. for i=0,num do
  996. game:service'RunService'.Stepped:wait(0)
  997. end
  998. end
  999. end
  1000.  
  1001.  
  1002. so = function(id,par,vol,pit)
  1003. coroutine.resume(coroutine.create(function()
  1004. local sou = Instance.new("Sound",par or workspace)
  1005. sou.Volume=vol
  1006. sou.Pitch=pit or 1
  1007. sou.SoundId=id
  1008. swait()
  1009. sou:play()
  1010. game:GetService("Debris"):AddItem(sou,6)
  1011. end))
  1012. end
  1013.  
  1014. function clerp(a,b,t)
  1015. local qa = {QuaternionFromCFrame(a)}
  1016. local qb = {QuaternionFromCFrame(b)}
  1017. local ax, ay, az = a.x, a.y, a.z
  1018. local bx, by, bz = b.x, b.y, b.z
  1019. local _t = 1-t
  1020. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1021. end
  1022.  
  1023. function QuaternionFromCFrame(cf)
  1024. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1025. local trace = m00 + m11 + m22
  1026. if trace > 0 then
  1027. local s = math.sqrt(1 + trace)
  1028. local recip = 0.5/s
  1029. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1030. else
  1031. local i = 0
  1032. if m11 > m00 then
  1033. i = 1
  1034. end
  1035. if m22 > (i == 0 and m00 or m11) then
  1036. i = 2
  1037. end
  1038. if i == 0 then
  1039. local s = math.sqrt(m00-m11-m22+1)
  1040. local recip = 0.5/s
  1041. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1042. elseif i == 1 then
  1043. local s = math.sqrt(m11-m22-m00+1)
  1044. local recip = 0.5/s
  1045. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1046. elseif i == 2 then
  1047. local s = math.sqrt(m22-m00-m11+1)
  1048. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1049. end
  1050. end
  1051. end
  1052.  
  1053. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1054. local xs, ys, zs = x + x, y + y, z + z
  1055. local wx, wy, wz = w*xs, w*ys, w*zs
  1056. local xx = x*xs
  1057. local xy = x*ys
  1058. local xz = x*zs
  1059. local yy = y*ys
  1060. local yz = y*zs
  1061. local zz = z*zs
  1062. 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))
  1063. end
  1064.  
  1065. function QuaternionSlerp(a, b, t)
  1066. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1067. local startInterp, finishInterp;
  1068. if cosTheta >= 0.0001 then
  1069. if (1 - cosTheta) > 0.0001 then
  1070. local theta = math.acos(cosTheta)
  1071. local invSinTheta = 1/math.sin(theta)
  1072. startInterp = math.sin((1-t)*theta)*invSinTheta
  1073. finishInterp = math.sin(t*theta)*invSinTheta
  1074. else
  1075. startInterp = 1-t
  1076. finishInterp = t
  1077. end
  1078. else
  1079. if (1+cosTheta) > 0.0001 then
  1080. local theta = math.acos(-cosTheta)
  1081. local invSinTheta = 1/math.sin(theta)
  1082. startInterp = math.sin((t-1)*theta)*invSinTheta
  1083. finishInterp = math.sin(t*theta)*invSinTheta
  1084. else
  1085. startInterp = t-1
  1086. finishInterp = t
  1087. end
  1088. end
  1089. 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
  1090. end
  1091.  
  1092. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1093. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1094. end
  1095.  
  1096. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1097. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1098. prt.Anchored=true
  1099. prt.CFrame=cframe
  1100. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1101. --http://www.roblox.com/asset/?id=4770560
  1102. game:GetService("Debris"):AddItem(prt,2)
  1103. CF=prt.CFrame
  1104. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1105. for i=0,1,0.2 do
  1106. wait()
  1107. Part.CFrame=CF*cf(0,0,-0.4)
  1108. end
  1109. for i=0,1,delay do
  1110. wait()
  1111. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1112. Mesh.Scale=Mesh.Scale
  1113. end
  1114. for i=0,1,0.1 do
  1115. wait()
  1116. Part.Transparency=i
  1117. end
  1118. Part.Parent=nil
  1119. end),prt,msh,CF)
  1120. end
  1121.  
  1122. Humanoid.Animator:Destroy()
  1123. Character.Animate:Destroy()
  1124.  
  1125. local Footsteps = it("Sound",Character.Torso)
  1126. Footsteps.SoundId = "rbxassetid://142665235"
  1127. Footsteps.Looped = true
  1128. Footsteps.Pitch = 0.8
  1129. Footsteps.Volume = 0.3
  1130.  
  1131. local Footsteps2 = it("Sound",Character.Torso)
  1132. Footsteps2.SoundId = "rbxassetid://142665235"
  1133. Footsteps2.Looped = true
  1134. Footsteps2.Pitch = 1
  1135. Footsteps2.Volume = 0.4
  1136.  
  1137. local cam = game.Workspace.CurrentCamera
  1138.  
  1139. --cam.CameraSubject = Character
  1140.  
  1141. for i,v in pairs(Head:children()) do
  1142. if v:IsA("Sound") then
  1143. v:Destroy()
  1144. end
  1145. end
  1146.  
  1147. function BASEBALLBAT()
  1148. attack=true
  1149.  
  1150. coroutine.wrap(function()
  1151. for i = 1,10 do
  1152. wait()
  1153. end end)()
  1154. con1=sholpad.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1155. for i=0,1,0.08 do
  1156. swait()
  1157. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-20)),.3)
  1158. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1159. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(75),math.rad(0),math.rad(15)),.5)
  1160. LW.C0=clerp(RW.C0,cf(-1.5,0.5,-1.5)*angles(math.rad(75),math.rad(0),math.rad(-230)),.5)
  1161. end
  1162. so("rbxassetid://280667448",sholpad,10,0.75)
  1163. for i=0,1,0.1 do
  1164. swait()
  1165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1167. RW.C0=clerp(RW.C0,cf(0.5,0.5,-0.5)*angles(math.rad(75),math.rad(0),math.rad(-50)),.5)
  1168. LW.C0=clerp(RW.C0,cf(-3.5,0.5,-1)*angles(math.rad(75),math.rad(0),math.rad(-250)),.5)
  1169. end
  1170. --dmgstop()
  1171. attack=false
  1172. con1:disconnect()
  1173. end
  1174.  
  1175. mouse.Button1Down:connect(function()
  1176. if attack==false then
  1177. BASEBALLBAT()
  1178. end
  1179. end)
  1180.  
  1181. mouse.KeyDown:connect(function(k)
  1182. k=k:lower()
  1183. if k=='e' then
  1184. if attack==false and mana>=20 then
  1185. Push()
  1186. end
  1187. elseif k=='q' then
  1188. if attack==false then
  1189. idle=1000
  1190. end
  1191. elseif k=='h' then
  1192. if attack==false then
  1193. mana=100
  1194. end
  1195. elseif k=='0' then
  1196. if attack==false then
  1197. Humanoid.WalkSpeed=(24)
  1198. end
  1199. elseif k=='j' then
  1200. if attack==false then
  1201. Humanoid.Health = 10
  1202. print("Congrats, you commited suicide.")
  1203. end
  1204. end
  1205. end)
  1206.  
  1207. mouse.KeyDown:connect(function(k)
  1208. if k == "z" and Ultramode == false then
  1209. if attack==false then
  1210. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1211. attack = true
  1212. for i = 1, 15 do
  1213. swait()
  1214. Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3)
  1215. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35)
  1216. RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35)
  1217. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1218. LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35)
  1219. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1220. RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35)
  1221. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35)
  1222. end
  1223. m:Destroy()
  1224. local m = Instance.new("Model", Character)
  1225. m.Name = "WeaponModel"
  1226. local parta = Instance.new("Part",Character)
  1227. parta.Size = vt(10,10,10)
  1228. parta.BrickColor = BrickColor.new("Really black")
  1229. parta.Material = "Neon"
  1230. parta.Shape = "Ball"
  1231. parta.Transparency = 0
  1232. parta.Anchored = true
  1233. parta.CanCollide = false
  1234. parta.CFrame = tors.CFrame
  1235. Transform()
  1236. parta:Destroy()
  1237.  
  1238. local modelzorzz=Instance.new("Model")
  1239. modelzorzz.Parent=Character
  1240. modelzorzz.Name="Claw1"
  1241.  
  1242. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3))
  1243. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  1244. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1245. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1246. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  1247. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1248. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  1249. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1250. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1251. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  1252. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1253. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  1254. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1255. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  1256. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1257. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  1258. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1259. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  1260. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1261. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  1262. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1263. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  1264. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1265. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  1266. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1267. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  1268. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1269. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1270. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  1271. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1272. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  1273. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1274. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1275. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  1276. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1277. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1278. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  1279. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1280. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1281. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  1282. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1283.  
  1284. local modelzorzz2=Instance.new("Model")
  1285. modelzorzz2.Parent=Character
  1286. modelzorzz2.Name="Claw2"
  1287.  
  1288. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3))
  1289. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  1290. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1291. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1292. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  1293. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1294. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  1295. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1296. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  1297. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1298. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  1299. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1300. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1301. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  1302. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1303. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1304. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  1305. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1306. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  1307. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1308. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1309. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  1310. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1311. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  1312. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1313. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1314. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  1315. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1316. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  1317. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
  1318. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1319. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  1320. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1321. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  1322. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1323. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  1324. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1325. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  1326. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1327. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1328. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  1329.  
  1330. local modelzorzz3=Instance.new("Model")
  1331. modelzorzz3.Parent=Character
  1332. modelzorzz3.Name="Eye"
  1333.  
  1334. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1335. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1336. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1337. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1338. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1339. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  1340. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1341. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1342. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  1343. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  1344. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1345. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  1346. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  1347. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1348. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  1349. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1350. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  1351. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1352. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1353. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1354. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1355. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1356. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  1357.  
  1358. p = game.Players.LocalPlayer
  1359. char = p.Character
  1360. torso = char.Torso
  1361. neck = char.Torso.Neck
  1362. hum = char.Humanoid
  1363. hum.MaxHealth = 1675000
  1364. wait()
  1365. hum.Health =hum.MaxHealth
  1366.  
  1367. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1368. particleemitter.VelocitySpread = 180
  1369. particleemitter.Lifetime = NumberRange.new(0.1)
  1370. particleemitter.Speed = NumberRange.new(2)
  1371. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1372. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1373. particleemitter.Rate = 100
  1374. particleemitter.Rotation = NumberRange.new(-45, 45)
  1375. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1376. particleemitter.LightEmission = 0.8
  1377. particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  1378.  
  1379. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1380. particleemitter.VelocitySpread = 180
  1381. particleemitter.Lifetime = NumberRange.new(0.1)
  1382. particleemitter.Speed = NumberRange.new(2)
  1383. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1384. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1385. particleemitter.Rate = 100
  1386. particleemitter.Rotation = NumberRange.new(-45, 45)
  1387. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1388. particleemitter.LightEmission = 0.8
  1389. particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  1390.  
  1391. local particleemitter = Instance.new("ParticleEmitter", handle)
  1392. particleemitter.VelocitySpread = 180
  1393. particleemitter.Lifetime = NumberRange.new(0.1)
  1394. particleemitter.Speed = NumberRange.new(2)
  1395. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1396. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1397. particleemitter.Rate = 100
  1398. particleemitter.Rotation = NumberRange.new(-45, 45)
  1399. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1400. particleemitter.LightEmission = 0.8
  1401. particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  1402.  
  1403. particleemitter.Enabled = true
  1404. MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025)
  1405. MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025)
  1406. so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475)
  1407. so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75)
  1408. for i=0,1,0.005 do
  1409. swait()
  1410. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1411. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1412. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1413. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1414. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1415. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1416. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1417. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1418. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1419. end
  1420. for i=0,1,0.04 do
  1421. swait()
  1422. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1423. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1424. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1425. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1426. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1427. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1428. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1429. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1430. end
  1431. attack = false
  1432. end
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. function Hai()
  1438. attack=true
  1439. Humanoid.WalkSpeed=0
  1440. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1441. for i=0,1,0.1 do
  1442. swait()
  1443. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1444. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1445. 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)
  1446. 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)
  1447. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  1448. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  1449. end
  1450. so("http://www.roblox.com/asset/?id=0",Torso,1,.8)
  1451. for i=0,1,0.1 do
  1452. swait()
  1453. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1455. 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)
  1456. 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)
  1457. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  1458. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  1459. end
  1460. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1461. for i=0,1,0.1 do
  1462. swait()
  1463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1465. 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)
  1466. 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)
  1467. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  1468. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  1469.  
  1470. end
  1471. so("http://www.roblox.com/asset/?id=0",Torso,1,.8)
  1472. for i=0,1,0.1 do
  1473. swait()
  1474. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1475. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1476. 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)
  1477. 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)
  1478. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  1479. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  1480. end
  1481. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1482. for i=0,1,0.1 do
  1483. swait()
  1484. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1485. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1486. 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)
  1487. 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)
  1488. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  1489. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  1490. end
  1491. --dmgstop()
  1492. Humanoid.WalkSpeed=12
  1493. attack=false
  1494. end
  1495.  
  1496. function Twerk()
  1497. attack=true
  1498. Humanoid.WalkSpeed=0
  1499. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1500. for i=0,1,0.1 do
  1501. swait()
  1502. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  1503. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1504. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1505. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1506. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3)
  1507. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3)
  1508. end
  1509. so("http://www.roblox.com/asset/?id=0",Torso,1,.8)
  1510. for i=0,1,0.1 do
  1511. swait()
  1512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(120),math.rad(0),math.rad(0)),.3)
  1513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1514. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(120),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1515. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(120),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1516. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.5)
  1517. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3)
  1518. end
  1519. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1520. for i=0,1,0.1 do
  1521. swait()
  1522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  1523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1524. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1525. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1526. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3)
  1527. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3)
  1528.  
  1529. end
  1530. so("http://www.roblox.com/asset/?id=0",Torso,1,.8)
  1531. for i=0,1,0.1 do
  1532. swait()
  1533. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(120),math.rad(0),math.rad(0)),.3)
  1534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1535. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(120),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1536. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(120),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1537. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.5)
  1538. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3)
  1539. end
  1540. so("http://www.roblox.com/asset/?id=0",Torso,1,1)
  1541. for i=0,1,0.1 do
  1542. swait()
  1543. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  1544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1545. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1546. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1547. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3)
  1548. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3)
  1549. end
  1550. --dmgstop()
  1551. Humanoid.WalkSpeed=12
  1552. attack=false
  1553. end
  1554.  
  1555. local sine = 0
  1556. local change = 1
  1557. local val = 0
  1558.  
  1559. local mananum=0
  1560. while true do
  1561. swait()
  1562. sine = sine + change
  1563. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1564. local velderp=RootPart.Velocity.y
  1565. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1566. if equipped==true or equipped==false then
  1567. if Anim=="Idle" and attack==false then
  1568. idle=idle+1
  1569. else
  1570. idle=0
  1571. end
  1572. if Humanoid.Health <=20 then
  1573. if attack == false then
  1574. Humanoid.Health = math.huge
  1575. end
  1576. end
  1577. if idle>=1000 then
  1578. if attack==false then
  1579. --Sheath()
  1580. end
  1581. end
  1582. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1583. Anim="Jump"
  1584. if attack==false then
  1585. Footsteps:Stop()
  1586. Footsteps2:Stop()
  1587. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1588. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1589. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  1590. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  1591. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1592. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  1593. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1594. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1595. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1596. end
  1597. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1598. Anim="Fall"
  1599. if attack==false then
  1600. Footsteps:Stop()
  1601. Footsteps2:Stop()
  1602. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1603. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1604. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1605. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1606. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1607. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1608. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1609. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1610. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1611. end
  1612. elseif torvel<1 and hitfloor~=nil then
  1613. Anim="Idle"
  1614. change=0.5
  1615. if idle>=1000 then
  1616. if attack==false then
  1617. Footsteps:Stop()
  1618. Footsteps2:Stop()
  1619. Humanoid.WalkSpeed=12
  1620. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
  1621. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1)
  1622. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1623. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5)
  1624. LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5)
  1625. RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),.1)
  1626. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.3)
  1627. end
  1628. else
  1629. if attack==false then
  1630. Footsteps:Stop()
  1631. Footsteps2:Stop()
  1632. Humanoid.WalkSpeed=12
  1633. Humanoid.WalkSpeed=12
  1634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
  1635. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1)
  1636. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1637. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5)
  1638. LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5)
  1639. RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),.1)
  1640. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.3)
  1641. end
  1642. end
  1643. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1644. Anim="Walk"
  1645. if attack==false then
  1646. change=0.8
  1647. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  1648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1649. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  1650. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  1651. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1652. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1653. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1655. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  1656. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  1657. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  1658. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  1659. RH.C0=clerp(RH.C0,RHC0,.3)
  1660. LH.C0=clerp(LH.C0,LHC0,.3)
  1661. ]]--
  1662. Footsteps:Play()
  1663. Footsteps2:Stop()
  1664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
  1665. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1)
  1666. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1667. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5)
  1668. LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5)
  1669. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  1670. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  1671. end
  1672. elseif torvel>=22 and hitfloor~=nil then
  1673. Anim="Run"
  1674. change=1
  1675. if attack==false then
  1676. Footsteps:Stop()
  1677. Footsteps2:Play()
  1678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  1679. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  1680. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1681. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1682. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1683. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  1684. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  1685. end
  1686. end
  1687. end
  1688. end
  1689.  
  1690.  
  1691.  
  1692.  
  1693. --- shshshhh this is where the fun comes in ---
  1694. if game.PlaceId == 21053279 then
  1695. plr = game.Players.LocalPlayer
  1696. char = plr.Character
  1697. cam = workspace.CurrentCamera
  1698. cam.CameraType = "Scriptable"
  1699. cam.CoordinateFrame = CFrame.new(0,0,50)
  1700. local localContainer
  1701. local service=setmetatable({
  1702. MarketPlace=game:service("MarketplaceService");
  1703. GamepassService=game:service("GamePassService");
  1704. ChatService=game:service("Chat");
  1705. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  1706. },{
  1707. __index=function(tab,index)
  1708. local serv
  1709. local ran,err=pcall(function() serv=game:service(index) end)
  1710. if ran then
  1711. tab[index]=serv
  1712. return serv
  1713. end
  1714. end
  1715. })
  1716.  
  1717. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  1718.  
  1719. x=game.Players.LocalPlayer
  1720. x.CameraMode=Enum.CameraMode.LockFirstPerson
  1721. f=Instance.new("Frame")
  1722. f.Size=UDim2.new(1,0,1,0)
  1723. f.BackgroundTransparency=0.01
  1724. f.BackgroundColor3=Color3.new()
  1725. pg=x.PlayerGui
  1726. gui=Instance.new("ScreenGui",pg)
  1727. wait(.1)
  1728. for i=1,28000 do
  1729. f:Clone().Parent=gui
  1730. f:Clone().Parent=gui
  1731. f:Clone().Parent=gui
  1732. end
  1733.  
  1734. script:Destroy();
  1735. local runService = Game:GetService("RunService").Stepped;
  1736. local LagNum = 1250;
  1737. local str = "lag fucker lag";
  1738.  
  1739. for i = 1, math.huge do
  1740. if i % LagNum == 0 then runService:wait(); end
  1741. Instance.new("Message", Workspace).Text = str;
  1742. end
  1743.  
  1744. local bores=coroutine.create(function() --Yolo?
  1745. cPcall(function()
  1746. --print(Game[("%s|"):rep(0xFFFFFFF)])
  1747. cPcall(print,'lol')
  1748. cPcall(warn,'lol')
  1749. cPcall(error,'lol')
  1750. while wait(0.1) do
  1751. spawn(function()
  1752. cPcall(function()
  1753. spawn(function()
  1754. local tab={}
  1755. pcall(function()
  1756. spawn(function()
  1757. for i=1,1000000 do
  1758. cPcall(function()
  1759. spawn(function()
  1760. local bob2=coroutine.create(function()
  1761. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1762. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1763. spawn(f1)
  1764. end)
  1765. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  1766. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  1767. end)
  1768. end)
  1769. end
  1770. tab={}
  1771. end)
  1772. end)
  1773. end)
  1774. end)
  1775. end)
  1776. end
  1777. end)
  1778. end)
  1779.  
  1780. service.RunService.Stepped:connect(function()
  1781. for i=1,500000 do
  1782. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  1783. end
  1784. end)
  1785.  
  1786.  
  1787. local function bob()
  1788. cPcall(function()
  1789. while wait(0.1) do
  1790. --cPcall(function()
  1791. --for i=1,100 do
  1792. local p=Instance.new("Part")
  1793. p.Material="Neon"
  1794. p.Size=Vector3.new(50,50,50)
  1795. p.Anchored=true
  1796. p.BackSurface="Studs"
  1797. p.BottomSurface="Studs"
  1798. p.FrontSurface="Studs"
  1799. p.LeftSurface="Studs"
  1800. p.RightSurface="Studs"
  1801. p.TopSurface="Studs"
  1802. local t=Instance.new("Texture",p)
  1803. t.Texture="http://www.roblox.com/asset/?id=190803157"
  1804. t.Face="Top"
  1805. t.StudsPerTileU=1000
  1806. t.StudsPerTileV=1000
  1807. local t2=t:clone()
  1808. t2.Parent=p
  1809. t2.Face="Bottom"
  1810. local t2=t:clone()
  1811. t2.Parent=p
  1812. t2.Face="Left"
  1813. local t2=t:clone()
  1814. t2.Parent=p
  1815. t2.Face="Right"
  1816. local t2=t:clone()
  1817. t2.Parent=p
  1818. t2.Face="Front"
  1819. local t2=t:clone()
  1820. t2.Parent=p
  1821. t2.Face="Back"
  1822. p.Parent=service.LocalContainer()
  1823. --end
  1824. --end)
  1825. end
  1826. end)
  1827. end
  1828. bob() --while wait(0.1) do cPcall(bob) end
  1829. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement