SHOW:
|
|
- or go back to the newest paste.
1 | - | Folder = game.Players.LocalPlayer.PlayerGui |
1 | + | --Ok go abuse this. I dare you. Anyways enjoy little brats. |
2 | - | script=Instance.new('LocalScript') |
2 | + | |
3 | --[[ | |
4 | - | local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z |
4 | + | User: TheDarkRevenant |
5 | - | local A,B,C,D,F,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z |
5 | + | Script: DSSJ3 |
6 | - | local Aa,Ba,Ca,Da,Fa,Ea,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za |
6 | + | Pass: CENSORED |
7 | - | local IntroSFX = nil |
7 | + | |
8 | - | local IntroDone,Toggle,taco = false |
8 | + | ]] |
9 | - | local Folders, Selected, Banned, WayPoint = nil |
9 | + | |
10 | - | local CId = Instance.new("IntValue") CId.Value = 0 |
10 | + | local p = game.Players.LocalPlayer |
11 | - | local LPCId = Instance.new("IntValue") LPCId.Value = 0 |
11 | + | local char = p.Character |
12 | - | local SId = Instance.new("IntValue") |
12 | + | local mouse = p:GetMouse() |
13 | - | SId.Value = 0 |
13 | + | local larm = char["Left Arm"] |
14 | - | local MId = Instance.new("IntValue") |
14 | + | local rarm = char["Right Arm"] |
15 | - | MId.Value = 0 |
15 | + | local lleg = char["Left Leg"] |
16 | - | local MPId = Instance.new("IntValue") |
16 | + | local rleg = char["Right Leg"] |
17 | - | MPId.Value = 0 |
17 | + | local hed = char.Head |
18 | - | local GId = Instance.new("IntValue") |
18 | + | local torso = char.Torso |
19 | - | GId.Value = 0 |
19 | + | local hum = char.Humanoid |
20 | - | local GPId = Instance.new("IntValue") |
20 | + | local cam = game.Workspace.CurrentCamera |
21 | - | GPId.Value = 0 |
21 | + | local root = char.HumanoidRootPart |
22 | - | local HId = Instance.new("IntValue") |
22 | + | local deb = false |
23 | - | HId.Value = 0 |
23 | + | local shot = 0 |
24 | - | local HPId = Instance.new("IntValue") |
24 | + | local debris=game:service"Debris" |
25 | - | HPId.Value = 0 |
25 | + | local l = game:GetService("Lighting") |
26 | - | local SDId = Instance.new("IntValue") |
26 | + | local rs = game:GetService("RunService").RenderStepped |
27 | - | SDId.Value = 0 |
27 | + | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} |
28 | - | local WId = Instance.new("IntValue") WId.Value = 0 local WMId = Instance.new("IntValue") WMId.Value = 0 local LCId = Instance.new("IntValue") LCId.Value = 0 local TCId = Instance.new("IntValue") TCId.Value = 0 local MEId = Instance.new("IntValue") MEId.Value = 1 local MEPId = Instance.new("IntValue") MEPId.Value = 0 local SkyId = Instance.new("IntValue") SkyId.Value = 1 local SkypId = Instance.new("IntValue") SkypId.Value = 0 local TabId = Instance.new("IntValue") TabId.Value = 0 |
28 | + | math.randomseed(os.time()) |
29 | - | local EmptySP = UDim2.new(0,0,0,0) |
29 | + | for i,v in pairs(char:children()) do |
30 | - | local PrivateServer = false |
30 | + | if v:IsA("Hat") then |
31 | v:Destroy() | |
32 | - | function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end |
32 | + | end |
33 | - | function PlaySFX(SoundId,Volume,Pitch,Looped) |
33 | + | end |
34 | - | A=Instance.new("Sound",workspace) |
34 | + | for i,v in pairs (hed:GetChildren()) do |
35 | - | A.PlayOnRemove = true |
35 | + | if v:IsA("Sound") then |
36 | - | A.SoundId = "rbxassetid://" .. SoundId |
36 | + | v:Destroy() |
37 | - | A.Volume = Volume |
37 | + | end |
38 | - | A.Pitch = Pitch |
38 | + | end |
39 | - | A.Looped = Looped |
39 | + | ---------------------------------------------------- |
40 | - | A:Play() |
40 | + | Debounces = { |
41 | - | return A |
41 | + | CanAttack = true; |
42 | - | end |
42 | + | NoIdl = false; |
43 | - | function Frame(parent,Size,Position) |
43 | + | Slashing = false; |
44 | - | B=Instance.new("Frame",parent) |
44 | + | Slashed = false; |
45 | - | B.Size = Size |
45 | + | RPunch = false; |
46 | - | B.Position = Position |
46 | + | RPunched = false; |
47 | - | return B |
47 | + | LPunch = false; |
48 | - | end |
48 | + | LPunched = false; |
49 | - | function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end |
49 | + | } |
50 | - | function Label(parent,Text,Size,Position,value) C=Instance.new("TextLabel",parent) C.Size = Size C.Position = Position C.Text = Text C.BackgroundTransparency = 1 C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true if value ~= nil then if value == 1 then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end |
50 | + | local Touche = {char.Name, } |
51 | - | function Button(parent,Text,Size,Position,func,value) C=Instance.new("TextButton",parent) C.Size = Size C.Position = Position C.Text = Text C.Style = "RobloxButton" C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true C.MouseButton1Click:connect(function() ypcall(function() PlaySFX(156785206,0.75,1.25); func() end) end) if value ~= nil then if Size == EmptySP then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end |
51 | + | ---------------------------------------------------- |
52 | - | function TextBox(parent,text,Size,Position) C = Instance.new("TextBox") C.Parent = parent C.Name = text C.Text = text if text == "ValueBox" then C.Text = "0" end C.Size = Size C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C.Position = Position C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.Font = 2 C.FontSize = Enum.FontSize.Size12 C.TextWrapped = true return C end letters = { "a"; "b"; "c"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "k"; "l"; "m"; "n"; "o"; "p"; "q"; "r"; "s"; "t"; "u"; "v"; "w"; "x"; "y" ;"z"; " "; ":"; "/" } |
52 | + | hed.face.Texture = "rbxassetid://34668268" |
53 | - | function CheckForNumbers(textbox) |
53 | + | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") |
54 | - | for i = 1, #letters do |
54 | + | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") |
55 | - | n = string.find(string.lower(textbox.Text), letters[i]) |
55 | + | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") |
56 | - | if n ~= nil then |
56 | + | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") |
57 | - | textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1) |
57 | + | ---------------------------------------------------- |
58 | - | end |
58 | + | ypcall(function() |
59 | - | end |
59 | + | char.Shirt:Destroy() |
60 | - | end |
60 | + | char.Pants:Destroy() |
61 | - | function NumTextBox(textbox) ypcall(function() Execute(function() wait(0.25) textbox.Changed:connect(function(property) if property == "Text" then CheckForNumbers(textbox) end end) end) end) end |
61 | + | shirt = Instance.new("Shirt", char) |
62 | - | function TextUsedButton(parents,name,func,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,5,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Button(x,name,UDim2.new(0,70,0,25),UDim2.new(1,-75,0,5),function() if y.Text ~= "" and type ~= nil then func() else func() end end) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 z.Style = "Custom" if value ~= nil then value.Value = value.Value + 1 end return x end |
62 | + | shirt.Name = "Shirt" |
63 | - | function TextUsedLabel(parents,name,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,80,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Label(x,name,UDim2.new(0,70,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 if value ~= nil then value.Value = value.Value + 1 end return x end |
63 | + | pants = Instance.new("Pants", char) |
64 | - | function ToggleButton(parent,name,func1,func2,value) x=Frame(parent,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,35*value.Value)) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 z=Label(x,name,UDim2.new(1,-160,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 y=Button(x,"On",UDim2.new(0,-70,0,25),UDim2.new(1,-80,0,5),function() func1() end) y.BackgroundTransparency = 0.85 y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.Style = "Custom" y.Name = "On" g=Button(x,"Off",UDim2.new(0,-70,0,25),UDim2.new(1,-5,0,5),function() func2() end) g.BackgroundTransparency = 0.85 g.BackgroundColor3 = Color3.new(0,75/255,150/255) g.Style = "Custom" g.Name = "Off" if value ~= nil then value.Value = value.Value + 1 end return x end |
64 | + | pants.Name = "Pants" |
65 | - | function ImageLabel(parent,Image,Size,Position) C = nil C=Instance.new("ImageLabel",parent) C.Image = "rbxassetid://" .. Image C.Size = Size C.Position = Position C.BackgroundTransparency = 1 return C end |
65 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" |
66 | - | function ToggleMenu() if Toggle == true then PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,-0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Quad",.25,true) Toggle = false else PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,-50,1,-50),"Out","Quad",.25,true) Toggle = true end end |
66 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" |
67 | - | function AddTab(parent,tabparent,text,cValue) if cValue ~= nil then D=Frame(tabparent,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) D.Transparency = 1 D.BorderSizePixel = 0 D.Name = text D.Visible = false if cValue.Value == 0 then D.Visible = true end Instance.new("IntValue",D).Name = "IsATab" C=Button(parent,text,UDim2.new(1,-10,0,35),UDim2.new(0,5,0,5+(40*cValue.Value)),function() for i, v in pairs(tabparent:GetChildren()) do if v.Name == text then v.Visible = true else v.Visible = false end end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 Instance.new("IntValue",C).Name = "IsATabButton" if cValue ~= nil then cValue.Value = cValue.Value + 1 end if parent.Parent.ClassName == "ScrollingFrame" then parent.Parent.CanvasSize = UDim2.new(0,0,0,5+(40*(cValue.Value))) end return D end end |
67 | + | end) |
68 | - | function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end |
68 | + | ---------------------------------------------------- |
69 | - | function CreateFolder(parent,name) |
69 | + | function lerp(a, b, t) -- Linear interpolation |
70 | - | C=Instance.new("Folder",parent) |
70 | + | return a + (b - a)*t |
71 | - | C.Name = name |
71 | + | end |
72 | - | return C |
72 | + | |
73 | - | end |
73 | + | function slerp(a, b, t) --Spherical interpolation |
74 | - | function AddValue(Folder,name) |
74 | + | dot = a:Dot(b) |
75 | - | if Folder ~= nil then |
75 | + | if dot > 0.99999 or dot < -0.99999 then |
76 | - | C=Instance.new("StringValue") |
76 | + | return t <= 0.5 and a or b |
77 | - | C.Name = name |
77 | + | else |
78 | - | C.Value = name |
78 | + | r = math.acos(dot) |
79 | - | C.Parent = |
79 | + | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) |
80 | - | Folder |
80 | + | end |
81 | - | end |
81 | + | end |
82 | - | end |
82 | + | |
83 | - | function RemoveValue(Folder,name) |
83 | + | function matrixInterpolate(a, b, t) |
84 | - | if Folder ~= nil then |
84 | + | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() |
85 | - | if Folder:FindFirstChild(name) ~= nil then |
85 | + | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() |
86 | - | Folder:FindFirstChild(name):Remove() |
86 | + | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position |
87 | - | end |
87 | + | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right |
88 | - | end |
88 | + | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up |
89 | - | end |
89 | + | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back |
90 | - | function VerifyValue(Folder,name) |
90 | + | local t = v1:Dot(v2) |
91 | - | if Folder ~= nil then |
91 | + | if not (t < 0 or t == 0 or t > 0) then -- Failsafe |
92 | - | if Folder:FindFirstChild(name) ~= nil then |
92 | + | return CFrame.new() |
93 | - | return true |
93 | + | end |
94 | - | else |
94 | + | return CFrame.new( |
95 | - | return false |
95 | + | v0.x, v0.y, v0.z, |
96 | - | end |
96 | + | v1.x, v1.y, v1.z, |
97 | - | end |
97 | + | v2.x, v2.y, v2.z, |
98 | - | end |
98 | + | v3.x, v3.y, v3.z) |
99 | - | local Mouse |
99 | + | end |
100 | - | function AddHotkey(key,func) Mouse = game.Players.LocalPlayer:GetMouse() if Mouse ~= nil then Mouse.KeyDown:connect(function(Key) if Key == string.lower(string.char(key)) then func() end end) else Mouse = game.Players.LocalPlayer:GetMouse() end end local STR = " : False" |
100 | + | ---------------------------------------------------- |
101 | - | function SetPlayerList(parent) ClearFolder(parent) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Selected,v.Name) then STR = " : True" else STR = " : False" end C=Button(parent,v.Name .. STR,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Selected,v.Name) then RemoveValue(Selected,v.Name) else AddValue(Selected,v.Name) end SetPlayerList(parent) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end) end |
101 | + | function genWeld(a,b) |
102 | - | function SetBannedList(parent) ClearFolder(parent) for i,v in pairs(Banned:GetChildren()) do C=Button(parent,v.Name,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Banned,v.Name) then RemoveValue(Banned,v.Name) end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end function IsLocalPlayer(aname) if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Name == aname then return true else return false end end end end local ContentProvider = game:GetService("ContentProvider"); local function LoadAssets(AssetList) for _, AssetId in pairs(AssetList) do ContentProvider:Preload("rbxassetid://" .. AssetId); end end LoadAssets({364328150,278201073,145487017,278208523,278208523}) local PRT = Instance.new("ScreenGui",Folder) Label(PRT,"Currently Preloading Data, Please Wait!",UDim2.new(1,0,0,20),UDim2.new(0,0,0,0)) while (ContentProvider.RequestQueueSize > 0) do wait(); end if Folder:FindFirstChild("GlobalData") ~= nil then for i,v in pairs(Folder:FindFirstChild("GlobalData"):GetChildren()) do v.Parent = Folder end Folder:FindFirstChild("GlobalData"):Remove() end for i,v in pairs(Folder:GetChildren()) do if v.Name == "GearData" or v.Name == "HatData" or v.Name == "MemeData" or v.Name == "SkyData" then for k,c in pairs(v:GetChildren()) do LoadAssets({c.Value}) end end end PRT:Remove() function spamColor(v) if v.ClassName == ("BasePart") then v.BrickColor = BrickColor.Random() else for a,b in pairs(v:GetChildren()) do spamColor(b) end end end function UnAnchore(v) if v.ClassName == ("BasePart") then v.Anchored = false else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then UnAnchore(b) end end end end function Anchore(v) if v.ClassName == ("BasePart") then v.Anchored = true else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then Anchore(b) end end end end function clearW(v) v:ClearAllChildren() end function GenerateMenuPart2() local Color = Color3.new(0,75/255,150/255) X=AddTab(M,N,"Hat Giver",TabId) X.Size = UDim2.new(1,10,1,0) T=AddTab(M,N,"Music Player",TabId) T.Size = UDim2.new(1,10,1,0) local MPitch=TextUsedLabel(T,"Pitch",MId,1) local MVolume=TextUsedLabel(T,"Volume",MId,1) local MIds=TextUsedLabel(T,"SoundId",MId,0) if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil then MPitch:FindFirstChild("ValueBox").Text = 1 MVolume:FindFirstChild("ValueBox").Text = 0.5 end local Music = nil ToggleButton(T,"Music",function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end Music=Instance.new("Sound",game.workspace) Music.Name = "Ro-MusicPlayer" Music.Looped = true if MIds:FindFirstChild("ValueBox") ~= nil then Music.SoundId = "rbxassetid://"..MIds:FindFirstChild("ValueBox").Text end if MVolume:FindFirstChild("ValueBox") ~= nil then Music.Volume = MVolume:FindFirstChild("ValueBox").Text end if MPitch:FindFirstChild("ValueBox") ~= nil then Music.Pitch = MPitch:FindFirstChild("ValueBox").Text end wait() Music:Play() end, function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end end,MId) U=ScrollFrame(T,UDim2.new(1,0,1,-(35*(MId.Value))),UDim2.new(0,0,0,35*(MId.Value))) U.Transparency = .85 U.BorderSizePixel = 0 U.CanvasSize = UDim2.new(0,0,0,0) U.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("MusicData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MusicData"):GetChildren()) do Button(U,v.Name,EmptySP,EmptySP,function() if v:IsA("Sound") then for _,b in pairs(MPitch:GetChildren()) do end if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil and MIds:FindFirstChild("ValueBox") ~= nil then MIds:FindFirstChild("ValueBox").Text = v.SoundId end end end ,MPId) MPId.Value = i U.CanvasSize = UDim2.new(0,0,0,35*MPId.Value) end end end V=AddTab(M,N,"Gear Giver",TabId) V.Size = UDim2.new(1,10,1,0) local GiveGear GiveGear=TextUsedButton(V,"Give Gear",function() if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveGear:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Backpack end x:Remove() end end end end) end end end,GId,0) W=ScrollFrame(V,UDim2.new(1,0,1,-(35*(GId.Value))),UDim2.new(0,0,0,35*(GId.Value))) W.Transparency = .85 W.BorderSizePixel = 0 W.CanvasSize = UDim2.new(0,0,0,0) W.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("GearData") ~= nil then for i, v in pairs(Folder:FindFirstChild("GearData"):GetChildren()) do Button(W,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then GiveGear:FindFirstChild("ValueBox").Text = v.Value end end end end,GPId) GPId.Value = i W.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end local GiveHat GiveHat=TextUsedButton(X,"Give Hat",function() if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveHat:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Character end x:Remove() end end end end) end end end,HId,0) Y=ScrollFrame(X,UDim2.new(1,0,1,-(35*(HId.Value))),UDim2.new(0,0,0,35*(HId.Value))) Y.Transparency = .85 Y.BorderSizePixel = 0 Y.CanvasSize = UDim2.new(0,0,0,0) Y.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("HatData") ~= nil then for i, v in pairs(Folder:FindFirstChild("HatData"):GetChildren()) do Button(Y,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then GiveHat:FindFirstChild("ValueBox").Text = v.Value end end end end,HPId) HPId.Value = i Y.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end o=AddTab(M,N,"Banned Player",TabId) p=ScrollFrame(o,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) p.Transparency = 1 p.BorderSizePixel = 0 p.CanvasSize = UDim2.new(0,0,0,0) game.Players.ChildAdded:connect(function(child) if VerifyValue(Banned,child.Name) then wait(0.35) child:Remove() end if PrivateServer == true then wait(0.35) child:Remove() end end) Banned.ChildAdded:connect(function(child) SetBannedList(p) end) Banned.ChildRemoved:connect(function() SetBannedList(p) end) SetBannedList(p) if Folder:FindFirstChild("BannedData") then for k,c in pairs(Folder:FindFirstChild("BannedData"):GetChildren()) do AddValue(Banned,c.Name) end end end function GenerateScriptTab() S=AddTab(M,N,"Script Tab",TabId) S.ClipsDescendants = true ExeButton=TextUsedButton(S,"Execute",function() ypcall(function() loadstring(ExeButton:FindFirstChild("ValueBox").Text)() end) end, SId) ExeButton.Size = UDim2.new(1,0,0,35) aFrame=Instance.new("Frame",S) aFrame.Size = UDim2.new(1,0,1,-35) aFrame.BackgroundTransparency = 1 aFrame.Position = UDim2.new(0,0,0,35) local Current = Instance.new("IntValue",S) Current.Value = 1 local Max = 0 local Color = Color3.new(0,75/255,150/255) local Pos = UDim2.new(0.5,-75,0.5,-50) local Size = UDim2.new(0,150,0,150) local Size2 = UDim2.new(0,75,0,75) local K local runLocalScript = function(SC) if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.PlayerGui ~= nil then ypcall(function() K = Instance.new("LocalScript",game.Players.LocalPlayer.PlayerGui) K.Disabled = true K.Source = SC wait() K.Disabled = false end) end end end local search = Instance.new("TextBox",aFrame) search.BackgroundColor3 = Color search.BackgroundTransparency = 0.85 search.BorderSizePixel = 0 search.Position = UDim2.new(0.5,-100,0,0) search.Size = UDim2.new(0,200,0,20) search.Font = "Legacy" search.FontSize = "Size10" search.TextColor3 = Color3.new(1,1,1) search.TextStrokeTransparency = 0.5 search.TextWrapped = true search.Text = "" search.ClearTextOnFocus = true search.FocusLost:connect(function(p) if p then for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Title") ~= nil then if v:FindFirstChild("Id") ~= nil then if string.match(string.lower(search.Text),v:FindFirstChild("Id").Value) then Current.Value = v:FindFirstChild("Id").Value elseif string.match(string.lower(v:FindFirstChild("Title").Text),string.lower(search.Text)) then if v:FindFirstChild("Id") ~= nil then Current.Value = v:FindFirstChild("Id").Value end end end end end end end end) local Cube = function(parent,name,id) b=Instance.new("Frame",parent) b.BorderSizePixel = 0 b.Name = "Cube" b.BackgroundTransparency = 0.85 b.BackgroundColor3 = Color e=Instance.new("IntValue",b) e.Name = "Id" e.Value = id f=Instance.new("TextLabel",b) f.Text = " ID: "..id f.BackgroundTransparency = 1 f.Size = UDim2.new(0,100,0,20) f.Font = "Legacy" f.TextColor3 = Color3.new(1,1,1) f.TextStrokeTransparency = 0.5 f.TextXAlignment = "Left" g=Instance.new("TextLabel",b) g.Text = name g.BackgroundTransparency = 1 g.Size = UDim2.new(1,0,0.10,0) g.Position = UDim2.new(0,0,0.15,0) g.Font = "Legacy" g.TextScaled = true g.TextColor3 = Color3.new(1,1,1) g.TextStrokeTransparency = 0.5 g.Name = "Title" h=Instance.new("TextButton",b) h.Text = "Execute" h.BackgroundColor3 = Color h.BackgroundTransparency = 0.85 h.Size = UDim2.new(0.75,0,0.2,0) h.Position = UDim2.new(0.5-(0.75/2),0,1-0.25,0) h.Font = "Legacy" h.TextScaled = true h.TextColor3 = Color3.new(1,1,1) h.TextStrokeTransparency = 0.5 h.BorderSizePixel = 0 h.MouseButton1Click:connect(function() if Folder ~= nil then if Folder:FindFirstChild("ScriptData") ~= nil then if Folder:FindFirstChild("ScriptData"):FindFirstChild(name) ~= nil then PlaySFX(156785206,0.75,1.25) loadstring("script.Name = 'DeathDeletepl0x'; " .. string.reverse(Folder:FindFirstChild("ScriptData"):FindFirstChild(name).Source) .. " script.Name = 'DeathDeletepl0x';" .. [==[ game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() script.Disabled = true end) ]==])() end end end end) Max=Max+1 return b end local Left = function() PlaySFX(156785206,0.75,1.25) if Current.Value > 1 then Current.Value = Current.Value - 1 else Current.Value = Max end end local c = Instance.new("TextButton",aFrame) c.Size = UDim2.new(0,50,1,0) c.Text = "<" c.BackgroundTransparency = 0.85 c.BackgroundColor3 = Color c.BorderSizePixel = 0 c.Font = "Legacy" c.FontSize = "Size36" c.TextStrokeTransparency = 0.5 c.TextColor3 = Color3.new(1,1,1) c.ZIndex = 3 c.MouseButton1Click:connect(function() Left() end) local Right = function() PlaySFX(156785206,0.75,1.25) if Current.Value < Max then Current.Value = Current.Value + 1 else Current.Value = 1 end end local d = Instance.new("TextButton",aFrame) d.Size = UDim2.new(0,50,1,0) d.Position = UDim2.new(1,-50,0,0) d.BackgroundTransparency = 0.85 d.BackgroundColor3 = Color d.BorderSizePixel = 0 d.Text = ">" d.Font = "Legacy" d.FontSize = "Size36" d.TextStrokeTransparency = 0.5 d.TextColor3 = Color3.new(1,1,1) d.ZIndex = 3 d.MouseButton1Click:connect(function() Right() end) AddHotkey(string.byte("q"),function() if Toggle == true then if S.Visible == true then Left() end end end) AddHotkey(string.byte("e"),function() if Toggle == true then if S.Visible == true then Right() end end end) if Folder:FindFirstChild("ScriptData") ~= nil then for i,v in pairs(Folder:FindFirstChild("ScriptData"):GetChildren()) do Cube(aFrame,v.Name,i) end end local refresh = function() for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Id") ~= nil then if v:FindFirstChild("Id").Value == Current.Value then v:TweenSizeAndPosition(Size,Pos,"Out","Quad",0.75,true) for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 2 end end elseif v:FindFirstChild("Id").Value > Current.Value then if v:FindFirstChild("Id").Value > Current.Value + 1 then v:TweenSizeAndPosition(Size2,UDim2.new(1.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.75,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end elseif v:FindFirstChild("Id").Value < Current.Value then if v:FindFirstChild("Id").Value < Current.Value - 1 then v:TweenSizeAndPosition(Size2,UDim2.new(-0.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.25,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end end end end end end Current.Changed:connect(function() refresh() end) refresh() end function GeneratePlayerCommand() Q=AddTab(M,N,"Player Commands",TabId) R=ScrollFrame(Q,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) R.Transparency = 1 R.BorderSizePixel = 0 R.CanvasSize = UDim2.new(0,0,0,0) CId.Changed:connect(function() if R:IsA("ScrollingFrame") then R.CanvasSize = UDim2.new(0,0,0,35*CId.Value) end end) Button(R,"Ban",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do if not VerifyValue(Banned,v.Name) then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then AddValue(Banned,v.Name) end else game.Players:Chat("I'm a jerk ass trying to ban my own script provider!") end end end end,CId) Button(R,"Kick",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then b:Remove() end else game.Players:Chat("I'm a jerk ass trying to kick my own script provider!") end end end end end,CId) Button(R,"Kill",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then b.Character:BreakJoints() end end end end end,CId) local Ex Button(R,"Explode",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then Ex=Instance.new("Explosion",b.Character:FindFirstChild("Torso")) Ex.Position = b.Character:FindFirstChild("Torso").Position end end end end end end,CId) Button(R,"Respawn",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then local ack2 = Instance.new("Model") ack2.Parent = game.Workspace local ack4 = Instance.new("Part") ack4.Transparency = 1 ack4.CanCollide = false ack4.Anchored = true ack4.Name = "Torso" ack4.Position = Vector3.new(10000,10000,10000) ack4.Parent = ack2 local ack3 = Instance.new("Humanoid") ack3.Torso = ack4 ack3.Parent = ack2 b.Character = ack2 end end end end,CId) Button(R,"Lag",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then for i = 1,10000 do g = Instance.new("HopperBin") g.Parent = b.Backpack end else game.Players:Chat("I'm a jerk ass trying to lag my own script provider!") end end end end end,CId) ToggleButton(R,"ForceField",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then Instance.new("ForceField",b.Character) end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c ~= nil then if c:IsA("ForceField") then c:Remove() end end end end end end end end,CId) ToggleButton(R,"InVisible",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 1 if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 1 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 0 if c.Name == "HumanoidRootPart" then c.Transparency = 1 end if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 0 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end end end end end end end end,CId) local TP TP=ToggleButton(R,"Teleport",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then b.Character:MoveTo(game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position) end end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then game.Players.LocalPlayer.Character:MoveTo(b.Character:FindFirstChild("Torso").Position) end end end end end end end end end,CId) TP.On.Text = "Tp To Me" TP.Off.Text = "Tp To Them" local BT,T1,T2,T3 BT=ToggleButton(R,"Build Tools",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then T1 = Instance.new("HopperBin",b.Backpack); T1.BinType = "Grab"; T1.Name = "Grab" T2 = Instance.new("HopperBin",b.Backpack); T2.BinType = "Clone"; T2.Name = "Clone" T3 = Instance.new("HopperBin",b.Backpack); T3.BinType = "Hammer"; T3.Name = "Hammer" end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then for k,c in pairs(b.Backpack:GetChildren()) do if c.Name == "Grab" or c.Name == "Clone" or c.Name == "Hammer" then c:Remove() end end end end end end end end end,CId) BT.On.Text = "Give" BT.Off.Text = "Remove" local NameButton,na,nb,nc NameButton=TextUsedButton(R,"Set Name",function() ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for m,n in pairs(b.Character:GetChildren()) do if n.ClassName == "Model" then for c,k in pairs(n:GetChildren()) do if k.Name == "FakeHumanoidBro" then n:Remove() end end end end na = Instance.new("Model",b.Character) na.Name = NameButton:FindFirstChild("ValueBox").Text nb = b.Character:FindFirstChild("Head"):Clone() local weld = Instance.new("Weld", nb) weld.Part0 = nb weld.Part1 = b.Character:FindFirstChild("Head") b.Character:FindFirstChild("Head").Transparency = 1 nb.Transparency = 0 nb.Parent = na nb.Name = "Head" nb.CanCollide = false nc=Instance.new("Humanoid",na) nc.Name = "FakeHumanoidBro" nc.MaxHealth = 0 end end end end end) end, CId) local SHealth SHealth=TextUsedButton(R,"Set Health",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SHealth:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").MaxHealth = SHealth:FindFirstChild("ValueBox").Text b.Character:FindFirstChild("Humanoid").Health = SHealth:FindFirstChild("ValueBox").Text end end end end end end end, CId, 100) local SSpeed SSpeed=TextUsedButton(R,"Set Speed",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SSpeed:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").WalkSpeed = SSpeed:FindFirstChild("ValueBox").Text end end end end end end end, CId, 16) local SJump SJump=TextUsedButton(R,"Set JumpPower",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SJump:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").JumpPower = SJump:FindFirstChild("ValueBox").Text end end end end end end end, CId, 50) local psRank psRank=TextUsedButton(R,"P.S. Rank",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then ypcall(function() if psRank:FindFirstChild("ValueBox") ~= nil then b.PersonalServerRank=psRank:FindFirstChild("ValueBox").Text end end) end end end end,CId,255) local sChat sChat=TextUsedButton(R,"Chat",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Head") ~= nil then if sChat:FindFirstChild("ValueBox") ~= nil then game:GetService("Chat"):Chat(b.Character:FindFirstChild("Head"),sChat:FindFirstChild("ValueBox").Text,Enum.ChatColor.Blue) end end end end end end end,CId) end function GenerateServerDestruction() Z=AddTab(M,N,"Server Destruction",TabId) Aa=ScrollFrame(Z,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Aa.Transparency = 1 Aa.BorderSizePixel = 0 Aa.CanvasSize = UDim2.new(0,0,0,0) SDId.Changed:connect(function() if Aa:IsA("ScrollingFrame") then Aa.CanvasSize = UDim2.new(0,0,0,35*SDId.Value) end end) Button(Aa,"Flood",EmptySP,EmptySP,function() game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") end,SDId) Button(Aa,"Clear Terrain",EmptySP,EmptySP,function() game.Workspace.Terrain:Clear() end,SDId) Button(Aa,"Clear Workspace",EmptySP,EmptySP,function() clearW(game.Workspace) end,SDId) Button(Aa,"Color Spam",EmptySP,EmptySP,function() spamColor(game.Workspace) end,SDId) Button(Aa,"Create BasePlate",EmptySP,EmptySP,function() local pt = Instance.new("Part") pt.BrickColor = BrickColor.new("Bright green") pt.Anchored = true pt.CanCollide = true pt.BottomSurface = 0 pt.TopSurface = 0 pt.Name = (math.random(1,1000000)) pt.Size = Vector3.new(1000, 1, 1000) pt.Parent = game.Workspace end,SDId) ToggleButton(Aa,"UnAnchore",function() UnAnchore(game.Workspace) end, function() Anchore(game.Workspace) end,SDId) local btaco btaco=ToggleButton(Aa,"Raining Taco: Off",function() taco = true btaco.TextLabel.Text = "Raining Taco: On" end, function() taco = false btaco.TextLabel.Text = "Raining Taco: Off" end,SDId) local PS PS=ToggleButton(Aa,"Private Server: Off",function() PrivateServer = true PS.TextLabel.Text = "Private Server: On" end, function() PrivateServer = false PS.TextLabel.Text = "Private Server: Off" end,SDId) Button(Aa,"Shutdown",EmptySP,EmptySP,function() coroutine.resume(coroutine.create(function() while wait() do ypcall(function() for _, v in pairs(game.Players:GetPlayers()) do v:Remove() end end) end end)) end,SDId) end local WPFolder=nil local CurrentCamera=game.Workspace.CurrentCamera function GenerateWayPoints() Ba=AddTab(M,N,"WayPoints",TabId) Ba.Size = UDim2.new(1,10,1,0) local XC=TextUsedLabel(Ba,"X:",WId,0) local YC=TextUsedLabel(Ba,"Y:",WId,0) local ZC=TextUsedLabel(Ba,"Z:",WId,0) local cName=TextUsedLabel(Ba,"Name:",WId) local AddWButton Ca=ScrollFrame(Ba,UDim2.new(1,0,1,-(35*(WId.Value+1))),UDim2.new(0,0,0,(35*(WId.Value+1)))) Ca.Transparency = .85 Ca.BorderSizePixel = 0 Ca.CanvasSize = UDim2.new(0,0,0,0) Ca.BackgroundColor3 = Color3.new(0,75/255,150/255) local cWColor3 AddWButton=ToggleButton(Ba,"Add WayPoints",function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = Vector3.new(XC.ValueBox.Text,YC.ValueBox.Text,ZC.ValueBox.Text) cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end) end, function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end end end end end) end,WId) AddWButton.On.Text = "Custom Position" AddWButton.Off.Text = "Current Position" GenerateWFolder() end function ClearWScroll() for i,v in pairs(Ca:GetChildren()) do v:Remove() end end function ClearWFolder() if WPFolder ~= nil then for i,v in pairs(WPFolder:GetChildren()) do v:Remove() end end end local WButton function MakeWButton(name,id) if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then WMId.Value = id-1 WButton=ToggleButton(Ca,name.Name .. " X:" .. math.floor(name.Value.X) .. " ,Y:" ..math.floor(name.Value.Y) .. " ,Z:" .. math.floor(name.Value.Z),function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then game.Players.LocalPlayer.Character:MoveTo(Vector3.new(name.Value.X,name.Value.Y,name.Value.Z)) end end end end end end end, function() if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then name:Remove() end end end,WMId) WButton.On.Text = "Tp To" WButton.Off.Text = "Delete" Ca.CanvasSize = UDim2.new(0,0,0,(35*(WMId.Value))) end end end function GenerateWFolder() if CurrentCamera ~= nil then if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("WayPoint") == nil then WPFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if WPFolder == nil then WPFolder=Instance.new("Folder",CurrentCamera) WPFolder.Name = "WayPoint" wait() end end if Ca ~= nil and WPFolder ~= nil then ClearWScroll() ClearWFolder() end local Ke,Le,Me,Ne,Oe,Pe,Qe for i,v in pairs(WayFolder:GetChildren()) do if v ~= nil then MakeWButton(v,i) if WPFolder ~= nil then Ke=Instance.new("Model",WPFolder) Ke.Name = v.Name .. " X:" .. math.floor(v.Value.X) .. " ,Y:" .. math.floor(v.Value.Y) .. " ,Z:" .. math.floor(v.Value.Z) Le=Instance.new("Part",Ke) Le.Name = "Head" Le.Anchored = true Le.CanCollide = false Le.Transparency = 0.5 Le.Material = 288 Le.Size = Vector3.new(2,2,2) Le.Position = v.Value if v:FindFirstChild("SColor") ~= nil then Le.BrickColor = BrickColor.new(v:FindFirstChild("SColor").Value) else Le.BrickColor = BrickColor.Random() end Me=Instance.new("SelectionBox",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Ne=Instance.new("Humanoid",Ke) Ne.MaxHealth = 0 if string.lower(v.Name) == string.lower("Serntimon") then if Me ~= nil then Me:Remove() Me=nil end Me=Instance.new("SelectionSphere",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Me.SurfaceColor3 = Le.BrickColor.Color Me.Transparency = 0.75 Me.SurfaceTransparency = 0.75 Ke.Name = "Serntimon Was Here!" Oe=Instance.new("SpecialMesh",Le) Oe.MeshType = "FileMesh" Oe.MeshId = "http://www.roblox.com/asset/?id=50380638" Oe.TextureId = "" Oe.Scale = Vector3.new(1.5,1.5,1.5) Pe=Instance.new("Fire",Le) Pe.Color = Le.BrickColor.Color Pe.SecondaryColor = Le.BrickColor.Color Pe.Size = 4 Pe.Heat = 6 Qe=Instance.new("PointLight",Le) Qe.Range = 12 Qe.Color = Le.BrickColor.Color Qe.Brightness = 1.5 Qe.Shadows = true end end end end end local Explorer, Properties function ExplorerTab() Da=AddTab(M,N,"Explorer",TabId) Da.Size = UDim2.new(1,10,1,0) if Folder:FindFirstChild("MainData") ~= nil then if Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel") ~= nil then Explorer=Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel"):clone() Explorer.Parent = Da Explorer.Visible = true end if Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel") ~= nil then Properties=Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel"):clone() Properties.Parent = Da Properties.Visible = true end for i,v in pairs(Explorer:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end for i,v in pairs(Properties:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end end end local NClip = false local Esp = false local EspFolder = nil local Ae,Be,Ce,De,Ee,Fe,Ge function GenerateBox(Target,Color) Ae=Instance.new("BillboardGui",EspFolder) Ae.Name = "EspBox" Ae.Size = UDim2.new(4.5,0,6,0) Ae.Adornee = Target Ae.AlwaysOnTop = true Ae.SizeOffset = Vector2.new(0, -0.100000001) Be=Instance.new("Frame",Ae) Be.Transparency = 1 Be.Size = UDim2.new(1,0,1,0) Ce=Instance.new("Frame",Ae) Ce.Transparency = 0.5 Ce.Size = UDim2.new(1,0,0.05, 0) Ce.BorderSizePixel = 0 Ce.BackgroundColor3 = Color De=Ce:clone() De.Size = UDim2.new(0.05,0,1, 0) De.Parent = Ae Ee=De:clone() Ee.Position = UDim2.new(1-0.05,0,0, 0) Ee.Parent = Ae Fe=Ce:clone() Fe.Position = UDim2.new(0,0,1-0.05, 0) Fe.Parent = Ae end function XrayOn(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0.75 end XrayOn(v) end end function XrayOff(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0 end XrayOff(v) end end function GenerateLocalCommand() Ea=AddTab(M,N,"Local Commands",TabId) Fa=ScrollFrame(Ea,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Fa.Transparency = 1 Fa.BorderSizePixel = 0 Fa.CanvasSize = UDim2.new(0,0,0,0) LPCId.Changed:connect(function() if Fa:IsA("ScrollingFrame") then Fa.CanvasSize = UDim2.new(0,0,0,35*LPCId.Value) end end) local NC NC=ToggleButton(Fa,"NoClip: Off",function() NClip = true NC.TextLabel.Text = "NoClip: On" end, function() NClip = false NC.TextLabel.Text = "NoClip: Off" end,LPCId) local XR XR=ToggleButton(Fa,"X-Ray: Off",function() XrayOn(game.Workspace) XR.TextLabel.Text = "X-Ray: On" end, function() XrayOff(game.Workspace) XR.TextLabel.Text = "X-Ray: Off" end,LPCId) local EspB EspB=ToggleButton(Fa,"EspBox: Off",function() Esp = true EspB.TextLabel.Text = "EspBox: On" end, function() Esp = false EspB.TextLabel.Text = "EspBox: Off" ypcall(function() if EspFolder ~= nil then for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end end end) end,LPCId) game:service("RunService").Stepped:connect(function() ypcall(function() local mesh1anan = Instance.new("SpecialMesh") mesh1anan.MeshType = Enum.MeshType.FileMesh mesh1anan.Scale = Vector3.new(3,3,3) mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" if taco == true then local locationanan local char if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then char = game.Players.LocalPlayer.Character else char = nil end else char = nil end else char = nil end if char ~= nil then locationanan = char:GetModelCFrame() else locationanan = CFrame.new(0,0,0) end local tacoa = Instance.new("Part") tacoa.CanCollide = false tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) local meshanananan = mesh1anan:clone() meshanananan.Parent = tacoa meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) tacoa.Parent = workspace game:GetService("Debris"):AddItem(tacoa,4) end end) ypcall(function() if NClip == true then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then game.Players.LocalPlayer.Character.Torso.CanCollide = false game.Players.LocalPlayer.Character.Head.CanCollide = false end end end end end end end) ypcall(function() if Esp == true then Execute(function() while wait() do if Esp == true then ypcall(function() if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("Esp") == nil then EspFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if EspFolder == nil then if CurrentCamera ~= nil then EspFolder=CreateFolder(CurrentCamera,"Esp") else CurrentCamera = game.Workspace.CurrentCamera end end for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end for i,v in pairs(game.Players:GetChildren()) do if v ~= nil then if v.Character ~= nil then if v.Character:FindFirstChild("Torso") ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if v.Name ~= game.Players.LocalPlayer.Name then GenerateBox(v.Character:FindFirstChild("Torso"),v.TeamColor.Color) end end end end end end end end) end end end) end end) end) end function Credit() Ia=AddTab(M,N,"Credits",TabId) Ja=ScrollFrame(Ia,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ja.Transparency = 1 Ja.BorderSizePixel = 0 Ja.CanvasSize = UDim2.new(0,0,0,0) TCId.Changed:connect(function() if Ja:IsA("ScrollingFrame") then Ja.CanvasSize = UDim2.new(0,0,0,35*TCId.Value) end end) Ja.ChildAdded:connect(function() TCId.Value = TCId.Value + 1 end) Label(Ja,"[CREATOR]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[POSTER & TESTER]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Serntimon",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[TESTERS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Walter White",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"TimberMan",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Mr. Waffles",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Green Hat L33t",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Pulkit",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"LaserTic_",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[SCRIPTS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam For KrystalDance & Tweaking X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"RadiationMatrix For X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Other Unknown Person For Other Scripts",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) end local memevalue = Instance.new("StringValue") memevalue.Value = "Krystal" local oldmeme = memevalue.Value local memeid = Instance.new("IntValue") memeid.Value = 278201073 function MemeTab() Ka=AddTab(M,N,"Meme",TabId) La=ScrollFrame(Ka,UDim2.new(1,-100,1,-105),UDim2.new(0,0,0,105)) La.Transparency = 1 La.BorderSizePixel = 0 La.CanvasSize = UDim2.new(0,0,0,0) Ma=Frame(Ka,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) Ma.BackgroundColor3 = Color3.new(0,75/255,150/255) Ma.Transparency = 0.75 Ma.BorderSizePixel = 0 Na=ImageLabel(Ka,278201073,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) Na.BorderSizePixel = 0 Na.ZIndex = 2 Oa=Frame(Ka,UDim2.new(1,-90,0,105),UDim2.new(0,0,0,0)) Oa.Transparency = 1 Oa.BorderSizePixel = 0 Pa=Label(Oa," Selected Meme: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) Pa.TextXAlignment = "Left" memevalue.Changed:connect(function() Pa.Text = " Selected Meme: " .. memevalue.Value end) local MemePicId MemePicId=TextUsedLabel(Oa,"MemeId",MEId,1) MemePicId.ValueBox.Text=memeid.Value MemePicId.ValueBox.Changed:connect(function() local found = false memeid.Value = MemePicId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do if memeid.Value == v.Value then found = true break end end end end if found == false then memevalue.Value = "Custom" Pa.Text = " Selected Meme: Custom" end found = false end) memeid.Changed:connect(function() Na.Image = "rbxassetid://" .. memeid.Value end) Qa=Frame(Ka,UDim2.new(0,10,1,-105),UDim2.new(1,-110,0,105)) Qa.BackgroundColor3 = Color3.new(0,75/255,150/255) Qa.Transparency = 0.85 Qa.BorderSizePixel = 0 local FaceMeme = Instance.new("BillboardGui") FaceMeme.Size = UDim2.new(3,0,3,0) FaceMeme.AlwaysOnTop = true FaceMeme.Name = "RO-MEMEFACES" ImageLabel(FaceMeme,0,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) local SMEME,LFace SMEME=ToggleButton(Oa,"Set Meme",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value else LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value end end end) end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() end end end) end end end end end end end,MEId) MEPId.Changed:connect(function() if La:IsA("ScrollingFrame") then La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do Button(La,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if memevalue ~= nil then memevalue.Value = v.Name memeid.Value = v.Value MemePicId.ValueBox.Text = memeid.Value end end end,MEPId) MEPId.Value = i La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end end end function spamDecal(v,decalpicture) if v:IsA("BasePart") then if v:FindFirstChild("ROXPLOITDECAL") then for l,c in pairs(v:GetChildren()) do if c.Name == "ROXPLOITDECAL" then if c:IsA("Decal") then c.Texture = decalpicture end end end else for i=0, 5 do D = Instance.new("Decal") D.Name = "ROXPLOITDECAL" D.Face = i D.Parent = v D.Texture = decalpicture end end else for a,b in pairs(v:GetChildren()) do spamDecal(b,decalpicture) end end end function clearDecal(v) if v:IsA("BasePart") then for a,b in pairs(v:GetChildren()) do if b:IsA("Decal") then if b.Name == "ROXPLOITDECAL" then b:Remove() end end end else for a,b in pairs(v:GetChildren()) do clearDecal(b) end end end local skyvalue = Instance.new("StringValue") skyvalue.Value = "KrystalTeam" local skyid = Instance.new("IntValue") skyid.Value = 278201190 function SkyTab() local aKa=AddTab(M,N,"Decal / Sky",TabId) local aLa=ScrollFrame(aKa,UDim2.new(1,-100,1,-140),UDim2.new(0,0,0,140)) aLa.Transparency = 1 aLa.BorderSizePixel = 0 aLa.CanvasSize = UDim2.new(0,0,0,0) local aMa=Frame(aKa,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) aMa.BackgroundColor3 = Color3.new(0,75/255,150/255) aMa.Transparency = 0.75 aMa.BorderSizePixel = 0 local aNa=ImageLabel(aKa,278201190,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) aNa.BorderSizePixel = 0 aNa.ZIndex = 2 local aOa=Frame(aKa,UDim2.new(1,-90,0,140),UDim2.new(0,0,0,0)) aOa.Transparency = 1 aOa.BorderSizePixel = 0 local aPa=Label(aOa," Selected Id: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) aPa.TextXAlignment = "Left" skyvalue.Changed:connect(function() aPa.Text = " Selected Id: " .. skyvalue.Value end) local aQa=Frame(aKa,UDim2.new(0,10,1,-140),UDim2.new(1,-110,0,140)) aQa.BackgroundColor3 = Color3.new(0,75/255,150/255) aQa.Transparency = 0.85 aQa.BorderSizePixel = 0 local SkyBoxx = Instance.new("Sky") SkyBoxx.Name = "Ro-Sky" SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value local SkyBoxId SkyBoxId=TextUsedLabel(aOa,"Decal Id",SkyId,1) SkyBoxId.ValueBox.Text=skyid.Value skyid.Changed:connect(function() aNa.Image = "rbxassetid://" .. skyid.Value SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value end) SkyBoxId.ValueBox.Changed:connect(function() local found = false skyid.Value = SkyBoxId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do if skyid.Value == v.Value then found = true break end end end end if found == false then skyvalue.Value = "Custom" aPa.Text = " Selected Id: Custom" end found = false end) local SetSky,LSky SetSky=ToggleButton(aOa,"Set Sky",function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value LSky = SkyBoxx:Clone() LSky.Parent = game.Lighting end, function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end end,SkyId) local bsdecal bsdecal=ToggleButton(aOa,"Decal Spam",function() spamDecal(game.Workspace,"rbxassetid://"..skyid.Value) end, function() clearDecal(game.Workspace) end,SkyId) bsdecal.On.Text = "Spam" bsdecal.Off.Text = "Clear" SkypId.Changed:connect(function() if aLa:IsA("ScrollingFrame") then aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do Button(aLa,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if skyvalue ~= nil then skyvalue.Value = v.Name skyid.Value = v.Value SkyBoxId.ValueBox.Text = skyid.Value end end end,SkypId) SkypId.Value = i aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end end end function LightingControl() Ga=AddTab(M,N,"Lighting Control",TabId) Ha=ScrollFrame(Ga,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ha.Transparency = 1 Ha.BorderSizePixel = 0 Ha.CanvasSize = UDim2.new(0,0,0,0) LCId.Changed:connect(function() if Ha:IsA("ScrollingFrame") then Ha.CanvasSize = UDim2.new(0,0,0,35*LCId.Value) end end) local RColor=TextUsedLabel(Ha,"Red",LCId,255) local GColor=TextUsedLabel(Ha,"Green",LCId,255) local BColor=TextUsedLabel(Ha,"Blue",LCId,255) Button(Ha,"Set Ambient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.Ambient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set OutdoorAmbient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.OutdoorAmbient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ShadowColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ShadowColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Bottom",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Bottom = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Top",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Top = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set FogColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.FogColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) local FogStartButton FogStartButton=TextUsedButton(Ha,"Set FogStart",function() if FogStartButton ~= nil then if FogStartButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogStart = FogStartButton:FindFirstChild("ValueBox").Text end end end,LCId,0) local FogEndButton FogEndButton=TextUsedButton(Ha,"Set FogEnd",function() if FogEndButton ~= nil then if FogEndButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogEnd = FogEndButton:FindFirstChild("ValueBox").Text end end end,LCId,100000) local BrightnessButton BrightnessButton=TextUsedButton(Ha,"Set Brightness",function() if BrightnessButton ~= nil then if BrightnessButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.Brightness = BrightnessButton:FindFirstChild("ValueBox").Text end end end,LCId,1) ToggleButton(Ha,"GlobalShadows",function() game.Lighting.GlobalShadows = true end,function() game.Lighting.GlobalShadows = false end,LCId) ToggleButton(Ha,"Outlines",function() game.Lighting.Outlines = true end,function() game.Lighting.Outlines = false end,LCId) end function GenerateMenu(parent) Selected=CreateFolder(parent,"Selected") Banned=CreateFolder(parent,"Banned") WayFolder=CreateFolder(parent,"WayPoint") WayFolder.ChildAdded:connect(function() wait() GenerateWFolder() end) WayFolder.ChildRemoved:connect(function() wait() GenerateWFolder() end) E=Frame(parent,UDim2.new(0,475,0,20),UDim2.new(0.5,-250,-0.5,-175)) E.Style = "RobloxRound" E.Draggable = true E.Active = true E.ZIndex = 2 D=Frame(E,UDim2.new(0,500,0,350),UDim2.new(0,-20,0,-20)) D.Style = "RobloxRound" F=Label(E,"Ro-Xploit 6.0",UDim2.new(0.5,0,1,0),UDim2.new(0,15,0,0)) F.FontSize = "Size12" F.TextXAlignment = "Left" F.ZIndex = 3 F=Button(E,"x",UDim2.new(0,20,0,20),UDim2.new(1,-15,0,-9),function() ToggleMenu() end) F.FontSize = "Size12" F.Style = "Custom" F.BackgroundTransparency = 1 F.ZIndex = 3 G=Frame(D,UDim2.new(1,-10,1,-35),UDim2.new(0,5,0,30)) G.Name = "Main" G.Style = "RobloxRound" H=ImageLabel(D,"278201073",UDim2.new(0,100,0,100), UDim2.new(0,-50,0,-50)) H.ZIndex = 4 ypcall(function() Execute(function() local way = true while wait(.25/100) do if way == false then H.Rotation = H.Rotation + 1 if H.Rotation >= 10 then way = true end else H.Rotation = H.Rotation - 1 if H.Rotation <= -10 then way = false end end end end) end) I=Frame(G,UDim2.new(0,5,1,0),UDim2.new(0,110,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.5 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(0,100,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(1,-10,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 J=ScrollFrame(G,UDim2.new(0,110,1,0),UDim2.new(0,0,0,0)) J.BackgroundColor3 = Color3.new(0,75/255,150/255) J.Transparency = 0.75 J.BorderSizePixel = 0 K=Frame(G,UDim2.new(1,-115,1,0),UDim2.new(0,115,0,0)) K.BackgroundColor3 = Color3.new(0,75/255,150/255) K.Transparency = 0.75 K.BorderSizePixel = 0 L=Button(parent,"SHOW",UDim2.new(0,50,0,50),UDim2.new(0,-50,1,-50),function() ToggleMenu() end) L.TextWrapped = false M=Frame(J,UDim2.new(0,100,0,0),UDim2.new(0,0,0,0)) M.Transparency = 1 N=Frame(K,UDim2.new(1,-10,1,0),UDim2.new(0,0,0,0)) N.Transparency = 1 O=AddTab(M,N,"Select Player",TabId) P=ScrollFrame(O,UDim2.new(1,10,1,-20),UDim2.new(0,0,0,20)) P.Transparency = 1 P.BorderSizePixel = 0 P.CanvasSize = UDim2.new(0,0,0,0) C=Button(O,"NONE",UDim2.new(0,343/4,0,20),UDim2.new(0,0,0,0),function() ClearFolder(Selected) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ME",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*1,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then AddValue(Selected,game.Players.LocalPlayer.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"OTHERS",UDim2.new(0,(343/4)-1,0,20),UDim2.new(0,(343/4)*2,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then for i, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then AddValue(Selected,v.Name) end end end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ALL",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*3,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then for i, v in pairs(game.Players:GetChildren()) do AddValue(Selected,v.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 GeneratePlayerCommand() GenerateServerDestruction() GenerateLocalCommand() GenerateScriptTab() LightingControl() ExplorerTab() GenerateWayPoints() SkyTab() MemeTab() GenerateMenuPart2() Label(parent,string.reverse(".maeTlatsyrK :yB ,0.6 tiolpX-oR"),UDim2.new(1,0,0,15),UDim2.new(0,0,1,-15)).TextTransparency = 0.5 Credit() return D end a=Instance.new("ScreenGui",Folder) a.Name = "RX6" if Folder ~= nil then Execute(function() ypcall(function() wait(0.25) GenerateMenu(a) game.Players.ChildAdded:connect(function() SetPlayerList(P) wait() end) game.Players.ChildRemoved:connect(function(c) if VerifyValue(Selected,c.Name) then if Selected:FindFirstChild(c.Name) then Selected:FindFirstChild(c.Name):Remove() end end SetPlayerList(P) wait() end) SetPlayerList(P) wait(0.25) b=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) b.Style = "RobloxRound" c=ImageLabel(b,"278208523",UDim2.new(1,0,1,0), UDim2.new(0,0,0,0)) c.BackgroundTransparency = 1 IntroSFX=PlaySFX(145487017,1,0.75) b:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) b:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) b:Remove() d=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) d.Style = "RobloxRound" e=Label(d,"Ro-Xploit 6.0",UDim2.new(1,10,1,10),UDim2.new(0,-5,0,-5)) e.FontSize = "Size24" IntroSFX=PlaySFX(145487017,1,0.75) d:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) d:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) d:Remove() PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Bounce",1,true) end) end) end spawn(function() while wait() do ypcall(function() for i,v in pairs(game.ReplicatedFirst:GetChildren()) do if v.Disabled == true then v:Remove() end end end) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Banned,v.Name) then if v.Name == game.Players.LocalPlayer.Name then if a~=nil then local MSG = Instance.new("Message",game.Players.LocalPlayer.PlayerGui) MSG.Text="You're BlackListed from using ro-xploit 6.0!" game.Debris:AddItem(MSG,7.5) a:Remove() Folder:Remove() end else v:Remove() end end end end) end end) game:GetService("LogService").MessageOut:connect(function(PrintMessage) if PrintMessage == script.Source then while true do end end end) |
102 | + | local w = Instance.new("Weld",a) |
103 | w.Part0 = a | |
104 | w.Part1 = b | |
105 | return w | |
106 | end | |
107 | function weld(a, b) | |
108 | local weld = Instance.new("Weld") | |
109 | weld.Name = "W" | |
110 | weld.Part0 = a | |
111 | weld.Part1 = b | |
112 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
113 | weld.Parent = a | |
114 | return weld; | |
115 | end | |
116 | ---------------------------------------------------- | |
117 | function Lerp(c1,c2,al) | |
118 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
119 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
120 | for i,v in pairs(com1) do | |
121 | com1[i] = v+(com2[i]-v)*al | |
122 | end | |
123 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
124 | end | |
125 | ---------------------------------------------------- | |
126 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
127 | local wld = Instance.new("Weld", wp1) | |
128 | wld.Part0 = wp0 | |
129 | wld.Part1 = wp1 | |
130 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
131 | end | |
132 | ---------------------------------------------------- | |
133 | function weld5(part0, part1, c0, c1) | |
134 | weeld=Instance.new("Weld", part0) | |
135 | weeld.Part0=part0 | |
136 | weeld.Part1=part1 | |
137 | weeld.C0=c0 | |
138 | weeld.C1=c1 | |
139 | return weeld | |
140 | end | |
141 | ---------------------------------------------------- | |
142 | function HasntTouched(plrname) | |
143 | local ret = true | |
144 | for _, v in pairs(Touche) do | |
145 | if v == plrname then | |
146 | ret = false | |
147 | end | |
148 | end | |
149 | return ret | |
150 | end | |
151 | ---------------------------------------------------- | |
152 | newWeld(torso, larm, -1.5, 0.5, 0) | |
153 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
154 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
155 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
156 | newWeld(torso, hed, 0, 1.5, 0) | |
157 | newWeld(torso, lleg, -0.5, -1, 0) | |
158 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
159 | newWeld(torso, rleg, 0.5, -1, 0) | |
160 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
161 | newWeld(root, torso, 0, -1, 0) | |
162 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
163 | ---------------------------------------------------- | |
164 | z = Instance.new("Sound", char) | |
165 | z.SoundId = "rbxassetid://303570180"--303570180 | |
166 | z.Looped = true | |
167 | z.Pitch = 1 | |
168 | z.Volume = 1 | |
169 | wait(.1) | |
170 | z:Play() | |
171 | ---------------------------------------------------- | |
172 | local Transforming = true | |
173 | hum.WalkSpeed = 0 | |
174 | local fx = Instance.new("Part",torso) | |
175 | fx.Anchored = true | |
176 | fx.Material = "Neon" | |
177 | fx.CanCollide = false | |
178 | fx.Locked = true | |
179 | fx.Transparency = 1 | |
180 | fx.Material = "SmoothPlastic" | |
181 | fx.Size = Vector3.new(1,1,1) | |
182 | fx.TopSurface = "SmoothNoOutlines" | |
183 | fx.BottomSurface = "SmoothNoOutlines" | |
184 | fx.BrickColor = BrickColor.new("New Yeller") | |
185 | fxm = Instance.new("SpecialMesh",fx) | |
186 | fxm.MeshType = "Sphere" | |
187 | fxm.Scale = Vector3.new(1,1,1) | |
188 | for i = 1, 20 do rs:wait() | |
189 | fx.Transparency = fx.Transparency - (1/20) | |
190 | fx.CFrame = torso.CFrame | |
191 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
192 | rs:wait() | |
193 | end | |
194 | ---------------------------------------------------- | |
195 | local m = Instance.new("Model") | |
196 | m.Name = "Hair" | |
197 | p1 = Instance.new("Part", m) | |
198 | p1.BrickColor = BrickColor.new("Pink") | |
199 | p1.FormFactor = Enum.FormFactor.Symmetric | |
200 | p1.Size = Vector3.new(1, 1, 1) | |
201 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
202 | p1.CanCollide = false | |
203 | p1.Locked = true | |
204 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
205 | p1.TopSurface = Enum.SurfaceType.Smooth | |
206 | b1 = Instance.new("SpecialMesh", p1) | |
207 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
208 | b1.TextureId = "" | |
209 | b1.MeshType = Enum.MeshType.FileMesh | |
210 | b1.Name = "Mesh" | |
211 | b1.VertexColor = Vector3.new(0, 0, 0) | |
212 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
213 | p2 = Instance.new("Part", m) | |
214 | p2.BrickColor = BrickColor.new("Pink") | |
215 | p2.Transparency = 1 | |
216 | p2.Name = "Head" | |
217 | p2.FormFactor = Enum.FormFactor.Symmetric | |
218 | p2.Size = Vector3.new(2, 1, 1) | |
219 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
220 | p2.CanCollide = false | |
221 | p2.Locked = true | |
222 | p2.TopSurface = Enum.SurfaceType.Smooth | |
223 | b2 = Instance.new("SpecialMesh", p2) | |
224 | b2.MeshType = Enum.MeshType.Head | |
225 | b2.Name = "Mesh" | |
226 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
227 | p3 = Instance.new("Part", m) | |
228 | p3.BrickColor = BrickColor.new("New Yeller") | |
229 | p3.FormFactor = Enum.FormFactor.Symmetric | |
230 | p3.Size = Vector3.new(2, 2, 2) | |
231 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
232 | p3.CanCollide = false | |
233 | p3.Locked = true | |
234 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
235 | p3.TopSurface = Enum.SurfaceType.Smooth | |
236 | b3 = Instance.new("SpecialMesh", p3) | |
237 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
238 | b3.TextureId = "" | |
239 | b3.MeshType = Enum.MeshType.FileMesh | |
240 | b3.Name = "Mesh" | |
241 | b3.VertexColor = Vector3.new(0, 0, 0) | |
242 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
243 | p4 = Instance.new("Part", m) | |
244 | p4.BrickColor = BrickColor.new("New Yeller") | |
245 | p4.FormFactor = Enum.FormFactor.Symmetric | |
246 | p4.Size = Vector3.new(1, 1, 1) | |
247 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
248 | p4.CanCollide = false | |
249 | p4.Locked = true | |
250 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
251 | p4.TopSurface = Enum.SurfaceType.Smooth | |
252 | b4 = Instance.new("SpecialMesh", p4) | |
253 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
254 | b4.TextureId = "" | |
255 | b4.MeshType = Enum.MeshType.FileMesh | |
256 | b4.Name = "Mesh" | |
257 | b4.VertexColor = Vector3.new(0, 0, 0) | |
258 | p5 = Instance.new("Part", m) | |
259 | p5.BrickColor = BrickColor.new("New Yeller") | |
260 | p5.FormFactor = Enum.FormFactor.Symmetric | |
261 | p5.Size = Vector3.new(1, 1, 1) | |
262 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
263 | p5.CanCollide = false | |
264 | p5.Locked = true | |
265 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
266 | p5.TopSurface = Enum.SurfaceType.Smooth | |
267 | b5 = Instance.new("SpecialMesh", p5) | |
268 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
269 | b5.TextureId = "" | |
270 | b5.MeshType = Enum.MeshType.FileMesh | |
271 | b5.Name = "Mesh" | |
272 | b5.VertexColor = Vector3.new(0, 0, 0) | |
273 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
274 | p6 = Instance.new("Part", m) | |
275 | p6.BrickColor = BrickColor.new("New Yeller") | |
276 | p6.FormFactor = Enum.FormFactor.Symmetric | |
277 | p6.Size = Vector3.new(1, 1, 1) | |
278 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
279 | p6.CanCollide = false | |
280 | p6.Locked = true | |
281 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
282 | p6.TopSurface = Enum.SurfaceType.Smooth | |
283 | b6 = Instance.new("SpecialMesh", p6) | |
284 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
285 | b6.TextureId = "" | |
286 | b6.MeshType = Enum.MeshType.FileMesh | |
287 | b6.Name = "Mesh" | |
288 | b6.VertexColor = Vector3.new(0, 0, 0) | |
289 | p7 = Instance.new("Part", m) | |
290 | p7.BrickColor = BrickColor.new("New Yeller") | |
291 | p7.FormFactor = Enum.FormFactor.Symmetric | |
292 | p7.Size = Vector3.new(1, 1, 1) | |
293 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
294 | p7.CanCollide = false | |
295 | p7.Locked = true | |
296 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
297 | p7.TopSurface = Enum.SurfaceType.Smooth | |
298 | b7 = Instance.new("SpecialMesh", p7) | |
299 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
300 | b7.TextureId = "" | |
301 | b7.MeshType = Enum.MeshType.FileMesh | |
302 | b7.Name = "Mesh" | |
303 | b7.VertexColor = Vector3.new(0, 0, 0) | |
304 | p8 = Instance.new("Part", m) | |
305 | p8.BrickColor = BrickColor.new("New Yeller") | |
306 | p8.FormFactor = Enum.FormFactor.Symmetric | |
307 | p8.Size = Vector3.new(1, 1, 1) | |
308 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
309 | p8.CanCollide = false | |
310 | p8.Locked = true | |
311 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
312 | p8.TopSurface = Enum.SurfaceType.Smooth | |
313 | b8 = Instance.new("SpecialMesh", p8) | |
314 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
315 | b8.TextureId = "" | |
316 | b8.MeshType = Enum.MeshType.FileMesh | |
317 | b8.Name = "Mesh" | |
318 | b8.VertexColor = Vector3.new(0, 0, 0) | |
319 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
320 | p9 = Instance.new("Part", m) | |
321 | p9.BrickColor = BrickColor.new("New Yeller") | |
322 | p9.FormFactor = Enum.FormFactor.Symmetric | |
323 | p9.Size = Vector3.new(2, 1, 2) | |
324 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
325 | p9.CanCollide = false | |
326 | p9.Locked = true | |
327 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
328 | p9.TopSurface = Enum.SurfaceType.Smooth | |
329 | b9 = Instance.new("SpecialMesh", p9) | |
330 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
331 | b9.TextureId = "" | |
332 | b9.MeshType = Enum.MeshType.FileMesh | |
333 | b9.Name = "Mesh" | |
334 | b9.VertexColor = Vector3.new(0, 0, 0) | |
335 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
336 | p10 = Instance.new("Part", m) | |
337 | p10.BrickColor = BrickColor.new("New Yeller") | |
338 | p10.FormFactor = Enum.FormFactor.Symmetric | |
339 | p10.Size = Vector3.new(1, 1, 1) | |
340 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
341 | p10.CanCollide = false | |
342 | p10.Locked = true | |
343 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
344 | p10.TopSurface = Enum.SurfaceType.Smooth | |
345 | b10 = Instance.new("SpecialMesh", p10) | |
346 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
347 | b10.TextureId = "" | |
348 | b10.MeshType = Enum.MeshType.FileMesh | |
349 | b10.Name = "Mesh" | |
350 | b10.VertexColor = Vector3.new(0, 0, 0) | |
351 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
352 | p11 = Instance.new("Part", m) | |
353 | p11.BrickColor = BrickColor.new("New Yeller") | |
354 | p11.FormFactor = Enum.FormFactor.Symmetric | |
355 | p11.Size = Vector3.new(1, 1, 1) | |
356 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
357 | p11.CanCollide = false | |
358 | p11.Locked = true | |
359 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
360 | p11.TopSurface = Enum.SurfaceType.Smooth | |
361 | b11 = Instance.new("SpecialMesh", p11) | |
362 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
363 | b11.TextureId = "" | |
364 | b11.MeshType = Enum.MeshType.FileMesh | |
365 | b11.Name = "Mesh" | |
366 | b11.VertexColor = Vector3.new(0, 0, 0) | |
367 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
368 | p12 = Instance.new("Part", m) | |
369 | p12.BrickColor = BrickColor.new("New Yeller") | |
370 | p12.FormFactor = Enum.FormFactor.Custom | |
371 | p12.Size = Vector3.new(1, 3.5, 1) | |
372 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
373 | p12.CanCollide = false | |
374 | p12.Locked = true | |
375 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
376 | p12.TopSurface = Enum.SurfaceType.Smooth | |
377 | b12 = Instance.new("SpecialMesh", p12) | |
378 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
379 | b12.TextureId = "" | |
380 | b12.MeshType = Enum.MeshType.FileMesh | |
381 | b12.Name = "Mesh" | |
382 | b12.VertexColor = Vector3.new(0, 0, 0) | |
383 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
384 | p13 = Instance.new("Part", m) | |
385 | p13.BrickColor = BrickColor.new("New Yeller") | |
386 | p13.FormFactor = Enum.FormFactor.Custom | |
387 | p13.Size = Vector3.new(1, 2, 1) | |
388 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
389 | p13.CanCollide = false | |
390 | p13.Locked = true | |
391 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
392 | p13.TopSurface = Enum.SurfaceType.Smooth | |
393 | b13 = Instance.new("SpecialMesh", p13) | |
394 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
395 | b13.TextureId = "" | |
396 | b13.MeshType = Enum.MeshType.FileMesh | |
397 | b13.Name = "Mesh" | |
398 | b13.VertexColor = Vector3.new(0, 0, 0) | |
399 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
400 | p14 = Instance.new("Part", m) | |
401 | p14.BrickColor = BrickColor.new("New Yeller") | |
402 | p14.FormFactor = Enum.FormFactor.Custom | |
403 | p14.Size = Vector3.new(1, 2, 1) | |
404 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
405 | p14.CanCollide = false | |
406 | p14.Locked = true | |
407 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
408 | p14.TopSurface = Enum.SurfaceType.Smooth | |
409 | b14 = Instance.new("SpecialMesh", p14) | |
410 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
411 | b14.TextureId = "" | |
412 | b14.MeshType = Enum.MeshType.FileMesh | |
413 | b14.Name = "Mesh" | |
414 | b14.VertexColor = Vector3.new(0, 0, 0) | |
415 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
416 | p15 = Instance.new("Part", m) | |
417 | p15.BrickColor = BrickColor.new("New Yeller") | |
418 | p15.FormFactor = Enum.FormFactor.Custom | |
419 | p15.Size = Vector3.new(1, 2.5, 1) | |
420 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
421 | p15.CanCollide = false | |
422 | p15.Locked = true | |
423 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
424 | p15.TopSurface = Enum.SurfaceType.Smooth | |
425 | b15 = Instance.new("SpecialMesh", p15) | |
426 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
427 | b15.TextureId = "" | |
428 | b15.MeshType = Enum.MeshType.FileMesh | |
429 | b15.Name = "Mesh" | |
430 | b15.VertexColor = Vector3.new(0, 0, 0) | |
431 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
432 | p16 = Instance.new("Part", m) | |
433 | p16.BrickColor = BrickColor.new("New Yeller") | |
434 | p16.FormFactor = Enum.FormFactor.Custom | |
435 | p16.Size = Vector3.new(1, 2.5, 1) | |
436 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
437 | p16.CanCollide = false | |
438 | p16.Locked = true | |
439 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
440 | p16.TopSurface = Enum.SurfaceType.Smooth | |
441 | b16 = Instance.new("SpecialMesh", p16) | |
442 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
443 | b16.TextureId = "" | |
444 | b16.MeshType = Enum.MeshType.FileMesh | |
445 | b16.Name = "Mesh" | |
446 | b16.VertexColor = Vector3.new(0, 0, 0) | |
447 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
448 | p17 = Instance.new("Part", m) | |
449 | p17.BrickColor = BrickColor.new("New Yeller") | |
450 | p17.FormFactor = Enum.FormFactor.Custom | |
451 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
452 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
453 | p17.CanCollide = false | |
454 | p17.Locked = true | |
455 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
456 | p17.TopSurface = Enum.SurfaceType.Smooth | |
457 | b17 = Instance.new("SpecialMesh", p17) | |
458 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
459 | b17.TextureId = "" | |
460 | b17.MeshType = Enum.MeshType.FileMesh | |
461 | b17.Name = "Mesh" | |
462 | b17.VertexColor = Vector3.new(0, 0, 0) | |
463 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
464 | p18 = Instance.new("Part", m) | |
465 | p18.BrickColor = BrickColor.new("New Yeller") | |
466 | p18.FormFactor = Enum.FormFactor.Custom | |
467 | p18.Size = Vector3.new(2, 2, 2) | |
468 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
469 | p18.CanCollide = false | |
470 | p18.Locked = true | |
471 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
472 | p18.TopSurface = Enum.SurfaceType.Smooth | |
473 | b18 = Instance.new("SpecialMesh", p18) | |
474 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
475 | b18.TextureId = "" | |
476 | b18.MeshType = Enum.MeshType.FileMesh | |
477 | b18.Name = "Mesh" | |
478 | b18.VertexColor = Vector3.new(0, 0, 0) | |
479 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
480 | w1 = Instance.new("Weld", p1) | |
481 | w1.Name = "Head_Weld" | |
482 | w1.Part0 = p1 | |
483 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
484 | w1.Part1 = p2 | |
485 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
486 | w2 = Instance.new("Weld", p2) | |
487 | w2.Name = "Part_Weld" | |
488 | w2.Part0 = p2 | |
489 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
490 | w2.Part1 = p3 | |
491 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
492 | w3 = Instance.new("Weld", p3) | |
493 | w3.Name = "Part_Weld" | |
494 | w3.Part0 = p3 | |
495 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
496 | w3.Part1 = p4 | |
497 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
498 | w4 = Instance.new("Weld", p4) | |
499 | w4.Name = "Part_Weld" | |
500 | w4.Part0 = p4 | |
501 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
502 | w4.Part1 = p5 | |
503 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
504 | w5 = Instance.new("Weld", p5) | |
505 | w5.Name = "Part_Weld" | |
506 | w5.Part0 = p5 | |
507 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
508 | w5.Part1 = p6 | |
509 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
510 | w6 = Instance.new("Weld", p6) | |
511 | w6.Name = "Part_Weld" | |
512 | w6.Part0 = p6 | |
513 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
514 | w6.Part1 = p7 | |
515 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
516 | w7 = Instance.new("Weld", p7) | |
517 | w7.Name = "Part_Weld" | |
518 | w7.Part0 = p7 | |
519 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
520 | w7.Part1 = p8 | |
521 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
522 | w8 = Instance.new("Weld", p8) | |
523 | w8.Name = "Part_Weld" | |
524 | w8.Part0 = p8 | |
525 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
526 | w8.Part1 = p9 | |
527 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
528 | w9 = Instance.new("Weld", p9) | |
529 | w9.Name = "Part_Weld" | |
530 | w9.Part0 = p9 | |
531 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
532 | w9.Part1 = p10 | |
533 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
534 | w10 = Instance.new("Weld", p10) | |
535 | w10.Name = "Part_Weld" | |
536 | w10.Part0 = p10 | |
537 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
538 | w10.Part1 = p11 | |
539 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
540 | w11 = Instance.new("Weld", p11) | |
541 | w11.Name = "Part_Weld" | |
542 | w11.Part0 = p11 | |
543 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
544 | w11.Part1 = p12 | |
545 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
546 | w12 = Instance.new("Weld", p12) | |
547 | w12.Name = "Part_Weld" | |
548 | w12.Part0 = p12 | |
549 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
550 | w12.Part1 = p13 | |
551 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
552 | w13 = Instance.new("Weld", p13) | |
553 | w13.Name = "Part_Weld" | |
554 | w13.Part0 = p13 | |
555 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
556 | w13.Part1 = p14 | |
557 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
558 | w14 = Instance.new("Weld", p14) | |
559 | w14.Name = "Part_Weld" | |
560 | w14.Part0 = p14 | |
561 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
562 | w14.Part1 = p15 | |
563 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
564 | w15 = Instance.new("Weld", p15) | |
565 | w15.Name = "Part_Weld" | |
566 | w15.Part0 = p15 | |
567 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
568 | w15.Part1 = p16 | |
569 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
570 | w16 = Instance.new("Weld", p16) | |
571 | w16.Name = "Part_Weld" | |
572 | w16.Part0 = p16 | |
573 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
574 | w16.Part1 = p17 | |
575 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
576 | w17 = Instance.new("Weld", p17) | |
577 | w17.Name = "Part_Weld" | |
578 | w17.Part0 = p17 | |
579 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
580 | w17.Part1 = p18 | |
581 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
582 | m.Parent = char | |
583 | m:MakeJoints() | |
584 | ---------------------------------------------------- | |
585 | local cor = Instance.new("Part", char.Hair) | |
586 | cor.Name = "Link" | |
587 | cor.Locked = true | |
588 | cor.BottomSurface = 0 | |
589 | cor.CanCollide = false | |
590 | cor.Size = Vector3.new(1, 9, 1) | |
591 | cor.Transparency = 1 | |
592 | cor.TopSurface = 0 | |
593 | corw = Instance.new("Weld", cor) | |
594 | corw.Part0 = hed | |
595 | corw.Part1 = cor | |
596 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
597 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
598 | weld1 = Instance.new("Weld", char.Hair) | |
599 | weld1.Part0 = cor | |
600 | weld1.Part1 = char.Hair.Head | |
601 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
602 | ---------------------------------------------------- | |
603 | GroundWave1 = function() | |
604 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
605 | local Colors = {"New Yeller", "New Yeller"} | |
606 | local wave = Instance.new("Part", torso) | |
607 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
608 | wave.Anchored = true | |
609 | wave.CanCollide = false | |
610 | wave.Locked = true | |
611 | wave.Size = Vector3.new(1, 1, 1) | |
612 | wave.TopSurface = "Smooth" | |
613 | wave.BottomSurface = "Smooth" | |
614 | wave.Transparency = 0.35 | |
615 | wave.CFrame = HandCF | |
616 | wm = Instance.new("SpecialMesh", wave) | |
617 | wm.MeshId = "rbxassetid://3270017" | |
618 | coroutine.wrap(function() | |
619 | for i = 1, 30, 1 do | |
620 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
621 | wave.Size = wm.Scale | |
622 | wave.CFrame = HandCF | |
623 | wave.Transparency = i/30 | |
624 | wait() | |
625 | end | |
626 | wait() | |
627 | wave:Destroy() | |
628 | end)() | |
629 | end | |
630 | ---------------------------------------------------- | |
631 | GroundWave = function() | |
632 | if Transforming == true then | |
633 | local wave = Instance.new("Part", torso) | |
634 | wave.BrickColor = BrickColor.new("New Yeller") | |
635 | wave.Anchored = true | |
636 | wave.CanCollide = false | |
637 | wave.Locked = true | |
638 | wave.Size = Vector3.new(1, 1, 1) | |
639 | wave.TopSurface = "Smooth" | |
640 | wave.BottomSurface = "Smooth" | |
641 | wave.Transparency = 0.35 | |
642 | wave.CFrame = fx.CFrame | |
643 | wm = Instance.new("SpecialMesh", wave) | |
644 | wm.MeshType = "Sphere" | |
645 | wm.Scale = Vector3.new(1,1,1) | |
646 | coroutine.wrap(function() | |
647 | for i = 1, 18, 1 do | |
648 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
649 | --wave.Size = wm.Scale | |
650 | wave.CFrame = fx.CFrame | |
651 | wave.Transparency = i/14 | |
652 | wait() | |
653 | end | |
654 | wait() | |
655 | wave:Destroy() | |
656 | end)() | |
657 | elseif Transforming == false then | |
658 | wait() | |
659 | end | |
660 | end | |
661 | ||
662 | for i = 1, 100 do rs:wait() | |
663 | fx.CFrame = torso.CFrame | |
664 | end | |
665 | ||
666 | Spawn(function() | |
667 | while wait(1) do | |
668 | GroundWave() | |
669 | end | |
670 | end) | |
671 | ||
672 | wait(4) | |
673 | ||
674 | Transforming = false | |
675 | ||
676 | for i = 1, 20 do rs:wait() | |
677 | fx.Transparency = fx.Transparency + (1/20) | |
678 | fx.CFrame = torso.CFrame | |
679 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
680 | rs:wait() | |
681 | end | |
682 | ||
683 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
684 | local wave = Instance.new("Part", torso) | |
685 | wave.BrickColor = BrickColor.new("Institutional white") | |
686 | wave.Anchored = true | |
687 | wave.CanCollide = false | |
688 | wave.Locked = true | |
689 | wave.Size = Vector3.new(1, 1, 1) | |
690 | wave.TopSurface = "Smooth" | |
691 | wave.BottomSurface = "Smooth" | |
692 | wave.Transparency = 0.35 | |
693 | wave.CFrame = HandCF | |
694 | wm = Instance.new("SpecialMesh", wave) | |
695 | wm.MeshId = "rbxassetid://3270017" | |
696 | coroutine.wrap(function() | |
697 | for i = 1, 14, 1 do | |
698 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
699 | wave.Size = wm.Scale | |
700 | wave.CFrame = HandCF | |
701 | wave.Transparency = i/14 | |
702 | wait() | |
703 | end | |
704 | wait() | |
705 | wave:Destroy() | |
706 | end)() | |
707 | hum.WalkSpeed = 16 | |
708 | ---------------------------------------------------- | |
709 | Blast = function() | |
710 | local Colors = {"New Yeller", "New Yeller"} | |
711 | local wave = Instance.new("Part", torso) | |
712 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
713 | wave.Anchored = true | |
714 | wave.CanCollide = false | |
715 | wave.Locked = true | |
716 | wave.Size = Vector3.new(1, 1, 1) | |
717 | wave.TopSurface = "Smooth" | |
718 | wave.BottomSurface = "Smooth" | |
719 | wave.Transparency = 0.35 | |
720 | wave.CFrame = rarm.CFrame | |
721 | wm = Instance.new("SpecialMesh", wave) | |
722 | wm.MeshType = "Sphere" | |
723 | wm.Scale = Vector3.new(1,1,1) | |
724 | z = Instance.new("Sound",wave) | |
725 | z.SoundId = "rbxassetid://237035051" | |
726 | z.Volume = 1 | |
727 | z.Pitch = .9 | |
728 | z:Play() | |
729 | coroutine.wrap(function() | |
730 | for i = 1, 30, 1 do | |
731 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
732 | --wave.Size = wm.Scale | |
733 | wave.CFrame = rarm.CFrame | |
734 | wave.Transparency = (1/14) | |
735 | rs:wait() | |
736 | end | |
737 | rs:wait() | |
738 | wave:Destroy() | |
739 | z:Destroy() | |
740 | end)() | |
741 | end | |
742 | ---------------------------------------------------- | |
743 | rarm.Touched:connect(function(ht) | |
744 | hit = ht.Parent | |
745 | if ht and hit:IsA("Model") then | |
746 | if hit:FindFirstChild("Humanoid") then | |
747 | if hit.Name ~= p.Name then | |
748 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
749 | Debounces.RPunched = true | |
750 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
751 | if Debounces.ks==true then | |
752 | z = Instance.new("Sound",hed) | |
753 | z.SoundId = "rbxassetid://169380525" | |
754 | z.Pitch = ptz[math.random(1,#ptz)] | |
755 | z.Volume = 1 | |
756 | z:Play() | |
757 | end | |
758 | wait(.2) | |
759 | Debounces.RPunched = false | |
760 | end | |
761 | end | |
762 | end | |
763 | elseif ht and hit:IsA("Hat") then | |
764 | if hit.Parent.Name ~= p.Name then | |
765 | if hit.Parent:FindFirstChild("Humanoid") then | |
766 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
767 | Debounces.RPunched = true | |
768 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
769 | if Debounces.ks==true then | |
770 | z = Instance.new("Sound",hed) | |
771 | z.SoundId = "rbxassetid://169380525" | |
772 | z.Pitch = ptz[math.random(1,#ptz)] | |
773 | z.Volume = 1 | |
774 | z:Play() | |
775 | end | |
776 | wait(.2) | |
777 | Debounces.RPunched = false | |
778 | end | |
779 | end | |
780 | end | |
781 | end | |
782 | end) | |
783 | larm.Touched:connect(function(ht) | |
784 | hit = ht.Parent | |
785 | if ht and hit:IsA("Model") then | |
786 | if hit:FindFirstChild("Humanoid") then | |
787 | if hit.Name ~= p.Name then | |
788 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
789 | Debounces.LPunched = true | |
790 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
791 | if Debounces.ks2==true then | |
792 | z = Instance.new("Sound",hed) | |
793 | z.SoundId = "rbxassetid://169380525" | |
794 | z.Pitch = ptz[math.random(1,#ptz)] | |
795 | z.Volume = 1 | |
796 | z:Play() | |
797 | end | |
798 | wait(.2) | |
799 | Debounces.LPunched = false | |
800 | end | |
801 | end | |
802 | end | |
803 | elseif ht and hit:IsA("Hat") then | |
804 | if hit.Parent.Name ~= p.Name then | |
805 | if hit.Parent:FindFirstChild("Humanoid") then | |
806 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
807 | Debounces.LPunched = true | |
808 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
809 | if Debounces.ks2==true then | |
810 | z = Instance.new("Sound",hed) | |
811 | z.SoundId = "rbxassetid://169380525" | |
812 | z.Pitch = ptz[math.random(1,#ptz)] | |
813 | z.Volume = 1 | |
814 | z:Play() | |
815 | end | |
816 | wait(.2) | |
817 | Debounces.LPunched = false | |
818 | end | |
819 | end | |
820 | end | |
821 | end | |
822 | end) | |
823 | ---------------------------------------------------- | |
824 | mod4 = Instance.new("Model",char) | |
825 | ||
826 | ptez = {0.7, 0.8, 0.9, 1} | |
827 | ||
828 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
829 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
830 | local List = {} | |
831 | for i,v in pairs(workspace:GetChildren())do | |
832 | if v:IsA("Model")then | |
833 | if v:findFirstChild("Torso")then | |
834 | if v ~= char then | |
835 | if(v.Torso.Position -Position).magnitude <= Distance then | |
836 | table.insert(List,v) | |
837 | end | |
838 | end | |
839 | end | |
840 | end | |
841 | end | |
842 | return List | |
843 | end | |
844 | ||
845 | function Punch() | |
846 | part=Instance.new('Part',mod4) | |
847 | part.Anchored=true | |
848 | part.CanCollide=false | |
849 | part.FormFactor='Custom' | |
850 | part.Size=Vector3.new(.2,.2,.2) | |
851 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
852 | part.Transparency=.7 | |
853 | part.BrickColor=BrickColor.new('New Yeller') | |
854 | mesh=Instance.new('SpecialMesh',part) | |
855 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
856 | mesh.Scale=Vector3.new(3,3,3) | |
857 | part2=Instance.new('Part',mod4) | |
858 | part2.Anchored=true | |
859 | part2.CanCollide=false | |
860 | part2.FormFactor='Custom' | |
861 | part2.Size=Vector3.new(.2,.2,.2) | |
862 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
863 | part2.Transparency=.7 | |
864 | part2.BrickColor=BrickColor.new('New Yeller') | |
865 | mesh2=Instance.new('SpecialMesh',part2) | |
866 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
867 | mesh2.Scale=Vector3.new(3,1.5,3) | |
868 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
869 | if v:FindFirstChild('Humanoid') then | |
870 | v.Humanoid:TakeDamage(math.random(2,6)) | |
871 | end | |
872 | end | |
873 | coroutine.resume(coroutine.create(function() | |
874 | for i=0,0.62,0.4 do | |
875 | wait() | |
876 | part.CFrame=part.CFrame | |
877 | part.Transparency=i | |
878 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
879 | part2.CFrame=part2.CFrame | |
880 | part2.Transparency=i | |
881 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
882 | end | |
883 | part.Parent=nil | |
884 | part2.Parent=nil | |
885 | end)) | |
886 | end | |
887 | ---------------------------------------------------- | |
888 | rarm.Touched:connect(function(ht) | |
889 | hit = ht.Parent | |
890 | if ht and hit:IsA("Model") then | |
891 | if hit:FindFirstChild("Humanoid") then | |
892 | if hit.Name ~= p.Name then | |
893 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
894 | Debounces.RPunched = true | |
895 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
896 | if Debounces.ks==true then | |
897 | z = Instance.new("Sound",hed) | |
898 | z.SoundId = "rbxassetid://169380525" | |
899 | z.Pitch = ptz[math.random(1,#ptz)] | |
900 | z.Volume = 1 | |
901 | z:Play() | |
902 | end | |
903 | wait(.2) | |
904 | Debounces.RPunched = false | |
905 | end | |
906 | end | |
907 | end | |
908 | elseif ht and hit:IsA("Hat") then | |
909 | if hit.Parent.Name ~= p.Name then | |
910 | if hit.Parent:FindFirstChild("Humanoid") then | |
911 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
912 | Debounces.RPunched = true | |
913 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
914 | if Debounces.ks==true then | |
915 | z = Instance.new("Sound",hed) | |
916 | z.SoundId = "rbxassetid://169380525" | |
917 | z.Pitch = ptz[math.random(1,#ptz)] | |
918 | z.Volume = 1 | |
919 | z:Play() | |
920 | end | |
921 | wait(.2) | |
922 | Debounces.RPunched = false | |
923 | end | |
924 | end | |
925 | end | |
926 | end | |
927 | end) | |
928 | larm.Touched:connect(function(ht) | |
929 | hit = ht.Parent | |
930 | if ht and hit:IsA("Model") then | |
931 | if hit:FindFirstChild("Humanoid") then | |
932 | if hit.Name ~= p.Name then | |
933 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
934 | Debounces.LPunched = true | |
935 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
936 | if Debounces.ks2==true then | |
937 | z = Instance.new("Sound",hed) | |
938 | z.SoundId = "rbxassetid://169380525" | |
939 | z.Pitch = ptz[math.random(1,#ptz)] | |
940 | z.Volume = 1 | |
941 | z:Play() | |
942 | end | |
943 | wait(.2) | |
944 | Debounces.LPunched = false | |
945 | end | |
946 | end | |
947 | end | |
948 | elseif ht and hit:IsA("Hat") then | |
949 | if hit.Parent.Name ~= p.Name then | |
950 | if hit.Parent:FindFirstChild("Humanoid") then | |
951 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
952 | Debounces.LPunched = true | |
953 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
954 | if Debounces.ks2==true then | |
955 | z = Instance.new("Sound",hed) | |
956 | z.SoundId = "rbxassetid://169380525" | |
957 | z.Pitch = ptz[math.random(1,#ptz)] | |
958 | z.Volume = 1 | |
959 | z:Play() | |
960 | end | |
961 | wait(.2) | |
962 | Debounces.LPunched = false | |
963 | end | |
964 | end | |
965 | end | |
966 | end | |
967 | end) | |
968 | ---------------------------------------------------- | |
969 | local player = game.Players.LocalPlayer | |
970 | local pchar = player.Character | |
971 | local mouse = player:GetMouse() | |
972 | local cam = workspace.CurrentCamera | |
973 | ||
974 | local rad = math.rad | |
975 | ||
976 | local keysDown = {} | |
977 | local flySpeed = 0 | |
978 | local MAX_FLY_SPEED = 150 | |
979 | ||
980 | local canFly = false | |
981 | local flyToggled = false | |
982 | ||
983 | local forward, side = 0, 0 | |
984 | local lastForward, lastSide = 0, 0 | |
985 | ||
986 | local floatBP = Instance.new("BodyPosition") | |
987 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
988 | local flyBV = Instance.new("BodyVelocity") | |
989 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
990 | local turnBG = Instance.new("BodyGyro") | |
991 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
992 | ||
993 | mouse.KeyDown:connect(function(key) | |
994 | keysDown[key] = true | |
995 | ||
996 | if key == "f" then | |
997 | flyToggled = not flyToggled | |
998 | ||
999 | if not flyToggled then | |
1000 | stanceToggle = "Normal" | |
1001 | floatBP.Parent = nil | |
1002 | flyBV.Parent = nil | |
1003 | turnBG.Parent = nil | |
1004 | root.Velocity = Vector3.new() | |
1005 | pchar.Humanoid.PlatformStand = false | |
1006 | end | |
1007 | end | |
1008 | ||
1009 | end) | |
1010 | mouse.KeyUp:connect(function(key) | |
1011 | keysDown[key] = nil | |
1012 | end) | |
1013 | ||
1014 | local function updateFly() | |
1015 | ||
1016 | if not flyToggled then return end | |
1017 | ||
1018 | lastForward = forward | |
1019 | lastSide = side | |
1020 | ||
1021 | forward = 0 | |
1022 | side = 0 | |
1023 | ||
1024 | if keysDown.w then | |
1025 | forward = forward + 1 | |
1026 | end | |
1027 | if keysDown.s then | |
1028 | forward = forward - 1 | |
1029 | end | |
1030 | if keysDown.a then | |
1031 | side = side - 1 | |
1032 | end | |
1033 | if keysDown.d then | |
1034 | side = side + 1 | |
1035 | end | |
1036 | ||
1037 | canFly = (forward ~= 0 or side ~= 0) | |
1038 | ||
1039 | if canFly then | |
1040 | stanceToggle = "Floating" | |
1041 | turnBG.Parent = root | |
1042 | floatBP.Parent = nil | |
1043 | flyBV.Parent = root | |
1044 | ||
1045 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1046 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1047 | else | |
1048 | floatBP.position = root.Position | |
1049 | floatBP.Parent = root | |
1050 | ||
1051 | flySpeed = flySpeed - 1 | |
1052 | if flySpeed < 0 then flySpeed = 0 end | |
1053 | end | |
1054 | ||
1055 | local camCF = cam.CoordinateFrame | |
1056 | local in_forward = canFly and forward or lastForward | |
1057 | local in_side = canFly and side or lastSide | |
1058 | ||
1059 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1060 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1061 | ||
1062 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1063 | 0) | |
1064 | end | |
1065 | ||
1066 | game:service'RunService'.RenderStepped:connect(function() | |
1067 | if flyToggled then | |
1068 | pchar.Humanoid.PlatformStand = true | |
1069 | end | |
1070 | updateFly() | |
1071 | end) | |
1072 | ------------------------------- | |
1073 | mouse.KeyDown:connect(function(key) | |
1074 | if key == "q" then | |
1075 | if Debounces.CanAttack == true then | |
1076 | Debounces.CanAttack = false | |
1077 | Debounces.NoIdl = true | |
1078 | Debounces.on = true | |
1079 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1080 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1081 | local List = {} | |
1082 | for i,v in pairs(workspace:GetChildren())do | |
1083 | if v:IsA("Model")then | |
1084 | if v:findFirstChild("Torso")then | |
1085 | if v ~= char then | |
1086 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1087 | table.insert(List,v) | |
1088 | end | |
1089 | end | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | return List | |
1094 | end | |
1095 | z = Instance.new("Sound",hed) | |
1096 | z.SoundId = "rbxassetid://232213955" | |
1097 | z.Pitch = 1 | |
1098 | z.Volume = 1 | |
1099 | wait(0.2) | |
1100 | z:Play() | |
1101 | sp = Instance.new("Part",rarm) | |
1102 | sp.Anchored = true | |
1103 | sp.CanCollide = false | |
1104 | sp.Locked = true | |
1105 | sp.Transparency = 0 | |
1106 | sp.Material = "Neon" | |
1107 | sp.Size = Vector3.new(1,1,1) | |
1108 | sp.TopSurface = "SmoothNoOutlines" | |
1109 | sp.BottomSurface = "SmoothNoOutlines" | |
1110 | sp.BrickColor = BrickColor.new("New Yeller") | |
1111 | spm = Instance.new("SpecialMesh",sp) | |
1112 | spm.MeshType = "Sphere" | |
1113 | spm.Scale = Vector3.new(21,21,21) | |
1114 | sp2 = Instance.new("Part", rarm) | |
1115 | sp2.Name = "Energy" | |
1116 | sp2.BrickColor = BrickColor.new("New Yeller") | |
1117 | sp2.Size = Vector3.new(1, 1, 1) | |
1118 | sp2.Shape = "Ball" | |
1119 | sp2.CanCollide = false | |
1120 | sp2.Anchored = true | |
1121 | sp2.Locked = true | |
1122 | sp2.TopSurface = 0 | |
1123 | sp2.BottomSurface = 0 | |
1124 | sp2.Transparency = 1 | |
1125 | spm2 = Instance.new("SpecialMesh",sp2) | |
1126 | spm2.MeshId = "rbxassetid://9982590" | |
1127 | spm2.Scale = Vector3.new(2,2,2) | |
1128 | for i = 1, 20 do | |
1129 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1130 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1131 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
1132 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
1133 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1135 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1137 | if Debounces.on == false then break end | |
1138 | rs:wait() | |
1139 | end | |
1140 | for i = 1, 100, 20 do rs:wait() | |
1141 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1142 | end | |
1143 | for i = 1, 20 do | |
1144 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1145 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1146 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
1147 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1148 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1149 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1150 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1151 | if Debounces.on == false then break end | |
1152 | rs:wait() | |
1153 | end | |
1154 | sp.Transparency = 1 | |
1155 | for i = 1, 20 do | |
1156 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1157 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
1158 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1159 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1160 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1161 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1162 | if Debounces.on == false then break end | |
1163 | rs:wait() | |
1164 | end | |
1165 | wait(1) | |
1166 | sp.Transparency = 0 | |
1167 | sp2.Transparency = 0.84 | |
1168 | for i = 1, 20 do | |
1169 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1170 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1171 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1172 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
1173 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
1174 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1175 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1176 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1177 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1178 | if Debounces.on == false then break end | |
1179 | rs:wait() | |
1180 | end | |
1181 | for i = 1, 2880, 50 do | |
1182 | rs:wait() | |
1183 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1184 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1185 | rs:wait() | |
1186 | end | |
1187 | sp:Destroy() | |
1188 | sp2:Destroy() | |
1189 | local X = Instance.new("Part",char) | |
1190 | local O = Instance.new("ObjectValue",X) | |
1191 | O.Name = "creator" | |
1192 | X.Locked = true | |
1193 | X.Name = "Shell" | |
1194 | X.Anchored = false | |
1195 | X.CanCollide = false | |
1196 | X.Transparency = 0 | |
1197 | X.Reflectance = 0 | |
1198 | X.BottomSurface = 0 | |
1199 | X.TopSurface = 0 | |
1200 | X.Shape = 0 | |
1201 | local V = Instance.new("ObjectValue",X) | |
1202 | V.Value = char | |
1203 | V.Name = "creator" | |
1204 | X.BrickColor = BrickColor.new("New Yeller") | |
1205 | X.Size = Vector3.new(2,2,2) | |
1206 | X.Material = "Neon" | |
1207 | local Z = Instance.new("SpecialMesh",X) | |
1208 | Z.MeshType = "Sphere" | |
1209 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1210 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1211 | local bv = Instance.new("BodyVelocity",X) | |
1212 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1213 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1214 | bv.velocity = X.CFrame.lookVector*65 | |
1215 | ||
1216 | Explode = X.Touched:connect(function(hit) | |
1217 | if hit ~= char and hit.Name ~= "Shell" then | |
1218 | local cf = X.CFrame | |
1219 | bv:Destroy() | |
1220 | X.Anchored = true | |
1221 | Z:Remove() | |
1222 | Explode:disconnect() | |
1223 | X.Size = Vector3.new(3,3,3) | |
1224 | X.Touched:connect(function(hit) end) | |
1225 | X.CanCollide = false | |
1226 | local part3 = Instance.new("Part", rarm) | |
1227 | part3.Anchored=true | |
1228 | part3.CanCollide=false | |
1229 | part3.Locked = true | |
1230 | part3.TopSurface = "SmoothNoOutlines" | |
1231 | part3.BottomSurface = "SmoothNoOutlines" | |
1232 | part3.FormFactor='Custom' | |
1233 | part3.Size=Vector3.new(1,1, 1) | |
1234 | part3.CFrame=X.CFrame | |
1235 | part3.Transparency=0 | |
1236 | part3.BrickColor=BrickColor.new("New Yeller") | |
1237 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1238 | mesh3.MeshType = "Sphere" | |
1239 | mesh3.Scale = Vector3.new(1,1,1) | |
1240 | --debris:AddItem(X,8) | |
1241 | local part4 = Instance.new("Part", rarm) | |
1242 | part4.Material = "Neon" | |
1243 | part4.Anchored=true | |
1244 | part4.CanCollide=false | |
1245 | part4.Locked = true | |
1246 | part4.TopSurface = "SmoothNoOutlines" | |
1247 | part4.BottomSurface = "SmoothNoOutlines" | |
1248 | part4.FormFactor='Custom' | |
1249 | part4.Size=Vector3.new(1,1, 1) | |
1250 | part4.CFrame=X.CFrame | |
1251 | part4.Transparency=0 | |
1252 | part4.BrickColor=BrickColor.new("Hot pink") | |
1253 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1254 | mesh4.MeshType = "Sphere" | |
1255 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1256 | local part7 = Instance.new("Part", rarm) | |
1257 | part7.Material = "Neon" | |
1258 | part7.Anchored=true | |
1259 | part7.CanCollide=false | |
1260 | part7.Locked = true | |
1261 | part7.TopSurface = "SmoothNoOutlines" | |
1262 | part7.BottomSurface = "SmoothNoOutlines" | |
1263 | part7.FormFactor='Custom' | |
1264 | part7.Size=Vector3.new(1,1, 1) | |
1265 | part7.CFrame=X.CFrame | |
1266 | part7.Transparency=0 | |
1267 | part7.BrickColor=BrickColor.new("New Yeller") | |
1268 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1269 | mesh7.MeshType = "Sphere" | |
1270 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1271 | --[[X.Touched:connect(function(ht) | |
1272 | hit = ht.Parent | |
1273 | if ht and hit:IsA("Model") then | |
1274 | if hit:FindFirstChild("Humanoid") then | |
1275 | if hit.Name ~= p.Name then | |
1276 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1277 | wait(.3) | |
1278 | end | |
1279 | end | |
1280 | elseif ht and hit:IsA("Hat") then | |
1281 | if hit.Parent.Name ~= p.Name then | |
1282 | if hit.Parent:FindFirstChild("Humanoid") then | |
1283 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1284 | wait(.3) | |
1285 | end | |
1286 | end | |
1287 | end | |
1288 | end) | |
1289 | part3.Touched:connect(function(ht) | |
1290 | hit = ht.Parent | |
1291 | if ht and hit:IsA("Model") then | |
1292 | if hit:FindFirstChild("Humanoid") then | |
1293 | if hit.Name ~= p.Name then | |
1294 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1295 | wait(.3) | |
1296 | end | |
1297 | end | |
1298 | elseif ht and hit:IsA("Hat") then | |
1299 | if hit.Parent.Name ~= p.Name then | |
1300 | if hit.Parent:FindFirstChild("Humanoid") then | |
1301 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1302 | wait(.3) | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | end)]]-- | |
1307 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1308 | if v:FindFirstChild('Humanoid') then | |
1309 | v.Humanoid:TakeDamage(math.random(60,90)) | |
1310 | v.Humanoid.PlatformStand = true | |
1311 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1312 | end | |
1313 | end | |
1314 | ||
1315 | local acos = math.acos | |
1316 | local sqrt = math.sqrt | |
1317 | local Vec3 = Vector3.new | |
1318 | local fromAxisAngle = CFrame.fromAxisAngle | |
1319 | ||
1320 | local function toAxisAngle(CFr) | |
1321 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1322 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1323 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1324 | A = A == 0 and 0.00001 or A | |
1325 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1326 | B = B == 0 and 0.00001 or B | |
1327 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1328 | C = C == 0 and 0.00001 or C | |
1329 | local x = (R21-R12)/sqrt(A) | |
1330 | local y = (R02-R20)/sqrt(B) | |
1331 | local z = (R10-R01)/sqrt(C) | |
1332 | return Vec3(x,y,z),Angle | |
1333 | end | |
1334 | ||
1335 | function ApplyTrig(Num,Func) | |
1336 | local Min,Max = Func(0),Func(1) | |
1337 | local i = Func(Num) | |
1338 | return (i-Min)/(Max-Min) | |
1339 | end | |
1340 | ||
1341 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1342 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1343 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1344 | end | |
1345 | ||
1346 | function Crater(Torso,Radius) | |
1347 | Spawn(function() | |
1348 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1349 | local Ignore = {} | |
1350 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1351 | if v.Character ~= nil then | |
1352 | Ignore[#Ignore+1] = v.Character | |
1353 | end | |
1354 | end | |
1355 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1356 | if Hit == nil then return end | |
1357 | local Parts = {} | |
1358 | for i = 1,360,10 do | |
1359 | local P = Instance.new("Part",Torso.Parent) | |
1360 | P.Anchored = true | |
1361 | P.FormFactor = "Custom" | |
1362 | P.BrickColor = Hit.BrickColor | |
1363 | P.Material = Hit.Material | |
1364 | P.TopSurface = "Smooth" | |
1365 | P.BottomSurface = "Smooth" | |
1366 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1367 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1368 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1369 | if math.random(0,5) == 0 then -- rubble | |
1370 | local P = Instance.new("Part",Torso.Parent) | |
1371 | P.Anchored = true | |
1372 | P.FormFactor = "Custom" | |
1373 | P.BrickColor = Hit.BrickColor | |
1374 | P.Material = Hit.Material | |
1375 | P.TopSurface = "Smooth" | |
1376 | P.BottomSurface = "Smooth" | |
1377 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1378 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1379 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1380 | end | |
1381 | end | |
1382 | for i = 0,1,0.05 do | |
1383 | for i2,v in pairs(Parts) do | |
1384 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1385 | end | |
1386 | wait(0.02) | |
1387 | end | |
1388 | for i,v in pairs(Parts) do | |
1389 | if v[1].Size.X > 2.1 then | |
1390 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1391 | end | |
1392 | v[1].Anchored = false | |
1393 | end | |
1394 | for i = 0,1,0.05 do | |
1395 | for i2,v in pairs(Parts) do | |
1396 | v[1].Transparency = i | |
1397 | if i == 1 then | |
1398 | v[1]:Destroy() | |
1399 | elseif i >= 0.25 then | |
1400 | v[1].CanCollide = false | |
1401 | end | |
1402 | end | |
1403 | wait(0.02) | |
1404 | end | |
1405 | Parts = nil | |
1406 | end) | |
1407 | end | |
1408 | ||
1409 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1410 | for i = 1, 360, 360/t do | |
1411 | local c = Instance.new("Part", game.Workspace) | |
1412 | c.FormFactor = 3 | |
1413 | c.TopSurface = 0 | |
1414 | c.BottomSurface = 0 | |
1415 | c.Size = s | |
1416 | c.Anchored = true | |
1417 | c.CanCollide = wt | |
1418 | c.Material=workspace.Base.Material | |
1419 | c.Transparency = trans | |
1420 | c.BrickColor = workspace.Base.BrickColor | |
1421 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
1422 | c.Locked=true | |
1423 | game.Debris:AddItem(c,15) | |
1424 | end | |
1425 | end | |
1426 | ||
1427 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1428 | local p = Instance.new('Part',parent or Weapon) | |
1429 | p.formFactor = 'Custom' | |
1430 | p.Size = Vector3.new(x,y,z) | |
1431 | p.BrickColor = BrickColor.new(color) | |
1432 | p.CanCollide = cc | |
1433 | p.Transparency = tr | |
1434 | p.Anchored = an | |
1435 | p.TopSurface,p.BottomSurface = 0,0 | |
1436 | p.Locked=true | |
1437 | p:BreakJoints() | |
1438 | return p end | |
1439 | ||
1440 | Mesh = function(par,num,x,y,z) | |
1441 | local msh = _ | |
1442 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1443 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1444 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1445 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1446 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1447 | end msh.Scale = Vector3.new(x,y,z) | |
1448 | return msh end | |
1449 | ||
1450 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1451 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1452 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1453 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1454 | v1,v2,v3=sz.x,sz.y,sz.z | |
1455 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1456 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1457 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1458 | a.CFrame=cfr | |
1459 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1460 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1461 | ||
1462 | Spawn(function() | |
1463 | while wait() do | |
1464 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1465 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1466 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1467 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1468 | a.Transparency=a.Transparency+0.05 | |
1469 | a2.Transparency=a2.Transparency+0.05 | |
1470 | a3.Transparency=a3.Transparency+0.05 | |
1471 | end | |
1472 | end) | |
1473 | end | |
1474 | ||
1475 | Crater(X,20) | |
1476 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
1477 | z = Instance.new("Sound",X) | |
1478 | z.SoundId = "rbxassetid://231917744" | |
1479 | z.Pitch = .5 | |
1480 | z.Volume = 10 | |
1481 | z1 = Instance.new("Sound",X) | |
1482 | z1.SoundId = "rbxassetid://231917744" | |
1483 | z1.Pitch = .5 | |
1484 | z1.Volume = 10 | |
1485 | z2 = Instance.new("Sound",X) | |
1486 | z2.SoundId = "rbxassetid://231917744" | |
1487 | z2.Pitch = .5 | |
1488 | z2.Volume = 10 | |
1489 | z3 = Instance.new("Sound",X) | |
1490 | z3.SoundId = "rbxassetid://245537790" | |
1491 | z3.Pitch = .7 | |
1492 | z3.Volume = 1 | |
1493 | z4 = Instance.new("Sound",X) | |
1494 | z4.SoundId = "rbxassetid://245537790" | |
1495 | z4.Pitch = .7 | |
1496 | z4.Volume = 1 | |
1497 | wait(0.1) | |
1498 | z:Play() | |
1499 | z1:Play() | |
1500 | z2:Play() | |
1501 | z3:Play() | |
1502 | z4:Play() | |
1503 | ||
1504 | local part=Instance.new('Part',rarm) | |
1505 | part.Anchored=true | |
1506 | part.CanCollide=false | |
1507 | part.Locked = true | |
1508 | part.FormFactor='Custom' | |
1509 | part.Size=Vector3.new(1,1,1) | |
1510 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
1511 | part.Transparency=0 | |
1512 | part.BrickColor=BrickColor.new('New Yeller') | |
1513 | local mesh=Instance.new('SpecialMesh',part) | |
1514 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1515 | mesh.Scale=Vector3.new(2,2,2) | |
1516 | local part2=part:clone() | |
1517 | part2.Parent = rarm | |
1518 | part2.BrickColor=BrickColor.new("New Yeller") | |
1519 | local part5=part:clone() | |
1520 | part5.Parent = rarm | |
1521 | part5.BrickColor=BrickColor.new("Magenta") | |
1522 | local part6=part:clone() | |
1523 | part6.Parent = rarm | |
1524 | part6.BrickColor=BrickColor.new("Black") | |
1525 | local mesh2=mesh:clone() | |
1526 | mesh2.Parent=part2 | |
1527 | mesh2.Scale=Vector3.new(3, 3, 3) | |
1528 | local mesh5=mesh:clone() | |
1529 | mesh5.Parent=part5 | |
1530 | mesh5.Scale=Vector3.new(3, 3, 3) | |
1531 | local mesh6=mesh:clone() | |
1532 | mesh6.Parent=part6 | |
1533 | mesh6.Scale=Vector3.new(3, 3, 3) | |
1534 | local blast = Instance.new("Part", rarm) | |
1535 | blast.BrickColor = BrickColor.new("New Yeller") | |
1536 | blast.Anchored = true | |
1537 | blast.CanCollide = false | |
1538 | blast.Locked = true | |
1539 | blast.Size = Vector3.new(1, 1, 1) | |
1540 | blast.TopSurface = "Smooth" | |
1541 | blast.BottomSurface = "Smooth" | |
1542 | blast.Transparency = 0 | |
1543 | blast.CFrame = HandCF | |
1544 | local bm = Instance.new("SpecialMesh", blast) | |
1545 | bm.Scale = Vector3.new(5,1,5) | |
1546 | bm.MeshId = "rbxassetid://3270017" | |
1547 | local blast2 = Instance.new("Part", rarm) | |
1548 | blast2.BrickColor = BrickColor.new("New Yeller") | |
1549 | blast2.Anchored = true | |
1550 | blast2.CanCollide = false | |
1551 | blast2.Locked = true | |
1552 | blast2.Size = Vector3.new(1, 1, 1) | |
1553 | blast2.TopSurface = "Smooth" | |
1554 | blast2.BottomSurface = "Smooth" | |
1555 | blast2.Transparency = 0 | |
1556 | blast2.CFrame = HandCF | |
1557 | local bm2 = Instance.new("SpecialMesh", blast2) | |
1558 | bm2.Scale = Vector3.new(3,1,3) | |
1559 | bm2.MeshId = "rbxassetid://3270017" | |
1560 | local blast3 = Instance.new("Part", rarm) | |
1561 | blast3.BrickColor = BrickColor.new("New Yeller") | |
1562 | blast3.Anchored = true | |
1563 | blast3.CanCollide = false | |
1564 | blast3.Locked = true | |
1565 | blast3.Size = Vector3.new(1, 1, 1) | |
1566 | blast3.TopSurface = "Smooth" | |
1567 | blast3.BottomSurface = "Smooth" | |
1568 | blast3.Transparency = 0 | |
1569 | blast3.CFrame = HandCF | |
1570 | local bm3 = Instance.new("SpecialMesh", blast3) | |
1571 | bm3.Scale = Vector3.new(3,1,3) | |
1572 | bm3.MeshId = "rbxassetid://3270017" | |
1573 | for i = 1,120 do rs:wait() | |
1574 | X.Transparency = X.Transparency + (1/120) | |
1575 | part.Transparency = part.Transparency + (1/120) | |
1576 | part2.Transparency = part2.Transparency + (1/120) | |
1577 | part3.Transparency = part3.Transparency + (1/120) | |
1578 | part4.Transparency = part4.Transparency + (1/120) | |
1579 | part5.Transparency = part5.Transparency + (1/120) | |
1580 | part6.Transparency = part6.Transparency + (1/120) | |
1581 | part7.Transparency = part7.Transparency + (1/120) | |
1582 | blast.Transparency = blast.Transparency + (1/120) | |
1583 | blast2.Transparency = blast2.Transparency + (1/120) | |
1584 | blast3.Transparency = blast3.Transparency + (1/120) | |
1585 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
1586 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
1587 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
1588 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
1589 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
1590 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
1591 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
1592 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
1593 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
1594 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
1595 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
1596 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
1597 | X.CFrame = cf | |
1598 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
1599 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
1600 | part3.CFrame=X.CFrame | |
1601 | part4.CFrame=X.CFrame | |
1602 | part7.CFrame=X.CFrame | |
1603 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
1604 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
1605 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1606 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
1607 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
1608 | rs:wait() | |
1609 | end | |
1610 | X:Destroy() | |
1611 | part:Destroy() | |
1612 | part2:Destroy() | |
1613 | part3:Destroy() | |
1614 | part4:Destroy() | |
1615 | part5:Destroy() | |
1616 | part6:Destroy() | |
1617 | blast:Destroy() | |
1618 | blast2:Destroy() | |
1619 | blast3:Destroy() | |
1620 | z:Destroy() | |
1621 | z1:Destroy() | |
1622 | z2:Destroy() | |
1623 | z3:Destroy() | |
1624 | z4:Destroy() | |
1625 | end | |
1626 | end) | |
1627 | for i = 1, 20 do | |
1628 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
1629 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
1630 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1631 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
1632 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
1633 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
1634 | if Debounces.on == false then break end | |
1635 | rs:wait() | |
1636 | end | |
1637 | if Debounces.CanAttack == false then | |
1638 | Debounces.CanAttack = true | |
1639 | Debounces.NoIdl = false | |
1640 | Debounces.on = false | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | end) | |
1645 | ---------------------------------------------------- | |
1646 | mouse.KeyDown:connect(function(key) | |
1647 | if key == "e" then | |
1648 | if Debounces.CanAttack == true then | |
1649 | Debounces.CanAttack = false | |
1650 | Debounces.on = true | |
1651 | Debounces.NoIdl = true | |
1652 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
1653 | z = Instance.new("Sound", rarm) | |
1654 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1655 | z.Volume = .6 | |
1656 | z.Pitch = pt[math.random(1,#pt)] | |
1657 | z.Looped = false | |
1658 | z:Play() | |
1659 | Debounces.RPunch = true | |
1660 | Debounces.LPunch = true | |
1661 | Debounces.ks = true | |
1662 | Debounces.ks2 = true | |
1663 | for i = 1, 3 do | |
1664 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1665 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1666 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1667 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1668 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1669 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1670 | if Debounces.on == false then break end | |
1671 | wait() | |
1672 | end | |
1673 | z2 = Instance.new("Sound", larm) | |
1674 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1675 | z2.Volume = .6 | |
1676 | z2.Pitch = pt[math.random(1,#pt)] | |
1677 | z2.Looped = false | |
1678 | z2:Play() | |
1679 | for i = 1, 3 do | |
1680 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1681 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1682 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1683 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1684 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1685 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1686 | if Debounces.on == false then break end | |
1687 | wait() | |
1688 | end | |
1689 | z3 = Instance.new("Sound", rarm) | |
1690 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1691 | z3.Volume = 0.6 | |
1692 | z3.Pitch = pt[math.random(1,#pt)] | |
1693 | z3.Looped = false | |
1694 | z3:Play() | |
1695 | for i = 1, 3 do | |
1696 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1697 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1698 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1699 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1700 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1701 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1702 | if Debounces.on == false then break end | |
1703 | wait() | |
1704 | end | |
1705 | z4 = Instance.new("Sound", larm) | |
1706 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1707 | z4.Volume = .6 | |
1708 | z4.Pitch = pt[math.random(1,#pt)] | |
1709 | z4.Looped = false | |
1710 | z4:Play() | |
1711 | for i = 1, 3 do | |
1712 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1713 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1714 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1715 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1716 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1717 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1718 | if Debounces.on == false then break end | |
1719 | wait() | |
1720 | end | |
1721 | z5 = Instance.new("Sound", rarm) | |
1722 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1723 | z5.Volume = .6 | |
1724 | z5.Pitch = pt[math.random(1,#pt)] | |
1725 | z5.Looped = false | |
1726 | z5:Play() | |
1727 | for i = 1, 3 do | |
1728 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1729 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1730 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1731 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1732 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1733 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1734 | if Debounces.on == false then break end | |
1735 | wait() | |
1736 | end | |
1737 | z6 = Instance.new("Sound", larm) | |
1738 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1739 | z6.Volume = .6 | |
1740 | z6.Pitch = pt[math.random(1,#pt)] | |
1741 | z6.Looped = false | |
1742 | z6:Play() | |
1743 | for i = 1, 3 do | |
1744 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1745 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1746 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1747 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1748 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1749 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1750 | if Debounces.on == false then break end | |
1751 | wait() | |
1752 | end | |
1753 | z7 = Instance.new("Sound", rarm) | |
1754 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1755 | z7.Volume = .6 | |
1756 | z7.Pitch = pt[math.random(1,#pt)] | |
1757 | z7.Looped = false | |
1758 | z7:Play() | |
1759 | for i = 1, 3 do | |
1760 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1761 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1762 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1763 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1764 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1765 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1766 | if Debounces.on == false then break end | |
1767 | wait() | |
1768 | end | |
1769 | z8 = Instance.new("Sound", larm) | |
1770 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1771 | z8.Volume = .6 | |
1772 | z8.Pitch = pt[math.random(1,#pt)] | |
1773 | z8.Looped = false | |
1774 | z8:Play() | |
1775 | for i = 1, 3 do | |
1776 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1777 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1778 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1780 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1781 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1782 | if Debounces.on == false then break end | |
1783 | wait() | |
1784 | end | |
1785 | z9 = Instance.new("Sound", rarm) | |
1786 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1787 | z9.Volume = 0.6 | |
1788 | z9.Pitch = pt[math.random(1,#pt)] | |
1789 | z9.Looped = false | |
1790 | z9:Play() | |
1791 | for i = 1, 3 do | |
1792 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1793 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1796 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1797 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1798 | if Debounces.on == false then break end | |
1799 | wait() | |
1800 | end | |
1801 | z10 = Instance.new("Sound", larm) | |
1802 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1803 | z10.Volume = .6 | |
1804 | z10.Pitch = pt[math.random(1,#pt)] | |
1805 | z10.Looped = false | |
1806 | z10:Play() | |
1807 | for i = 1, 3 do | |
1808 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1809 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1810 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1811 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1812 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1813 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1814 | if Debounces.on == false then break end | |
1815 | wait() | |
1816 | end | |
1817 | z11 = Instance.new("Sound", rarm) | |
1818 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1819 | z11.Volume = .6 | |
1820 | z11.Pitch = pt[math.random(1,#pt)] | |
1821 | z11.Looped = false | |
1822 | z11:Play() | |
1823 | for i = 1, 3 do | |
1824 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1825 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1826 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1827 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1828 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1829 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1830 | if Debounces.on == false then break end | |
1831 | wait() | |
1832 | end | |
1833 | z12 = Instance.new("Sound", larm) | |
1834 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1835 | z12.Volume = .6 | |
1836 | z12.Pitch = pt[math.random(1,#pt)] | |
1837 | z12.Looped = false | |
1838 | z12:Play() | |
1839 | for i = 1, 3 do | |
1840 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1841 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1842 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1843 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1844 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1845 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1846 | if Debounces.on == false then break end | |
1847 | wait() | |
1848 | end | |
1849 | z13 = Instance.new("Sound", rarm) | |
1850 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1851 | z13.Volume = 0.6 | |
1852 | z13.Pitch = pt[math.random(1,#pt)] | |
1853 | z13.Looped = false | |
1854 | z13:Play() | |
1855 | for i = 1, 3 do | |
1856 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1857 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1859 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1860 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1861 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1862 | if Debounces.on == false then break end | |
1863 | wait() | |
1864 | end | |
1865 | z14 = Instance.new("Sound", larm) | |
1866 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1867 | z14.Volume = .6 | |
1868 | z14.Pitch = pt[math.random(1,#pt)] | |
1869 | z14.Looped = false | |
1870 | z14:Play() | |
1871 | for i = 1, 3 do | |
1872 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1873 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1874 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1875 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1876 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1877 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1878 | if Debounces.on == false then break end | |
1879 | wait() | |
1880 | end | |
1881 | z15 = Instance.new("Sound", rarm) | |
1882 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1883 | z15.Volume = .6 | |
1884 | z15.Pitch = pt[math.random(1,#pt)] | |
1885 | z15.Looped = false | |
1886 | z15:Play() | |
1887 | for i = 1, 3 do | |
1888 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1889 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1890 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1891 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1892 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1893 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1894 | if Debounces.on == false then break end | |
1895 | wait() | |
1896 | end | |
1897 | z16 = Instance.new("Sound", larm) | |
1898 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1899 | z16.Volume = .6 | |
1900 | z16.Pitch = pt[math.random(1,#pt)] | |
1901 | z16.Looped = false | |
1902 | z16:Play() | |
1903 | for i = 1, 3 do | |
1904 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1905 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1906 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1907 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1908 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1909 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1910 | if Debounces.on == false then break end | |
1911 | wait() | |
1912 | end | |
1913 | z17 = Instance.new("Sound", rarm) | |
1914 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1915 | z17.Volume = .6 | |
1916 | z17.Pitch = pt[math.random(1,#pt)] | |
1917 | z17.Looped = false | |
1918 | z17:Play() | |
1919 | for i = 1, 3 do | |
1920 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1921 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1922 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1923 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1924 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1926 | if Debounces.on == false then break end | |
1927 | wait() | |
1928 | end | |
1929 | z18 = Instance.new("Sound", larm) | |
1930 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1931 | z18.Volume = .6 | |
1932 | z18.Pitch = pt[math.random(1,#pt)] | |
1933 | z18.Looped = false | |
1934 | z18:Play() | |
1935 | for i = 1, 3 do | |
1936 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1937 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1938 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1939 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1940 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1941 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1942 | if Debounces.on == false then break end | |
1943 | wait() | |
1944 | end | |
1945 | z19 = Instance.new("Sound", rarm) | |
1946 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1947 | z19.Volume = 0.6 | |
1948 | z19.Pitch = pt[math.random(1,#pt)] | |
1949 | z19.Looped = false | |
1950 | z19:Play() | |
1951 | for i = 1, 3 do | |
1952 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1953 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1954 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1955 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1956 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1957 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1958 | if Debounces.on == false then break end | |
1959 | wait() | |
1960 | end | |
1961 | z20 = Instance.new("Sound", larm) | |
1962 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1963 | z20.Volume = .6 | |
1964 | z20.Pitch = pt[math.random(1,#pt)] | |
1965 | z20.Looped = false | |
1966 | z20:Play() | |
1967 | for i = 1, 3 do | |
1968 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1969 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1970 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1971 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1972 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1973 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1974 | if Debounces.on == false then break end | |
1975 | wait() | |
1976 | end | |
1977 | z:Destroy() | |
1978 | z2:Destroy() | |
1979 | z3:Destroy() | |
1980 | z4:Destroy() | |
1981 | z5:Destroy() | |
1982 | z6:Destroy() | |
1983 | z7:Destroy() | |
1984 | z8:Destroy() | |
1985 | z9:Destroy() | |
1986 | z10:Destroy() | |
1987 | z11:Destroy() | |
1988 | z12:Destroy() | |
1989 | z13:Destroy() | |
1990 | z14:Destroy() | |
1991 | z15:Destroy() | |
1992 | z16:Destroy() | |
1993 | z17:Destroy() | |
1994 | z18:Destroy() | |
1995 | z19:Destroy() | |
1996 | z20:Destroy() | |
1997 | Debounces.LPunch = false | |
1998 | Debounces.RPunch = false | |
1999 | Debounces.ks = false | |
2000 | Debounces.ks2 = false | |
2001 | if Debounces.CanAttack == false then | |
2002 | Debounces.CanAttack = true | |
2003 | Debounces.on = false | |
2004 | Debounces.NoIdl = false | |
2005 | end | |
2006 | end | |
2007 | end | |
2008 | end) | |
2009 | ------------------------------- | |
2010 | mouse.KeyDown:connect(function(key) | |
2011 | if key == "t" then | |
2012 | if Debounces.CanAttack == true then | |
2013 | Debounces.CanAttack = false | |
2014 | Debounces.NoIdl = true | |
2015 | Debounces.on = true | |
2016 | Debounces.ks = true | |
2017 | kik = rleg.Touched:connect(function(ht) | |
2018 | hit = ht.Parent | |
2019 | if ht and hit:IsA("Model") then | |
2020 | if hit:FindFirstChild("Humanoid") then | |
2021 | if hit.Name ~= p.Name then | |
2022 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2023 | Debounces.Slashed = true]]-- | |
2024 | if Debounces.ks==true then | |
2025 | z = Instance.new("Sound",hed) | |
2026 | z.SoundId = "rbxassetid://169380525" | |
2027 | z.Volume = 1 | |
2028 | z:Play() | |
2029 | Debounces.ks=false | |
2030 | end | |
2031 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
2032 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2033 | --Debounces.Slashed = false | |
2034 | --end | |
2035 | end | |
2036 | end | |
2037 | elseif ht and hit:IsA("Hat") then | |
2038 | if hit.Parent.Name ~= p.Name then | |
2039 | if hit.Parent:FindFirstChild("Humanoid") then | |
2040 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2041 | Debounces.Slashed = true]]-- | |
2042 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2043 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2044 | --Debounces.Slashed = false | |
2045 | --end | |
2046 | end | |
2047 | end | |
2048 | end | |
2049 | end) | |
2050 | for i = 1,20 do | |
2051 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2052 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
2053 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2054 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2055 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2056 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2057 | if Debounces.on == false then break end | |
2058 | rs:wait() | |
2059 | end | |
2060 | kik:disconnect() | |
2061 | if Debounces.CanAttack == false then | |
2062 | Debounces.CanAttack = true | |
2063 | Debounces.NoIdl = false | |
2064 | Debounces.on = false | |
2065 | end | |
2066 | end | |
2067 | end | |
2068 | end) | |
2069 | ---------------------------------------------------- | |
2070 | mouse.KeyDown:connect(function(key) | |
2071 | if key == "y" then | |
2072 | if Debounces.CanAttack == true then | |
2073 | Debounces.CanAttack = false | |
2074 | Debounces.on = true | |
2075 | Debounces.NoIdl = true | |
2076 | for i = 1, 15 do | |
2077 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
2078 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
2079 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2080 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2081 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2082 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2083 | if Debounces.on == false then break end | |
2084 | rs:wait(2.7) | |
2085 | end | |
2086 | x = Instance.new("Sound",char) | |
2087 | x.SoundId = "rbxassetid://228343271" | |
2088 | x.Pitch = 1 | |
2089 | x.Volume = .8 | |
2090 | wait(.1) | |
2091 | x:Play() | |
2092 | Debounces.on = false | |
2093 | Debounces.Here = false | |
2094 | shot = shot + 1 | |
2095 | local rng = Instance.new("Part", larm) | |
2096 | rng.Anchored = true | |
2097 | rng.BrickColor = BrickColor.new("New Yeller") | |
2098 | rng.CanCollide = false | |
2099 | rng.FormFactor = 3 | |
2100 | rng.Name = "Ring" | |
2101 | rng.Size = Vector3.new(1, 1, 1) | |
2102 | rng.Transparency = 0.35 | |
2103 | rng.TopSurface = 0 | |
2104 | rng.BottomSurface = 0 | |
2105 | rng2 = rng:clone() | |
2106 | rng3 = rng2:clone() | |
2107 | rng4 = rng2:clone() | |
2108 | local rngm = Instance.new("SpecialMesh", rng) | |
2109 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2110 | rngm.Scale = Vector3.new(10, 10, 1) | |
2111 | rngm2 = rngm:clone() | |
2112 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2113 | rngm3=rngm2:clone() | |
2114 | rngm3.Parent = rng3 | |
2115 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2116 | rngm4 = rngm2:clone() | |
2117 | rngm4.Parent = rng4 | |
2118 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2119 | local bem = Instance.new("Part", larm) | |
2120 | bem.Anchored = true | |
2121 | bem.BrickColor = BrickColor.new("New Yeller") | |
2122 | bem.CanCollide = false | |
2123 | bem.FormFactor = 3 | |
2124 | bem.Name = "Beam" .. shot | |
2125 | bem.Size = Vector3.new(1, 1, 1) | |
2126 | bem.Transparency = 0.35 | |
2127 | bem.TopSurface = 0 | |
2128 | bem.BottomSurface = 0 | |
2129 | local bemm = Instance.new("SpecialMesh", bem) | |
2130 | bemm.MeshType = 4 | |
2131 | bemm.Scale = Vector3.new(1, 4, 4) | |
2132 | local out = Instance.new("Part", larm) | |
2133 | out.Anchored = true | |
2134 | out.BrickColor = BrickColor.new("New Yeller") | |
2135 | out.CanCollide = false | |
2136 | out.FormFactor = 3 | |
2137 | out.Name = "Out" | |
2138 | out.Size = Vector3.new(4, 4, 4) | |
2139 | out.Transparency = 0.35 | |
2140 | out.TopSurface = 0 | |
2141 | out.BottomSurface = 0 | |
2142 | local outm = Instance.new("SpecialMesh", out) | |
2143 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2144 | outm.Scale = Vector3.new(6, 4, 6) | |
2145 | local bnd = Instance.new("Part", larm) | |
2146 | bnd.Anchored = true | |
2147 | bnd.BrickColor = BrickColor.new("New Yeller") | |
2148 | bnd.CanCollide = false | |
2149 | bnd.FormFactor = 3 | |
2150 | bnd.Name = "Bend" | |
2151 | bnd.Size = Vector3.new(1, 1, 1) | |
2152 | bnd.Transparency = 1 | |
2153 | bnd.TopSurface = 0 | |
2154 | bnd.BottomSurface = 0 | |
2155 | local bndm = Instance.new("SpecialMesh", bnd) | |
2156 | bndm.MeshType = 3 | |
2157 | bndm.Scale = Vector3.new(8, 8, 8) | |
2158 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2159 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2160 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2161 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2162 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2163 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2164 | Debounces.Shewt = true | |
2165 | coroutine.wrap(function() | |
2166 | for i = 1, 20, 0.2 do | |
2167 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2168 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2169 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2170 | rng.Transparency = i/20 | |
2171 | rng3.Transparency = 1/24 | |
2172 | rng4.Transparency = i/26 | |
2173 | wait() | |
2174 | end | |
2175 | wait() | |
2176 | rng:Destroy() | |
2177 | end)() | |
2178 | if Debounces.Shewt == true then | |
2179 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2180 | hit = ht.Parent | |
2181 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2182 | if HasntTouched(hit.Name) == true and deb == false then | |
2183 | deb = true | |
2184 | coroutine.wrap(function() | |
2185 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2186 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2187 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2188 | end)() | |
2189 | table.insert(Touche, hit.Name) | |
2190 | deb = false | |
2191 | end | |
2192 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2193 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2194 | deb = true | |
2195 | coroutine.wrap(function() | |
2196 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2197 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2198 | wait(1) | |
2199 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2200 | end)() | |
2201 | table.insert(Touche, hit.Parent.Name) | |
2202 | deb = false | |
2203 | for i, v in pairs(Touche) do | |
2204 | print(v) | |
2205 | end | |
2206 | end | |
2207 | end | |
2208 | end) | |
2209 | end | |
2210 | for i = 0, 260, 8 do | |
2211 | bem.Size = Vector3.new(i, 3, 3) | |
2212 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2213 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2214 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2215 | bnd.Size = Vector3.new(1,1,1) | |
2216 | bndm.Scale = Vector3.new(8,8,8) | |
2217 | if i % 10 == 0 then | |
2218 | local newRng = rng2:Clone() | |
2219 | newRng.Parent = larm | |
2220 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2221 | local newRngm = rngm2:clone() | |
2222 | newRngm.Parent=newRng | |
2223 | coroutine.wrap(function() | |
2224 | for i = 1, 10, 0.2 do | |
2225 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2226 | newRng.Transparency = i/10 | |
2227 | wait() | |
2228 | end | |
2229 | wait() | |
2230 | newRng:Destroy() | |
2231 | end)() | |
2232 | end | |
2233 | wait() | |
2234 | end | |
2235 | wait() | |
2236 | Debounces.Shewt = false | |
2237 | bem:Destroy() | |
2238 | out:Destroy() | |
2239 | bnd:Destroy() | |
2240 | Debounces.Ready = false | |
2241 | for i, v in pairs(Touche) do | |
2242 | table.remove(Touche, i) | |
2243 | end | |
2244 | wait() | |
2245 | table.insert(Touche, char.Name) | |
2246 | Debounces.NoIdl = false | |
2247 | if Debounces.CanAttack == false then | |
2248 | Debounces.CanAttack = true | |
2249 | end | |
2250 | end | |
2251 | end | |
2252 | end) | |
2253 | ---------------------------------------------------- | |
2254 | --[[mouse.KeyDown:connect(function(key) | |
2255 | if key == "y" then | |
2256 | if Debounces.CanAttack == true then | |
2257 | Debounces.CanAttack = false | |
2258 | Debounces.NoIdl = true | |
2259 | Debounces.on = true | |
2260 | local shell = Instance.new("Part",torso) | |
2261 | shell.BrickColor = BrickColor.new("New Yeller") | |
2262 | shell.Anchored = false | |
2263 | shell.CanCollide = false | |
2264 | shell.Locked = true | |
2265 | shell.TopSurface = "SmoothNoOutlines" | |
2266 | shell.BottomSurface = "SmoothNoOutlines" | |
2267 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
2268 | shell.FormFactor = 3 | |
2269 | local shellm = Instance.new("SpecialMesh",shell) | |
2270 | shellm.MeshType = "Sphere" | |
2271 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
2272 | Omega = function() | |
2273 | local X = Instance.new("Part",char) | |
2274 | local O = Instance.new("ObjectValue",X) | |
2275 | O.Name = "creator" | |
2276 | X.Locked = true | |
2277 | X.Name = "Shell" | |
2278 | X.Anchored = false | |
2279 | X.CanCollide = false | |
2280 | X.Transparency = 0.5 | |
2281 | X.Reflectance = 0 | |
2282 | X.BottomSurface = 0 | |
2283 | X.TopSurface = 0 | |
2284 | X.Shape = 0 | |
2285 | local V = Instance.new("ObjectValue",X) | |
2286 | V.Value = char | |
2287 | V.Name = "creator" | |
2288 | X.BrickColor = BrickColor.new("New Yeller") | |
2289 | X.Size = Vector3.new(40,40,40) | |
2290 | --X.Material = "Neon" | |
2291 | local Z = Instance.new("SpecialMesh",X) | |
2292 | Z.MeshType = "Sphere" | |
2293 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
2294 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2295 | local bv = Instance.new("BodyVelocity",X) | |
2296 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2297 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2298 | bv.velocity = root.CFrame.lookVector*10 | |
2299 | Explode = X.Touched:connect(function(hit) | |
2300 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2301 | local cf = X.CFrame | |
2302 | bv:Destroy() | |
2303 | X.Anchored = true | |
2304 | Z:Remove() | |
2305 | Explode:disconnect() | |
2306 | X.Size = Vector3.new(3,3,3) | |
2307 | X.Touched:connect(function(hit) end) | |
2308 | X.CanCollide = false | |
2309 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
2310 | if v:FindFirstChild('Humanoid') then | |
2311 | v.Humanoid:TakeDamage(math.random(80,120)) | |
2312 | end | |
2313 | end | |
2314 | for i = 1, (40) do rs:wait() | |
2315 | X.Transparency = X.Transparency + (1/40) | |
2316 | X.Size = X.Size + Vector3.new(1,1,1) | |
2317 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
2318 | end | |
2319 | X:Destroy() | |
2320 | end | |
2321 | end) | |
2322 | end | |
2323 | for i = 1,200 do | |
2324 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2325 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
2326 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
2327 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2328 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2329 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2331 | if Debounces.on == false then break end | |
2332 | rs:wait() | |
2333 | end | |
2334 | for i = 1,30 do | |
2335 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
2336 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
2337 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
2338 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2339 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2340 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2341 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2342 | if Debounces.on == false then break end | |
2343 | rs:wait() | |
2344 | end | |
2345 | for i = 1,40 do | |
2346 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
2347 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2348 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
2349 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
2350 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2351 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2352 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2353 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2354 | if Debounces.on == false then break end | |
2355 | rs:wait() | |
2356 | end | |
2357 | for i = 1,40 do | |
2358 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
2359 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
2360 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
2361 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2362 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2363 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2364 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2365 | if Debounces.on == false then break end | |
2366 | rs:wait() | |
2367 | end | |
2368 | for i = 1,60 do | |
2369 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2370 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
2371 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
2372 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2373 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2374 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2375 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2376 | if Debounces.on == false then break end | |
2377 | rs:wait() | |
2378 | end | |
2379 | for i = 1,60 do | |
2380 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2381 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2382 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
2383 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
2384 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2385 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2386 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2387 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2388 | if Debounces.on == false then break end | |
2389 | rs:wait() | |
2390 | end | |
2391 | if Debounces.CanAttack == false then | |
2392 | Debounces.CanAttack = true | |
2393 | Debounces.NoIdl = false | |
2394 | Debounces.on = false | |
2395 | end | |
2396 | end | |
2397 | end | |
2398 | end)]]-- | |
2399 | ---------------------------------------------------- | |
2400 | Charging = false | |
2401 | mouse.KeyDown:connect(function(key) | |
2402 | if key == "r" then | |
2403 | if Charging == false then | |
2404 | Charging = true | |
2405 | if Debounces.CanAttack == true then | |
2406 | Debounces.CanAttack = false | |
2407 | Debounces.NoIdl = true | |
2408 | Debounces.on = true | |
2409 | for i = 1,20 do | |
2410 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2411 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2412 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2413 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2414 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2415 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2416 | if Debounces.on == false then break end | |
2417 | rs:wait() | |
2418 | end | |
2419 | --[[for i = 1,20 do | |
2420 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2421 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2422 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2423 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2424 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2425 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2426 | if Debounces.on == false then break end | |
2427 | rs:wait() | |
2428 | end]]-- | |
2429 | pt=Instance.new('Part',torso) | |
2430 | pt.Anchored=true | |
2431 | pt.CanCollide=false | |
2432 | pt.Locked = true | |
2433 | pt.FormFactor='Custom' | |
2434 | pt.Size=Vector3.new(1,1,1) | |
2435 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2436 | pt.Transparency=.6 | |
2437 | pt.BrickColor=BrickColor.new('New Yeller') | |
2438 | msh=Instance.new('SpecialMesh',pt) | |
2439 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2440 | msh.Scale=Vector3.new(8,4,8) | |
2441 | pt2=pt:clone() | |
2442 | pt2.Parent = torso | |
2443 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2444 | pt2.BrickColor=BrickColor.new("New Yeller") | |
2445 | msh2=msh:clone() | |
2446 | msh2.Parent=pt2 | |
2447 | msh2.Scale=Vector3.new(10,5,10) | |
2448 | ||
2449 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
2450 | ||
2451 | bl = Instance.new("Part", char) | |
2452 | bl.Locked = true | |
2453 | bl.Name = "Shell" | |
2454 | bl.BrickColor = BrickColor.new("New Yeller") | |
2455 | bl.Anchored = true | |
2456 | bl.CanCollide = false | |
2457 | bl.Transparency = 0 | |
2458 | bl.Reflectance = 0 | |
2459 | bl.BottomSurface = 0 | |
2460 | bl.TopSurface = 0 | |
2461 | bl.Shape = 0 | |
2462 | blm = Instance.new("SpecialMesh",bl) | |
2463 | blm.MeshType = "Sphere" | |
2464 | blm.Scale = Vector3.new(1,1,1) | |
2465 | blm.MeshId = "rbxassetid://9982590" | |
2466 | ||
2467 | coroutine.resume(coroutine.create(function() | |
2468 | for i=1, math.huge, 4 do | |
2469 | if Charging == true then | |
2470 | rs:wait() | |
2471 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2472 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2473 | bl.Transparency = bl.Transparency + 0.005 | |
2474 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2475 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2476 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2477 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2478 | elseif Charging == false then break | |
2479 | end | |
2480 | end | |
2481 | end)) | |
2482 | ||
2483 | repeat | |
2484 | local p = Instance.new('Part',torso) | |
2485 | p.formFactor = 'Custom' | |
2486 | p.Size = Vector3.new(1,1,1) | |
2487 | p.BrickColor = workspace.Base.BrickColor | |
2488 | p.CanCollide = false | |
2489 | p.Transparency = 0 | |
2490 | p.Anchored = true | |
2491 | p.Locked=true | |
2492 | p.Material = workspace.Base.Material | |
2493 | s = math.random(1,40)/10 | |
2494 | local m = Instance.new("BlockMesh",p) | |
2495 | m.Scale = Vector3.new(s,s,s) | |
2496 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2497 | --[[coroutine.wrap(function() | |
2498 | wait(2) | |
2499 | while Charging == true do | |
2500 | wait(2) | |
2501 | GroundWave1() | |
2502 | wait(2) | |
2503 | end | |
2504 | end)()]]-- | |
2505 | Spawn(function() | |
2506 | while rs:wait() do | |
2507 | if Charging == true then | |
2508 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2509 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2510 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2511 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2512 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2513 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2514 | elseif Charging == false then break | |
2515 | end | |
2516 | end | |
2517 | end) | |
2518 | Spawn(function() | |
2519 | while rs:wait() do | |
2520 | if p.Transparency >= 1 then p:Destroy() break end | |
2521 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2522 | p.Transparency = p.Transparency+0.01 | |
2523 | end | |
2524 | end) | |
2525 | wait(.3) | |
2526 | until Charging == false | |
2527 | end | |
2528 | end | |
2529 | end | |
2530 | end) | |
2531 | ---------------------------------------------------- | |
2532 | mouse.KeyUp:connect(function(key) | |
2533 | if key == "r" then | |
2534 | if Charging == true then | |
2535 | Charging = false | |
2536 | pt:Destroy() | |
2537 | pt2:Destroy() | |
2538 | bl:Destroy() | |
2539 | if Debounces.CanAttack == false then | |
2540 | Debounces.CanAttack = true | |
2541 | Debounces.NoIdl = false | |
2542 | Debounces.on = false | |
2543 | end | |
2544 | end | |
2545 | end | |
2546 | end) | |
2547 | ---------------------------------------------------- | |
2548 | mouse.KeyDown:connect(function(key) | |
2549 | if key == "g" then | |
2550 | if Debounces.CanAttack == true then | |
2551 | Debounces.CanAttack = false | |
2552 | Debounces.NoIdl = true | |
2553 | Debounces.on = true | |
2554 | local shell = Instance.new("Part",torso) | |
2555 | shell.BrickColor = BrickColor.new("New Yeller") | |
2556 | shell.Anchored = true | |
2557 | shell.CanCollide = false | |
2558 | shell.Locked = true | |
2559 | shell.TopSurface = "SmoothNoOutlines" | |
2560 | shell.BottomSurface = "SmoothNoOutlines" | |
2561 | shell.Size = Vector3.new(1,1,1) | |
2562 | shellm = Instance.new("SpecialMesh",shell) | |
2563 | shellm.MeshType = "Sphere" | |
2564 | shellm.Scale = Vector3.new(1,1,1) | |
2565 | local shell2 = Instance.new("Part",torso) | |
2566 | shell2.BrickColor = BrickColor.new("New Yeller") | |
2567 | shell2.Anchored = true | |
2568 | shell2.CanCollide = false | |
2569 | shell2.Locked = true | |
2570 | shell2.TopSurface = "SmoothNoOutlines" | |
2571 | shell2.BottomSurface = "SmoothNoOutlines" | |
2572 | shell2.Size = Vector3.new(1,1,1) | |
2573 | shellm2 = Instance.new("SpecialMesh",shell2) | |
2574 | shellm2.MeshType = "Sphere" | |
2575 | shellm2.Scale = Vector3.new(1,1,1) | |
2576 | ||
2577 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2578 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2579 | local List = {} | |
2580 | for i,v in pairs(workspace:GetChildren())do | |
2581 | if v:IsA("Model")then | |
2582 | if v:findFirstChild("Torso")then | |
2583 | if v ~= char then | |
2584 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2585 | table.insert(List,v) | |
2586 | end | |
2587 | end | |
2588 | end | |
2589 | end | |
2590 | end | |
2591 | return List | |
2592 | end | |
2593 | ||
2594 | Shell = function() | |
2595 | local X = Instance.new("Part",char) | |
2596 | local O = Instance.new("ObjectValue",X) | |
2597 | O.Name = "creator" | |
2598 | X.Locked = true | |
2599 | X.Name = "Shell" | |
2600 | X.Anchored = false | |
2601 | X.CanCollide = false | |
2602 | X.Transparency = 0 | |
2603 | X.Reflectance = 0 | |
2604 | X.BottomSurface = 0 | |
2605 | X.TopSurface = 0 | |
2606 | X.Shape = 0 | |
2607 | local V = Instance.new("ObjectValue",X) | |
2608 | V.Value = char | |
2609 | V.Name = "creator" | |
2610 | X.BrickColor = BrickColor.new("New Yeller") | |
2611 | X.Size = Vector3.new(1,1,1) | |
2612 | --X.Material = "Neon" | |
2613 | local Z = Instance.new("SpecialMesh",X) | |
2614 | Z.MeshType = "Sphere" | |
2615 | Z.Scale = Vector3.new(1,1,1) | |
2616 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2617 | local bv = Instance.new("BodyVelocity",X) | |
2618 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2619 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2620 | bv.velocity = root.CFrame.lookVector*65 | |
2621 | Explode = X.Touched:connect(function(hit) | |
2622 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2623 | local cf = X.CFrame | |
2624 | bv:Destroy() | |
2625 | X.Anchored = true | |
2626 | Z:Remove() | |
2627 | Explode:disconnect() | |
2628 | X.Size = Vector3.new(3,3,3) | |
2629 | X.Touched:connect(function(hit) end) | |
2630 | X.CanCollide = false | |
2631 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
2632 | if v:FindFirstChild('Humanoid') then | |
2633 | v.Humanoid:TakeDamage(math.random(6,12)) | |
2634 | end | |
2635 | end | |
2636 | for i = 1, (40) do rs:wait() | |
2637 | X.Transparency = X.Transparency + (1/40) | |
2638 | X.Size = X.Size + Vector3.new(1,1,1) | |
2639 | X.CFrame = cf | |
2640 | end | |
2641 | X:Destroy() | |
2642 | end | |
2643 | end) | |
2644 | end | |
2645 | Shell() | |
2646 | for i = 1, 10 do | |
2647 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2648 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2649 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2650 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
2652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
2653 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
2654 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
2655 | if Debounces.on == false then break end | |
2656 | rs:wait() | |
2657 | end | |
2658 | Shell() | |
2659 | shell.Transparency = 1 | |
2660 | for i = 1, 10 do | |
2661 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2662 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2663 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2664 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2665 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2666 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2667 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2668 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2669 | if Debounces.on == false then break end | |
2670 | rs:wait() | |
2671 | end | |
2672 | Shell() | |
2673 | shell.Transparency = 0 | |
2674 | shell2.Transparency = 1 | |
2675 | for i = 1, 10 do | |
2676 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2677 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2678 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2679 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2680 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2681 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2682 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2683 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2684 | if Debounces.on == false then break end | |
2685 | rs:wait() | |
2686 | end | |
2687 | Shell() | |
2688 | shell2.Transparency = 0 | |
2689 | shell.Transparency = 1 | |
2690 | for i = 1, 10 do | |
2691 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2692 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2693 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2694 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2695 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2696 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2697 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2698 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2699 | if Debounces.on == false then break end | |
2700 | rs:wait() | |
2701 | end | |
2702 | Shell() | |
2703 | shell.Transparency = 0 | |
2704 | shell2.Transparency = 1 | |
2705 | for i = 1, 10 do | |
2706 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2707 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2708 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2709 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2710 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2711 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2712 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2713 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2714 | if Debounces.on == false then break end | |
2715 | rs:wait() | |
2716 | end | |
2717 | Shell() | |
2718 | shell2.Transparency = 0 | |
2719 | shell.Transparency = 1 | |
2720 | for i = 1, 10 do | |
2721 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2722 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2723 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2724 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2725 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2727 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2728 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2729 | if Debounces.on == false then break end | |
2730 | rs:wait() | |
2731 | end | |
2732 | Shell() | |
2733 | shell.Transparency = 0 | |
2734 | shell2.Transparency = 1 | |
2735 | for i = 1, 10 do | |
2736 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2737 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2738 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2739 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
2740 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2741 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2742 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2743 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2744 | if Debounces.on == false then break end | |
2745 | rs:wait() | |
2746 | end | |
2747 | Shell() | |
2748 | shell2.Transparency = 0 | |
2749 | shell.Transparency = 1 | |
2750 | for i = 1, 10 do | |
2751 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2752 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2753 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2754 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2755 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2757 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2758 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2759 | if Debounces.on == false then break end | |
2760 | rs:wait() | |
2761 | end | |
2762 | Shell() | |
2763 | shell.Transparency = 0 | |
2764 | shell2.Transparency = 1 | |
2765 | for i = 1, 10 do | |
2766 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2767 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2768 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2769 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2772 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2773 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2774 | if Debounces.on == false then break end | |
2775 | rs:wait() | |
2776 | end | |
2777 | Shell() | |
2778 | shell2.Transparency = 0 | |
2779 | shell.Transparency = 1 | |
2780 | for i = 1, 10 do | |
2781 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2782 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2783 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2784 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2786 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2787 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2788 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2789 | if Debounces.on == false then break end | |
2790 | rs:wait() | |
2791 | end | |
2792 | Shell() | |
2793 | shell.Transparency = 0 | |
2794 | shell2.Transparency = 1 | |
2795 | for i = 1, 10 do | |
2796 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2797 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2798 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2799 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2800 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2801 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2802 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2803 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2804 | if Debounces.on == false then break end | |
2805 | rs:wait() | |
2806 | end | |
2807 | Shell() | |
2808 | shell2.Transparency = 0 | |
2809 | shell.Transparency = 1 | |
2810 | for i = 1, 10 do | |
2811 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2812 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2813 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2814 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2815 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2816 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2817 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2818 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2819 | if Debounces.on == false then break end | |
2820 | rs:wait() | |
2821 | end | |
2822 | Shell() | |
2823 | shell.Transparency = 0 | |
2824 | shell2.Transparency = 1 | |
2825 | for i = 1, 10 do | |
2826 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2827 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2828 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2829 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2830 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2831 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2832 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2833 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2834 | if Debounces.on == false then break end | |
2835 | rs:wait() | |
2836 | end | |
2837 | shell.Transparency = 1 | |
2838 | if Debounces.CanAttack == false then | |
2839 | Debounces.CanAttack = true | |
2840 | Debounces.NoIdl = false | |
2841 | Debounces.on = false | |
2842 | end | |
2843 | end | |
2844 | end | |
2845 | end) | |
2846 | ---------------------------------------------------- | |
2847 | Search = false | |
2848 | mouse.KeyDown:connect(function(key) | |
2849 | if key == "n" then | |
2850 | if Search == false then | |
2851 | Search = true | |
2852 | for i,v in pairs(game.Players:getPlayers()) do | |
2853 | if v.Name~=char.Name then | |
2854 | for j,k in pairs(v.Character:GetChildren()) do | |
2855 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
2856 | bawx=Instance.new("SelectionBox",cam) | |
2857 | bawx.Color = BrickColor.new("Bright red") | |
2858 | bawx.Transparency = .5 | |
2859 | bawx.Adornee = k | |
2860 | end | |
2861 | end | |
2862 | end | |
2863 | end | |
2864 | elseif Search == true then | |
2865 | Search = false | |
2866 | for i, v in pairs(cam:GetChildren()) do | |
2867 | if v:IsA("SelectionBox") then | |
2868 | v:Destroy() | |
2869 | end | |
2870 | end | |
2871 | end | |
2872 | end | |
2873 | end) | |
2874 | ---------------------------------------------------- | |
2875 | Grab = false | |
2876 | mouse.KeyDown:connect(function(key) | |
2877 | if key == "z" then | |
2878 | Debounces.on = true | |
2879 | Debounces.NoIdl = true | |
2880 | Debounces.ks = true | |
2881 | if Grab == false then | |
2882 | gp = nil | |
2883 | for i = 1, 20 do | |
2884 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
2885 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
2886 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2887 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2888 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
2889 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
2890 | if Debounces.on == false then break end | |
2891 | rs:wait() | |
2892 | end | |
2893 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2894 | ht = hit.Parent | |
2895 | hum1=ht:FindFirstChild('Humanoid') | |
2896 | if hum1 ~= nil then | |
2897 | if Debounces.ks==true then | |
2898 | z = Instance.new("Sound",hed) | |
2899 | z.SoundId = "rbxassetid://169380525" | |
2900 | z.Volume = 1 | |
2901 | z:Play() | |
2902 | Debounces.ks=false | |
2903 | end | |
2904 | hum1.PlatformStand=true | |
2905 | gp = ht | |
2906 | Grab = true | |
2907 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
2908 | asd.Parent = larm | |
2909 | asd.Name = "asd" | |
2910 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
2911 | --[[elseif hum1 == nil then | |
2912 | con1:disconnect() | |
2913 | wait() return]]-- | |
2914 | end | |
2915 | end) | |
2916 | for i = 1, 20 do | |
2917 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
2918 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
2919 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2920 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2921 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
2922 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
2923 | if Debounces.on == false then break end | |
2924 | rs:wait() | |
2925 | end | |
2926 | if hum1 == nil then | |
2927 | Debounces.on = false | |
2928 | Debounces.NoIdl = false | |
2929 | end | |
2930 | con1:disconnect() | |
2931 | elseif Grab == true then | |
2932 | Grab = false | |
2933 | Punch() | |
2934 | z = Instance.new("Sound",hed) | |
2935 | z.SoundId = "rbxassetid://169380525" | |
2936 | z.Pitch = ptz[math.random(1,#ptz)] | |
2937 | z.Volume = 1 | |
2938 | z:Play() | |
2939 | for i = 1, 10 do | |
2940 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2941 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2942 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2943 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2944 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2945 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2946 | if Debounces.on == false then break end | |
2947 | rs:wait() | |
2948 | end | |
2949 | Punch() | |
2950 | z = Instance.new("Sound",hed) | |
2951 | z.SoundId = "rbxassetid://169380525" | |
2952 | z.Pitch = ptz[math.random(1,#ptz)] | |
2953 | z.Volume = 1 | |
2954 | z:Play() | |
2955 | for i = 1, 10 do | |
2956 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2957 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2958 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2959 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2960 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2961 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2962 | if Debounces.on == false then break end | |
2963 | rs:wait() | |
2964 | end | |
2965 | Punch() | |
2966 | z = Instance.new("Sound",hed) | |
2967 | z.SoundId = "rbxassetid://169380525" | |
2968 | z.Pitch = ptz[math.random(1,#ptz)] | |
2969 | z.Volume = 1 | |
2970 | z:Play() | |
2971 | for i = 1, 10 do | |
2972 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2973 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2974 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2975 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2976 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2977 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2978 | if Debounces.on == false then break end | |
2979 | rs:wait() | |
2980 | end | |
2981 | Punch() | |
2982 | z = Instance.new("Sound",hed) | |
2983 | z.SoundId = "rbxassetid://169380525" | |
2984 | z.Pitch = ptz[math.random(1,#ptz)] | |
2985 | z.Volume = 1 | |
2986 | z:Play() | |
2987 | for i = 1, 10 do | |
2988 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2989 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2990 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2991 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2992 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2993 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
2994 | if Debounces.on == false then break end | |
2995 | rs:wait() | |
2996 | end | |
2997 | Punch() | |
2998 | z = Instance.new("Sound",hed) | |
2999 | z.SoundId = "rbxassetid://169380525" | |
3000 | z.Pitch = ptz[math.random(1,#ptz)] | |
3001 | z.Volume = 1 | |
3002 | z:Play() | |
3003 | for i = 1, 10 do | |
3004 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3005 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3006 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3007 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3008 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3009 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3010 | if Debounces.on == false then break end | |
3011 | rs:wait() | |
3012 | end | |
3013 | Punch() | |
3014 | z = Instance.new("Sound",hed) | |
3015 | z.SoundId = "rbxassetid://169380525" | |
3016 | z.Pitch = ptz[math.random(1,#ptz)] | |
3017 | z.Volume = 1 | |
3018 | z:Play() | |
3019 | for i = 1, 10 do | |
3020 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3021 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3022 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3023 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3024 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3025 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3026 | if Debounces.on == false then break end | |
3027 | rs:wait() | |
3028 | end | |
3029 | Punch() | |
3030 | z = Instance.new("Sound",hed) | |
3031 | z.SoundId = "rbxassetid://169380525" | |
3032 | z.Pitch = ptz[math.random(1,#ptz)] | |
3033 | z.Volume = 1 | |
3034 | z:Play() | |
3035 | for i = 1, 10 do | |
3036 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3037 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3038 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3039 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3040 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3041 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3042 | if Debounces.on == false then break end | |
3043 | rs:wait() | |
3044 | end | |
3045 | Punch() | |
3046 | z = Instance.new("Sound",hed) | |
3047 | z.SoundId = "rbxassetid://169380525" | |
3048 | z.Pitch = ptz[math.random(1,#ptz)] | |
3049 | z.Volume = 1 | |
3050 | z:Play() | |
3051 | for i = 1, 10 do | |
3052 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3053 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3054 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3055 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3056 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3057 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3058 | if Debounces.on == false then break end | |
3059 | rs:wait() | |
3060 | end | |
3061 | Punch() | |
3062 | z = Instance.new("Sound",hed) | |
3063 | z.SoundId = "rbxassetid://169380525" | |
3064 | z.Pitch = ptz[math.random(1,#ptz)] | |
3065 | z.Volume = 1 | |
3066 | z:Play() | |
3067 | for i = 1, 10 do | |
3068 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3069 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3070 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3071 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3072 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3073 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3074 | if Debounces.on == false then break end | |
3075 | rs:wait() | |
3076 | end | |
3077 | Punch() | |
3078 | z = Instance.new("Sound",hed) | |
3079 | z.SoundId = "rbxassetid://169380525" | |
3080 | z.Pitch = ptz[math.random(1,#ptz)] | |
3081 | z.Volume = 1 | |
3082 | z:Play() | |
3083 | for i = 1, 10 do | |
3084 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3085 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3086 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3087 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3088 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3089 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3090 | if Debounces.on == false then break end | |
3091 | rs:wait() | |
3092 | end | |
3093 | Punch() | |
3094 | z = Instance.new("Sound",hed) | |
3095 | z.SoundId = "rbxassetid://169380525" | |
3096 | z.Pitch = ptz[math.random(1,#ptz)] | |
3097 | z.Volume = 1 | |
3098 | z:Play() | |
3099 | for i = 1, 10 do | |
3100 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3101 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3102 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3103 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3104 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3105 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3106 | if Debounces.on == false then break end | |
3107 | rs:wait() | |
3108 | end | |
3109 | Punch() | |
3110 | z = Instance.new("Sound",hed) | |
3111 | z.SoundId = "rbxassetid://169380525" | |
3112 | z.Pitch = ptz[math.random(1,#ptz)] | |
3113 | z.Volume = 1 | |
3114 | z:Play() | |
3115 | for i = 1, 10 do | |
3116 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3117 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3120 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3121 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3122 | if Debounces.on == false then break end | |
3123 | rs:wait() | |
3124 | end | |
3125 | con1:disconnect() | |
3126 | Debounces.on = false | |
3127 | Debounces.NoIdl = false | |
3128 | if gp ~= nil then | |
3129 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3130 | for i,v in pairs(larm:GetChildren()) do | |
3131 | if v.Name == "asd" and v:IsA("Weld") then | |
3132 | v:Remove() | |
3133 | end | |
3134 | end | |
3135 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3136 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3137 | bv.P = 125000 | |
3138 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3139 | hum1=nil | |
3140 | ht=nil | |
3141 | Debounces.on = false | |
3142 | Debounces.NoIdl = false | |
3143 | elseif ht == nil then wait() | |
3144 | Grab = false | |
3145 | Debounces.on = false | |
3146 | Debounces.NoIdl = false | |
3147 | end | |
3148 | end | |
3149 | end | |
3150 | end) | |
3151 | ---------------------------------------------------- | |
3152 | mouse.KeyDown:connect(function(key) | |
3153 | if string.byte(key) == 52 then | |
3154 | char.Humanoid.WalkSpeed = 60 | |
3155 | end | |
3156 | end) | |
3157 | mouse.KeyUp:connect(function(key) | |
3158 | if string.byte(key) == 52 then | |
3159 | char.Humanoid.WalkSpeed = 8 | |
3160 | end | |
3161 | end) | |
3162 | ------------------------------- | |
3163 | local animpose = "Idle" | |
3164 | local lastanimpose = "Idle" | |
3165 | local sine = 0 | |
3166 | local change = 1 | |
3167 | local val = 0 | |
3168 | local ffing = false | |
3169 | ------------------------------- | |
3170 | game:GetService("RunService").RenderStepped:connect(function() | |
3171 | --[[if char.Humanoid.Jump == true then | |
3172 | jump = true | |
3173 | else | |
3174 | jump = false | |
3175 | end]] | |
3176 | char.Humanoid.FreeFalling:connect(function(f) | |
3177 | if f then | |
3178 | ffing = true | |
3179 | else | |
3180 | ffing = false | |
3181 | end | |
3182 | end) | |
3183 | sine = sine + change | |
3184 | if jumpn == true then | |
3185 | animpose = "Jumping" | |
3186 | elseif ffing == true then | |
3187 | animpose = "Freefalling" | |
3188 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3189 | animpose = "Idle" | |
3190 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3191 | animpose = "Walking" | |
3192 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3193 | animpose = "Running" | |
3194 | end | |
3195 | if animpose ~= lastanimpose then | |
3196 | sine = 0 | |
3197 | if Debounces.NoIdl == false then | |
3198 | if animpose == "Idle" then | |
3199 | for i = 1, 2 do | |
3200 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
3201 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
3202 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3204 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3205 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3206 | end | |
3207 | elseif animpose == "Walking" then | |
3208 | for i = 1, 2 do | |
3209 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3210 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3211 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3212 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3213 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3214 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3215 | end | |
3216 | elseif animpose == "Running" then | |
3217 | for i = 1, 2 do | |
3218 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
3219 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
3220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3222 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3223 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3224 | wait() | |
3225 | end | |
3226 | end | |
3227 | else | |
3228 | end | |
3229 | end | |
3230 | lastanimpose = animpose | |
3231 | if Debounces.NoIdl == false then | |
3232 | if animpose == "Idle" then | |
3233 | change = 0.5 | |
3234 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
3235 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3236 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3237 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3238 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3239 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3240 | elseif animpose == "Walking" then | |
3241 | change = 1 | |
3242 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3243 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3244 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3245 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3246 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3247 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3248 | elseif animpose == "Running" then | |
3249 | change = 1 | |
3250 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
3251 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
3252 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
3254 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
3255 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
3256 | end | |
3257 | end | |
3258 | end) | |
3259 | ||
3260 | hum.MaxHealth = 9001 | |
3261 | wait(3) | |
3262 | hum.Health = 9001 | |
3263 | ||
3264 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3265 | --[[Part0 = Vector3 (Start pos) | |
3266 | Part1 = Vector3 (End pos) | |
3267 | Times = number (Amount of lightning parts) | |
3268 | Offset = number (Offset) | |
3269 | Color = color (brickcolor value) | |
3270 | Thickness = number (thickness) | |
3271 | Trans = number (transparency) | |
3272 | ]]-- | |
3273 | local magz = (Part0 - Part1).magnitude | |
3274 | local curpos = Part0 | |
3275 | local trz = {-Offset,Offset} | |
3276 | for i=1,Times do | |
3277 | local li = Instance.new("Part", torso) | |
3278 | li.Name = "Lightning" | |
3279 | li.TopSurface =0 | |
3280 | li.Material = "Neon" | |
3281 | li.BottomSurface = 0 | |
3282 | li.Anchored = true | |
3283 | li.Locked = true | |
3284 | li.Transparency = Trans or 0.4 | |
3285 | li.BrickColor = BrickColor.new(Color) | |
3286 | li.formFactor = "Custom" | |
3287 | li.CanCollide = false | |
3288 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3289 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3290 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3291 | if Times == i then | |
3292 | local magz2 = (curpos - Part1).magnitude | |
3293 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3294 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3295 | else | |
3296 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3297 | end | |
3298 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3299 | game.Debris:AddItem(li,.1) | |
3300 | end | |
3301 | end | |
3302 | ||
3303 | BodyParts = {} -- Parts to emit lightning effects from | |
3304 | for _, v in pairs(char:GetChildren()) do | |
3305 | if v:IsA("Part") then | |
3306 | table.insert(BodyParts, v) | |
3307 | end | |
3308 | end | |
3309 | ||
3310 | Bounding = {} -- Calculate the bounding boxes | |
3311 | for _, v in pairs(BodyParts) do | |
3312 | local temp = {X=nil, Y=nil, Z=nil} | |
3313 | temp.X = v.Size.X/2 * 10 | |
3314 | temp.Y = v.Size.Y/2 * 10 | |
3315 | temp.Z = v.Size.Z/2 * 10 | |
3316 | Bounding[v.Name] = temp | |
3317 | --table.insert(Bounding, v.Name, temp) | |
3318 | end | |
3319 | ||
3320 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
3321 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3322 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3323 | local Pos1 = Vector3.new( | |
3324 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3325 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3326 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3327 | ) | |
3328 | local Pos2 = Vector3.new( | |
3329 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3330 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3331 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3332 | ) | |
3333 | local SPos1 = Body1.Position + Pos1 | |
3334 | local SPos2 = Body2.Position + Pos2 | |
3335 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
3336 | end |