SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | ||
9 | - | --fixed by pixelfir3 |
9 | + | |
10 | - | --Converted with ttyyuu12345's model to script plugin v4 |
10 | + | |
11 | wait(2) | |
12 | NewInstance = function(instance,parent,properties) | |
13 | local inst = Instance.new(instance) | |
14 | inst.Parent = parent | |
15 | if(properties)then | |
16 | for i,v in next, properties do | |
17 | pcall(function() inst[i] = v end) | |
18 | end | |
19 | end | |
20 | return inst; | |
21 | end | |
22 | ---- IMPORTANT READING: | |
23 | ---- Souraes and functions might be taken from others | |
24 | ||
25 | function sandbox(var,func) | |
26 | local env = getfenv(func) | |
27 | - | ScreenGui0 = Instance.new("ScreenGui") |
27 | + | |
28 | - | Frame1 = Instance.new("Frame") |
28 | + | |
29 | - | Frame2 = Instance.new("Frame") |
29 | + | |
30 | - | Frame3 = Instance.new("Frame") |
30 | + | |
31 | - | TextLabel4 = Instance.new("TextLabel") |
31 | + | |
32 | - | TextLabel5 = Instance.new("TextLabel") |
32 | + | |
33 | - | TextLabel6 = Instance.new("TextLabel") |
33 | + | |
34 | - | Frame7 = Instance.new("Frame") |
34 | + | |
35 | - | Frame8 = Instance.new("Frame") |
35 | + | |
36 | - | TextLabel9 = Instance.new("TextLabel") |
36 | + | |
37 | - | TextLabel10 = Instance.new("TextLabel") |
37 | + | |
38 | - | TextLabel11 = Instance.new("TextLabel") |
38 | + | |
39 | - | Frame12 = Instance.new("Frame") |
39 | + | |
40 | - | Frame13 = Instance.new("Frame") |
40 | + | |
41 | - | TextLabel14 = Instance.new("TextLabel") |
41 | + | Model0 = Instance.new("Model") |
42 | - | TextLabel15 = Instance.new("TextLabel") |
42 | + | Part1 = Instance.new("Part") |
43 | - | Frame16 = Instance.new("Frame") |
43 | + | Model2 = Instance.new("Model") |
44 | - | TextLabel17 = Instance.new("TextLabel") |
44 | + | Part3 = Instance.new("Part") |
45 | - | Frame18 = Instance.new("Frame") |
45 | + | Part4 = Instance.new("Part") |
46 | - | TextLabel19 = Instance.new("TextLabel") |
46 | + | SpecialMesh5 = Instance.new("SpecialMesh") |
47 | - | TextLabel20 = Instance.new("TextLabel") |
47 | + | Part6 = Instance.new("Part") |
48 | - | Frame21 = Instance.new("Frame") |
48 | + | SpecialMesh7 = Instance.new("SpecialMesh") |
49 | - | TextLabel22 = Instance.new("TextLabel") |
49 | + | Part8 = Instance.new("Part") |
50 | - | Frame23 = Instance.new("Frame") |
50 | + | SpecialMesh9 = Instance.new("SpecialMesh") |
51 | - | TextLabel24 = Instance.new("TextLabel") |
51 | + | Part10 = Instance.new("Part") |
52 | - | Frame25 = Instance.new("Frame") |
52 | + | SpecialMesh11 = Instance.new("SpecialMesh") |
53 | - | TextLabel26 = Instance.new("TextLabel") |
53 | + | Part12 = Instance.new("Part") |
54 | - | TextLabel27 = Instance.new("TextLabel") |
54 | + | Part13 = Instance.new("Part") |
55 | - | TextLabel28 = Instance.new("TextLabel") |
55 | + | Part14 = Instance.new("Part") |
56 | - | Frame29 = Instance.new("Frame") |
56 | + | Part15 = Instance.new("Part") |
57 | - | TextLabel30 = Instance.new("TextLabel") |
57 | + | Part16 = Instance.new("Part") |
58 | - | TextLabel31 = Instance.new("TextLabel") |
58 | + | Weld17 = Instance.new("Weld") |
59 | - | TextLabel32 = Instance.new("TextLabel") |
59 | + | Weld18 = Instance.new("Weld") |
60 | - | TextLabel33 = Instance.new("TextLabel") |
60 | + | Weld19 = Instance.new("Weld") |
61 | - | Frame34 = Instance.new("Frame") |
61 | + | Weld20 = Instance.new("Weld") |
62 | - | LocalScript35 = Instance.new("LocalScript") |
62 | + | Weld21 = Instance.new("Weld") |
63 | - | LocalScript36 = Instance.new("LocalScript") |
63 | + | Weld22 = Instance.new("Weld") |
64 | - | LocalScript37 = Instance.new("LocalScript") |
64 | + | Weld23 = Instance.new("Weld") |
65 | - | Model38 = Instance.new("Model") |
65 | + | Weld24 = Instance.new("Weld") |
66 | - | Part39 = Instance.new("Part") |
66 | + | Weld25 = Instance.new("Weld") |
67 | - | SpecialMesh40 = Instance.new("SpecialMesh") |
67 | + | Weld26 = Instance.new("Weld") |
68 | Weld27 = Instance.new("Weld") | |
69 | - | Part42 = Instance.new("Part") |
69 | + | Weld28 = Instance.new("Weld") |
70 | - | SpecialMesh43 = Instance.new("SpecialMesh") |
70 | + | Weld29 = Instance.new("Weld") |
71 | Weld30 = Instance.new("Weld") | |
72 | - | Part45 = Instance.new("Part") |
72 | + | Weld31 = Instance.new("Weld") |
73 | - | SpecialMesh46 = Instance.new("SpecialMesh") |
73 | + | Weld32 = Instance.new("Weld") |
74 | Weld33 = Instance.new("Weld") | |
75 | - | Part48 = Instance.new("Part") |
75 | + | Weld34 = Instance.new("Weld") |
76 | - | SpecialMesh49 = Instance.new("SpecialMesh") |
76 | + | Weld35 = Instance.new("Weld") |
77 | Weld36 = Instance.new("Weld") | |
78 | - | Part51 = Instance.new("Part") |
78 | + | Weld37 = Instance.new("Weld") |
79 | - | SpecialMesh52 = Instance.new("SpecialMesh") |
79 | + | Weld38 = Instance.new("Weld") |
80 | Weld39 = Instance.new("Weld") | |
81 | - | Part54 = Instance.new("Part") |
81 | + | Weld40 = Instance.new("Weld") |
82 | - | SpecialMesh55 = Instance.new("SpecialMesh") |
82 | + | |
83 | Weld42 = Instance.new("Weld") | |
84 | - | Part57 = Instance.new("Part") |
84 | + | Weld43 = Instance.new("Weld") |
85 | - | ParticleEmitter58 = Instance.new("ParticleEmitter") |
85 | + | |
86 | - | ScreenGui0.Name = "Eldrich_Gui" |
86 | + | Weld45 = Instance.new("Weld") |
87 | - | ScreenGui0.Parent = mas |
87 | + | Weld46 = Instance.new("Weld") |
88 | - | Frame1.Name = "GenStats" |
88 | + | |
89 | - | Frame1.Parent = ScreenGui0 |
89 | + | Weld48 = Instance.new("Weld") |
90 | - | Frame1.Transparency = 1 |
90 | + | Weld49 = Instance.new("Weld") |
91 | - | Frame1.Size = UDim2.new(0.899999976, 0, 0.899999976, 0) |
91 | + | |
92 | - | Frame1.Position = UDim2.new(0.100000001, 0, 0.100000001, 0) |
92 | + | Weld51 = Instance.new("Weld") |
93 | - | Frame1.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
93 | + | Weld52 = Instance.new("Weld") |
94 | - | Frame1.BackgroundTransparency = 1 |
94 | + | |
95 | - | Frame1.BorderSizePixel = 0 |
95 | + | Weld54 = Instance.new("Weld") |
96 | - | Frame2.Name = "Attacks" |
96 | + | Weld55 = Instance.new("Weld") |
97 | - | Frame2.Parent = Frame1 |
97 | + | |
98 | - | Frame2.Transparency = 1 |
98 | + | Weld57 = Instance.new("Weld") |
99 | - | Frame2.Size = UDim2.new(1, 0, 1, 0) |
99 | + | Weld58 = Instance.new("Weld") |
100 | - | Frame2.BackgroundColor3 = Color3.new(1, 1, 1) |
100 | + | Weld59 = Instance.new("Weld") |
101 | - | Frame2.BackgroundTransparency = 1 |
101 | + | Weld60 = Instance.new("Weld") |
102 | - | Frame3.Name = "Attack4" |
102 | + | Weld61 = Instance.new("Weld") |
103 | - | Frame3.Parent = Frame2 |
103 | + | Weld62 = Instance.new("Weld") |
104 | - | Frame3.Size = UDim2.new(0.224999994, 0, 0.075000003, 0) |
104 | + | Weld63 = Instance.new("Weld") |
105 | - | Frame3.Position = UDim2.new(0.764999986, 0, 0.910000026, 0) |
105 | + | Weld64 = Instance.new("Weld") |
106 | - | Frame3.BackgroundColor3 = Color3.new(0, 0, 0) |
106 | + | Weld65 = Instance.new("Weld") |
107 | - | Frame3.BorderSizePixel = 0 |
107 | + | Weld66 = Instance.new("Weld") |
108 | - | TextLabel4.Name = "AttackLabel" |
108 | + | Weld67 = Instance.new("Weld") |
109 | - | TextLabel4.Parent = Frame3 |
109 | + | Weld68 = Instance.new("Weld") |
110 | - | TextLabel4.Transparency = 1 |
110 | + | Weld69 = Instance.new("Weld") |
111 | - | TextLabel4.Size = UDim2.new(0.75, 0, 0.600000024, 0) |
111 | + | Weld70 = Instance.new("Weld") |
112 | - | TextLabel4.Text = "ATTACK" |
112 | + | Weld71 = Instance.new("Weld") |
113 | - | TextLabel4.Position = UDim2.new(0, 0, 0.25, 0) |
113 | + | Weld72 = Instance.new("Weld") |
114 | - | TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1) |
114 | + | Weld73 = Instance.new("Weld") |
115 | - | TextLabel4.BackgroundTransparency = 1 |
115 | + | Weld74 = Instance.new("Weld") |
116 | - | TextLabel4.BorderSizePixel = 0 |
116 | + | Weld75 = Instance.new("Weld") |
117 | - | TextLabel4.ZIndex = 3 |
117 | + | Weld76 = Instance.new("Weld") |
118 | - | TextLabel4.Font = Enum.Font.Arial |
118 | + | Weld77 = Instance.new("Weld") |
119 | - | TextLabel4.FontSize = Enum.FontSize.Size14 |
119 | + | Weld78 = Instance.new("Weld") |
120 | - | TextLabel4.TextColor3 = Color3.new(1, 1, 1) |
120 | + | Weld79 = Instance.new("Weld") |
121 | - | TextLabel4.TextScaled = true |
121 | + | Weld80 = Instance.new("Weld") |
122 | - | TextLabel4.TextWrapped = true |
122 | + | Weld81 = Instance.new("Weld") |
123 | - | TextLabel4.TextYAlignment = Enum.TextYAlignment.Top |
123 | + | Weld82 = Instance.new("Weld") |
124 | - | TextLabel5.Name = "EnergyLabel" |
124 | + | Weld83 = Instance.new("Weld") |
125 | - | TextLabel5.Parent = Frame3 |
125 | + | Weld84 = Instance.new("Weld") |
126 | - | TextLabel5.Transparency = 1 |
126 | + | Weld85 = Instance.new("Weld") |
127 | - | TextLabel5.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
127 | + | Weld86 = Instance.new("Weld") |
128 | - | TextLabel5.Text = "25 Energy" |
128 | + | Weld87 = Instance.new("Weld") |
129 | - | TextLabel5.Position = UDim2.new(0.725000024, 0, 0.5, 0) |
129 | + | Weld88 = Instance.new("Weld") |
130 | - | TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1) |
130 | + | Weld89 = Instance.new("Weld") |
131 | - | TextLabel5.BackgroundTransparency = 1 |
131 | + | Weld90 = Instance.new("Weld") |
132 | - | TextLabel5.BorderSizePixel = 0 |
132 | + | Weld91 = Instance.new("Weld") |
133 | - | TextLabel5.ZIndex = 3 |
133 | + | Weld92 = Instance.new("Weld") |
134 | - | TextLabel5.Font = Enum.Font.Cartoon |
134 | + | Weld93 = Instance.new("Weld") |
135 | - | TextLabel5.FontSize = Enum.FontSize.Size14 |
135 | + | Weld94 = Instance.new("Weld") |
136 | - | TextLabel5.TextColor3 = Color3.new(1, 1, 1) |
136 | + | Weld95 = Instance.new("Weld") |
137 | - | TextLabel5.TextScaled = true |
137 | + | Weld96 = Instance.new("Weld") |
138 | - | TextLabel5.TextWrapped = true |
138 | + | Weld97 = Instance.new("Weld") |
139 | - | TextLabel6.Name = "KeyLabel" |
139 | + | Weld98 = Instance.new("Weld") |
140 | - | TextLabel6.Parent = Frame3 |
140 | + | Part99 = Instance.new("Part") |
141 | - | TextLabel6.Transparency = 1 |
141 | + | Part100 = Instance.new("Part") |
142 | - | TextLabel6.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
142 | + | Part101 = Instance.new("Part") |
143 | - | TextLabel6.Text = "(F)" |
143 | + | Part102 = Instance.new("Part") |
144 | - | TextLabel6.Position = UDim2.new(0.725000024, 0, 0.100000001, 0) |
144 | + | Part103 = Instance.new("Part") |
145 | - | TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1) |
145 | + | Part104 = Instance.new("Part") |
146 | - | TextLabel6.BackgroundTransparency = 1 |
146 | + | Part105 = Instance.new("Part") |
147 | - | TextLabel6.BorderSizePixel = 0 |
147 | + | Part106 = Instance.new("Part") |
148 | - | TextLabel6.ZIndex = 3 |
148 | + | Part107 = Instance.new("Part") |
149 | - | TextLabel6.Font = Enum.Font.Cartoon |
149 | + | Part108 = Instance.new("Part") |
150 | - | TextLabel6.FontSize = Enum.FontSize.Size14 |
150 | + | Part109 = Instance.new("Part") |
151 | - | TextLabel6.TextColor3 = Color3.new(1, 1, 1) |
151 | + | Part110 = Instance.new("Part") |
152 | - | TextLabel6.TextScaled = true |
152 | + | Part111 = Instance.new("Part") |
153 | - | TextLabel6.TextWrapped = true |
153 | + | Part112 = Instance.new("Part") |
154 | - | Frame7.Name = "Reload" |
154 | + | Part113 = Instance.new("Part") |
155 | - | Frame7.Parent = Frame3 |
155 | + | Part114 = Instance.new("Part") |
156 | - | Frame7.Transparency = 0.30000001192093 |
156 | + | Part115 = Instance.new("Part") |
157 | - | Frame7.Size = UDim2.new(1, 0, 1, 0) |
157 | + | Part116 = Instance.new("Part") |
158 | - | Frame7.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
158 | + | Part117 = Instance.new("Part") |
159 | - | Frame7.BackgroundTransparency = 0.30000001192093 |
159 | + | Part118 = Instance.new("Part") |
160 | - | Frame7.BorderSizePixel = 0 |
160 | + | Part119 = Instance.new("Part") |
161 | - | Frame7.ZIndex = 2 |
161 | + | Model120 = Instance.new("Model") |
162 | - | Frame8.Name = "Attack3" |
162 | + | Part121 = Instance.new("Part") |
163 | - | Frame8.Parent = Frame2 |
163 | + | Part122 = Instance.new("Part") |
164 | - | Frame8.Size = UDim2.new(0.224999994, 0, 0.075000003, 0) |
164 | + | Part123 = Instance.new("Part") |
165 | - | Frame8.Position = UDim2.new(0.764999986, 0, 0.819999993, 0) |
165 | + | Part124 = Instance.new("Part") |
166 | - | Frame8.BackgroundColor3 = Color3.new(0, 0, 0) |
166 | + | Part125 = Instance.new("Part") |
167 | - | Frame8.BorderSizePixel = 0 |
167 | + | SpecialMesh126 = Instance.new("SpecialMesh") |
168 | - | TextLabel9.Name = "AttackLabel" |
168 | + | Part127 = Instance.new("Part") |
169 | - | TextLabel9.Parent = Frame8 |
169 | + | SpecialMesh128 = Instance.new("SpecialMesh") |
170 | - | TextLabel9.Transparency = 1 |
170 | + | Part129 = Instance.new("Part") |
171 | - | TextLabel9.Size = UDim2.new(0.75, 0, 0.600000024, 0) |
171 | + | SpecialMesh130 = Instance.new("SpecialMesh") |
172 | - | TextLabel9.Text = "ATTACK" |
172 | + | Part131 = Instance.new("Part") |
173 | - | TextLabel9.Position = UDim2.new(0, 0, 0.25, 0) |
173 | + | Part132 = Instance.new("Part") |
174 | - | TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1) |
174 | + | Part133 = Instance.new("Part") |
175 | - | TextLabel9.BackgroundTransparency = 1 |
175 | + | SpecialMesh134 = Instance.new("SpecialMesh") |
176 | - | TextLabel9.BorderSizePixel = 0 |
176 | + | Part135 = Instance.new("Part") |
177 | - | TextLabel9.ZIndex = 3 |
177 | + | SpecialMesh136 = Instance.new("SpecialMesh") |
178 | - | TextLabel9.Font = Enum.Font.Arial |
178 | + | Part137 = Instance.new("Part") |
179 | - | TextLabel9.FontSize = Enum.FontSize.Size14 |
179 | + | Part138 = Instance.new("Part") |
180 | - | TextLabel9.TextColor3 = Color3.new(1, 1, 1) |
180 | + | Part139 = Instance.new("Part") |
181 | - | TextLabel9.TextScaled = true |
181 | + | Part140 = Instance.new("Part") |
182 | - | TextLabel9.TextWrapped = true |
182 | + | Part141 = Instance.new("Part") |
183 | - | TextLabel9.TextYAlignment = Enum.TextYAlignment.Top |
183 | + | Part142 = Instance.new("Part") |
184 | - | TextLabel10.Name = "EnergyLabel" |
184 | + | Part143 = Instance.new("Part") |
185 | - | TextLabel10.Parent = Frame8 |
185 | + | Part144 = Instance.new("Part") |
186 | - | TextLabel10.Transparency = 1 |
186 | + | Part145 = Instance.new("Part") |
187 | - | TextLabel10.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
187 | + | SpecialMesh146 = Instance.new("SpecialMesh") |
188 | - | TextLabel10.Text = "25 Energy" |
188 | + | Part147 = Instance.new("Part") |
189 | - | TextLabel10.Position = UDim2.new(0.725000024, 0, 0.5, 0) |
189 | + | SpecialMesh148 = Instance.new("SpecialMesh") |
190 | - | TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1) |
190 | + | Part149 = Instance.new("Part") |
191 | - | TextLabel10.BackgroundTransparency = 1 |
191 | + | SpecialMesh150 = Instance.new("SpecialMesh") |
192 | - | TextLabel10.BorderSizePixel = 0 |
192 | + | Part151 = Instance.new("Part") |
193 | - | TextLabel10.ZIndex = 3 |
193 | + | SpecialMesh152 = Instance.new("SpecialMesh") |
194 | - | TextLabel10.Font = Enum.Font.Cartoon |
194 | + | Part153 = Instance.new("Part") |
195 | - | TextLabel10.FontSize = Enum.FontSize.Size14 |
195 | + | SpecialMesh154 = Instance.new("SpecialMesh") |
196 | - | TextLabel10.TextColor3 = Color3.new(1, 1, 1) |
196 | + | Part155 = Instance.new("Part") |
197 | - | TextLabel10.TextScaled = true |
197 | + | SpecialMesh156 = Instance.new("SpecialMesh") |
198 | - | TextLabel10.TextWrapped = true |
198 | + | Part157 = Instance.new("Part") |
199 | - | TextLabel11.Name = "KeyLabel" |
199 | + | SpecialMesh158 = Instance.new("SpecialMesh") |
200 | - | TextLabel11.Parent = Frame8 |
200 | + | Part159 = Instance.new("Part") |
201 | - | TextLabel11.Transparency = 1 |
201 | + | SpecialMesh160 = Instance.new("SpecialMesh") |
202 | - | TextLabel11.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
202 | + | Part161 = Instance.new("Part") |
203 | - | TextLabel11.Text = "(R)" |
203 | + | SpecialMesh162 = Instance.new("SpecialMesh") |
204 | - | TextLabel11.Position = UDim2.new(0.725000024, 0, 0.100000001, 0) |
204 | + | Part163 = Instance.new("Part") |
205 | - | TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1) |
205 | + | SpecialMesh164 = Instance.new("SpecialMesh") |
206 | - | TextLabel11.BackgroundTransparency = 1 |
206 | + | Part165 = Instance.new("Part") |
207 | - | TextLabel11.BorderSizePixel = 0 |
207 | + | SpecialMesh166 = Instance.new("SpecialMesh") |
208 | - | TextLabel11.ZIndex = 3 |
208 | + | Part167 = Instance.new("Part") |
209 | - | TextLabel11.Font = Enum.Font.Cartoon |
209 | + | SpecialMesh168 = Instance.new("SpecialMesh") |
210 | - | TextLabel11.FontSize = Enum.FontSize.Size14 |
210 | + | Part169 = Instance.new("Part") |
211 | - | TextLabel11.TextColor3 = Color3.new(1, 1, 1) |
211 | + | SpecialMesh170 = Instance.new("SpecialMesh") |
212 | - | TextLabel11.TextScaled = true |
212 | + | Part171 = Instance.new("Part") |
213 | - | TextLabel11.TextWrapped = true |
213 | + | SpecialMesh172 = Instance.new("SpecialMesh") |
214 | - | Frame12.Name = "Reload" |
214 | + | Part173 = Instance.new("Part") |
215 | - | Frame12.Parent = Frame8 |
215 | + | SpecialMesh174 = Instance.new("SpecialMesh") |
216 | - | Frame12.Transparency = 0.30000001192093 |
216 | + | Part175 = Instance.new("Part") |
217 | - | Frame12.Size = UDim2.new(1, 0, 1, 0) |
217 | + | SpecialMesh176 = Instance.new("SpecialMesh") |
218 | - | Frame12.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
218 | + | Part177 = Instance.new("Part") |
219 | - | Frame12.BackgroundTransparency = 0.30000001192093 |
219 | + | SpecialMesh178 = Instance.new("SpecialMesh") |
220 | - | Frame12.BorderSizePixel = 0 |
220 | + | Part179 = Instance.new("Part") |
221 | - | Frame12.ZIndex = 2 |
221 | + | SpecialMesh180 = Instance.new("SpecialMesh") |
222 | - | Frame13.Name = "Attack2" |
222 | + | Part181 = Instance.new("Part") |
223 | - | Frame13.Parent = Frame2 |
223 | + | SpecialMesh182 = Instance.new("SpecialMesh") |
224 | - | Frame13.Size = UDim2.new(0.224999994, 0, 0.075000003, 0) |
224 | + | Part183 = Instance.new("Part") |
225 | - | Frame13.Position = UDim2.new(0.764999986, 0, 0.730000019, 0) |
225 | + | SpecialMesh184 = Instance.new("SpecialMesh") |
226 | - | Frame13.BackgroundColor3 = Color3.new(0, 0, 0) |
226 | + | Part185 = Instance.new("Part") |
227 | - | Frame13.BorderSizePixel = 0 |
227 | + | SpecialMesh186 = Instance.new("SpecialMesh") |
228 | - | TextLabel14.Name = "AttackLabel" |
228 | + | Part187 = Instance.new("Part") |
229 | - | TextLabel14.Parent = Frame13 |
229 | + | SpecialMesh188 = Instance.new("SpecialMesh") |
230 | - | TextLabel14.Transparency = 1 |
230 | + | Part189 = Instance.new("Part") |
231 | - | TextLabel14.Size = UDim2.new(0.75, 0, 0.600000024, 0) |
231 | + | SpecialMesh190 = Instance.new("SpecialMesh") |
232 | - | TextLabel14.Text = "ATTACK" |
232 | + | Part191 = Instance.new("Part") |
233 | - | TextLabel14.Position = UDim2.new(0, 0, 0.25, 0) |
233 | + | SpecialMesh192 = Instance.new("SpecialMesh") |
234 | - | TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1) |
234 | + | Part193 = Instance.new("Part") |
235 | - | TextLabel14.BackgroundTransparency = 1 |
235 | + | SpecialMesh194 = Instance.new("SpecialMesh") |
236 | - | TextLabel14.BorderSizePixel = 0 |
236 | + | Part195 = Instance.new("Part") |
237 | - | TextLabel14.ZIndex = 3 |
237 | + | SpecialMesh196 = Instance.new("SpecialMesh") |
238 | - | TextLabel14.Font = Enum.Font.Arial |
238 | + | Part197 = Instance.new("Part") |
239 | - | TextLabel14.FontSize = Enum.FontSize.Size14 |
239 | + | SpecialMesh198 = Instance.new("SpecialMesh") |
240 | - | TextLabel14.TextColor3 = Color3.new(1, 1, 1) |
240 | + | Part199 = Instance.new("Part") |
241 | - | TextLabel14.TextScaled = true |
241 | + | SpecialMesh200 = Instance.new("SpecialMesh") |
242 | - | TextLabel14.TextWrapped = true |
242 | + | Part201 = Instance.new("Part") |
243 | - | TextLabel14.TextYAlignment = Enum.TextYAlignment.Top |
243 | + | SpecialMesh202 = Instance.new("SpecialMesh") |
244 | - | TextLabel15.Name = "EnergyLabel" |
244 | + | Part203 = Instance.new("Part") |
245 | - | TextLabel15.Parent = Frame13 |
245 | + | SpecialMesh204 = Instance.new("SpecialMesh") |
246 | - | TextLabel15.Transparency = 1 |
246 | + | Part205 = Instance.new("Part") |
247 | - | TextLabel15.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
247 | + | SpecialMesh206 = Instance.new("SpecialMesh") |
248 | - | TextLabel15.Text = "25 Energy" |
248 | + | Part207 = Instance.new("Part") |
249 | - | TextLabel15.Position = UDim2.new(0.725000024, 0, 0.5, 0) |
249 | + | SpecialMesh208 = Instance.new("SpecialMesh") |
250 | - | TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1) |
250 | + | Model0.Name = "Ruin Delta" |
251 | - | TextLabel15.BackgroundTransparency = 1 |
251 | + | Model0.Parent = mas |
252 | - | TextLabel15.BorderSizePixel = 0 |
252 | + | Part1.Name = "TrueHandle" |
253 | - | TextLabel15.ZIndex = 3 |
253 | + | Part1.Parent = Model0 |
254 | - | TextLabel15.Font = Enum.Font.Cartoon |
254 | + | Part1.CFrame = CFrame.new(-12, 2, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
255 | - | TextLabel15.FontSize = Enum.FontSize.Size14 |
255 | + | Part1.Position = Vector3.new(-12, 2, -11) |
256 | - | TextLabel15.TextColor3 = Color3.new(1, 1, 1) |
256 | + | Part1.Transparency = 1 |
257 | - | TextLabel15.TextScaled = true |
257 | + | Part1.Size = Vector3.new(1, 1, 1) |
258 | - | TextLabel15.TextWrapped = true |
258 | + | Part1.BottomSurface = Enum.SurfaceType.Smooth |
259 | - | Frame16.Name = "Reload" |
259 | + | Part1.CanCollide = false |
260 | - | Frame16.Parent = Frame13 |
260 | + | Part1.TopSurface = Enum.SurfaceType.Smooth |
261 | - | Frame16.Transparency = 0.30000001192093 |
261 | + | Model2.Name = "SecCol" |
262 | - | Frame16.Size = UDim2.new(1, 0, 1, 0) |
262 | + | Model2.Parent = Model0 |
263 | - | Frame16.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
263 | + | Part3.Parent = Model2 |
264 | - | Frame16.BackgroundTransparency = 0.30000001192093 |
264 | + | Part3.CFrame = CFrame.new(-12.4049997, 1.59500015, -10.6000004, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
265 | - | Frame16.BorderSizePixel = 0 |
265 | + | Part3.Position = Vector3.new(-12.4049997, 1.59500015, -10.6000004) |
266 | - | Frame16.ZIndex = 2 |
266 | + | Part3.Color = Color3.new(0.105882, 0.164706, 0.207843) |
267 | - | TextLabel17.Name = "KeyLabel" |
267 | + | Part3.Size = Vector3.new(0.22999993, 0.25000006, 0.239999965) |
268 | - | TextLabel17.Parent = Frame13 |
268 | + | Part3.BottomSurface = Enum.SurfaceType.Smooth |
269 | - | TextLabel17.Transparency = 1 |
269 | + | Part3.BrickColor = BrickColor.new("Black") |
270 | - | TextLabel17.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
270 | + | Part3.CanCollide = false |
271 | - | TextLabel17.Text = "(E)" |
271 | + | Part3.Material = Enum.Material.Glass |
272 | - | TextLabel17.Position = UDim2.new(0.725000024, 0, 0.100000001, 0) |
272 | + | Part3.TopSurface = Enum.SurfaceType.Smooth |
273 | - | TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1) |
273 | + | Part3.brickColor = BrickColor.new("Black") |
274 | - | TextLabel17.BackgroundTransparency = 1 |
274 | + | Part4.Parent = Model2 |
275 | - | TextLabel17.BorderSizePixel = 0 |
275 | + | Part4.CFrame = CFrame.new(-12.2950001, 1.59500015, -10.8800001, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
276 | - | TextLabel17.ZIndex = 3 |
276 | + | Part4.Orientation = Vector3.new(0, 180, 180) |
277 | - | TextLabel17.Font = Enum.Font.Cartoon |
277 | + | Part4.Position = Vector3.new(-12.2950001, 1.59500015, -10.8800001) |
278 | - | TextLabel17.FontSize = Enum.FontSize.Size14 |
278 | + | Part4.Rotation = Vector3.new(-180, 0, 0) |
279 | - | TextLabel17.TextColor3 = Color3.new(1, 1, 1) |
279 | + | Part4.Color = Color3.new(0.105882, 0.164706, 0.207843) |
280 | - | TextLabel17.TextScaled = true |
280 | + | Part4.Size = Vector3.new(0.449999928, 0.239999995, 0.239999965) |
281 | - | TextLabel17.TextWrapped = true |
281 | + | Part4.BottomSurface = Enum.SurfaceType.Smooth |
282 | - | Frame18.Name = "Attack1" |
282 | + | Part4.BrickColor = BrickColor.new("Black") |
283 | - | Frame18.Parent = Frame2 |
283 | + | Part4.CanCollide = false |
284 | - | Frame18.Size = UDim2.new(0.224999994, 0, 0.075000003, 0) |
284 | + | Part4.Material = Enum.Material.Glass |
285 | - | Frame18.Position = UDim2.new(0.764999986, 0, 0.639999986, 0) |
285 | + | Part4.TopSurface = Enum.SurfaceType.Smooth |
286 | - | Frame18.BackgroundColor3 = Color3.new(0, 0, 0) |
286 | + | Part4.brickColor = BrickColor.new("Black") |
287 | - | Frame18.BorderSizePixel = 0 |
287 | + | SpecialMesh5.Parent = Part4 |
288 | - | TextLabel19.Name = "AttackLabel" |
288 | + | SpecialMesh5.MeshType = Enum.MeshType.Wedge |
289 | - | TextLabel19.Parent = Frame18 |
289 | + | Part6.Parent = Model2 |
290 | - | TextLabel19.Transparency = 1 |
290 | + | Part6.CFrame = CFrame.new(-12.2950001, 1.59500015, -11.1199999, 1, 0, 0, 0, 0, 1, 0, -1, 0) |
291 | - | TextLabel19.Size = UDim2.new(0.75, 0, 0.600000024, 0) |
291 | + | Part6.Orientation = Vector3.new(-90, 0, 0) |
292 | - | TextLabel19.Text = "ATTACK" |
292 | + | Part6.Position = Vector3.new(-12.2950001, 1.59500015, -11.1199999) |
293 | - | TextLabel19.Position = UDim2.new(0, 0, 0.25, 0) |
293 | + | Part6.Rotation = Vector3.new(-90, 0, 0) |
294 | - | TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1) |
294 | + | Part6.Color = Color3.new(0.105882, 0.164706, 0.207843) |
295 | - | TextLabel19.BackgroundTransparency = 1 |
295 | + | Part6.Size = Vector3.new(0.449999928, 0.239999995, 0.239999965) |
296 | - | TextLabel19.BorderSizePixel = 0 |
296 | + | Part6.BottomSurface = Enum.SurfaceType.Smooth |
297 | - | TextLabel19.ZIndex = 3 |
297 | + | Part6.BrickColor = BrickColor.new("Black") |
298 | - | TextLabel19.Font = Enum.Font.Arial |
298 | + | Part6.CanCollide = false |
299 | - | TextLabel19.FontSize = Enum.FontSize.Size14 |
299 | + | Part6.Material = Enum.Material.Glass |
300 | - | TextLabel19.TextColor3 = Color3.new(1, 1, 1) |
300 | + | Part6.TopSurface = Enum.SurfaceType.Smooth |
301 | - | TextLabel19.TextScaled = true |
301 | + | Part6.brickColor = BrickColor.new("Black") |
302 | - | TextLabel19.TextWrapped = true |
302 | + | SpecialMesh7.Parent = Part6 |
303 | - | TextLabel19.TextYAlignment = Enum.TextYAlignment.Top |
303 | + | SpecialMesh7.MeshType = Enum.MeshType.Wedge |
304 | - | TextLabel20.Name = "EnergyLabel" |
304 | + | Part8.Parent = Model2 |
305 | - | TextLabel20.Parent = Frame18 |
305 | + | Part8.CFrame = CFrame.new(-12.2950001, 1.59500015, -10.8400002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
306 | - | TextLabel20.Transparency = 1 |
306 | + | Part8.Position = Vector3.new(-12.2950001, 1.59500015, -10.8400002) |
307 | - | TextLabel20.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
307 | + | Part8.Color = Color3.new(0.105882, 0.164706, 0.207843) |
308 | - | TextLabel20.Text = "25 Energy" |
308 | + | Part8.Size = Vector3.new(0.449999928, 0.25000006, 0.239999965) |
309 | - | TextLabel20.Position = UDim2.new(0.725000024, 0, 0.5, 0) |
309 | + | Part8.BottomSurface = Enum.SurfaceType.Smooth |
310 | - | TextLabel20.BackgroundColor3 = Color3.new(1, 1, 1) |
310 | + | Part8.BrickColor = BrickColor.new("Black") |
311 | - | TextLabel20.BackgroundTransparency = 1 |
311 | + | Part8.CanCollide = false |
312 | - | TextLabel20.BorderSizePixel = 0 |
312 | + | Part8.Material = Enum.Material.Glass |
313 | - | TextLabel20.ZIndex = 3 |
313 | + | Part8.TopSurface = Enum.SurfaceType.Smooth |
314 | - | TextLabel20.Font = Enum.Font.Cartoon |
314 | + | Part8.brickColor = BrickColor.new("Black") |
315 | - | TextLabel20.FontSize = Enum.FontSize.Size14 |
315 | + | SpecialMesh9.Parent = Part8 |
316 | - | TextLabel20.TextColor3 = Color3.new(1, 1, 1) |
316 | + | SpecialMesh9.MeshType = Enum.MeshType.Wedge |
317 | - | TextLabel20.TextScaled = true |
317 | + | Part10.Parent = Model2 |
318 | - | TextLabel20.TextWrapped = true |
318 | + | Part10.CFrame = CFrame.new(-12.2950001, 1.59500015, -11.1599998, -1, 0, -8.74227766e-08, 3.55271368e-15, 1, 0, 8.74227766e-08, 0, -1) |
319 | - | Frame21.Name = "Reload" |
319 | + | Part10.Orientation = Vector3.new(0, -180, 0) |
320 | - | Frame21.Parent = Frame18 |
320 | + | Part10.Position = Vector3.new(-12.2950001, 1.59500015, -11.1599998) |
321 | - | Frame21.Transparency = 0.30000001192093 |
321 | + | Part10.Rotation = Vector3.new(-180, 0, -180) |
322 | - | Frame21.Size = UDim2.new(1, 0, 1, 0) |
322 | + | Part10.Color = Color3.new(0.105882, 0.164706, 0.207843) |
323 | - | Frame21.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
323 | + | Part10.Size = Vector3.new(0.449999928, 0.25000006, 0.239999965) |
324 | - | Frame21.BackgroundTransparency = 0.30000001192093 |
324 | + | Part10.BottomSurface = Enum.SurfaceType.Smooth |
325 | - | Frame21.BorderSizePixel = 0 |
325 | + | Part10.BrickColor = BrickColor.new("Black") |
326 | - | Frame21.ZIndex = 2 |
326 | + | Part10.CanCollide = false |
327 | - | TextLabel22.Name = "KeyLabel" |
327 | + | Part10.Material = Enum.Material.Glass |
328 | - | TextLabel22.Parent = Frame18 |
328 | + | Part10.TopSurface = Enum.SurfaceType.Smooth |
329 | - | TextLabel22.Transparency = 1 |
329 | + | Part10.brickColor = BrickColor.new("Black") |
330 | - | TextLabel22.Size = UDim2.new(0.25, 0, 0.400000006, 0) |
330 | + | SpecialMesh11.Parent = Part10 |
331 | - | TextLabel22.Text = "(Q)" |
331 | + | SpecialMesh11.MeshType = Enum.MeshType.Wedge |
332 | - | TextLabel22.Position = UDim2.new(0.725000024, 0, 0.100000001, 0) |
332 | + | Part12.Parent = Model2 |
333 | - | TextLabel22.BackgroundColor3 = Color3.new(1, 1, 1) |
333 | + | Part12.CFrame = CFrame.new(-12.4599991, 1.59500015, -11.4000006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
334 | - | TextLabel22.BackgroundTransparency = 1 |
334 | + | Part12.Position = Vector3.new(-12.4599991, 1.59500015, -11.4000006) |
335 | - | TextLabel22.BorderSizePixel = 0 |
335 | + | Part12.Color = Color3.new(0.105882, 0.164706, 0.207843) |
336 | - | TextLabel22.ZIndex = 3 |
336 | + | Part12.Size = Vector3.new(0.11999996, 0.25000006, 0.239999965) |
337 | - | TextLabel22.Font = Enum.Font.Cartoon |
337 | + | Part12.BottomSurface = Enum.SurfaceType.Smooth |
338 | - | TextLabel22.FontSize = Enum.FontSize.Size14 |
338 | + | Part12.BrickColor = BrickColor.new("Black") |
339 | - | TextLabel22.TextColor3 = Color3.new(1, 1, 1) |
339 | + | Part12.CanCollide = false |
340 | - | TextLabel22.TextScaled = true |
340 | + | Part12.Material = Enum.Material.Glass |
341 | - | TextLabel22.TextWrapped = true |
341 | + | Part12.TopSurface = Enum.SurfaceType.Smooth |
342 | - | Frame23.Name = "Energy" |
342 | + | Part12.brickColor = BrickColor.new("Black") |
343 | - | Frame23.Parent = Frame1 |
343 | + | Part13.Parent = Model2 |
344 | - | Frame23.Size = UDim2.new(0.224999994, 0, 0.0250000004, 0) |
344 | + | Part13.CFrame = CFrame.new(-12.2800007, 1.49500024, -11.3950005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
345 | - | Frame23.Position = UDim2.new(0.764999986, 0, 0.564999998, 0) |
345 | + | Part13.Position = Vector3.new(-12.2800007, 1.49500024, -11.3950005) |
346 | - | Frame23.BackgroundColor3 = Color3.new(0, 0, 0) |
346 | + | Part13.Color = Color3.new(0.105882, 0.164706, 0.207843) |
347 | - | Frame23.BorderColor3 = Color3.new(0, 0, 0) |
347 | + | Part13.Size = Vector3.new(0.339999914, 0.0500000566, 0.24999997) |
348 | - | Frame23.BorderSizePixel = 2 |
348 | + | Part13.BottomSurface = Enum.SurfaceType.Smooth |
349 | - | TextLabel24.Name = "Number" |
349 | + | Part13.BrickColor = BrickColor.new("Black") |
350 | - | TextLabel24.Parent = Frame23 |
350 | + | Part13.CanCollide = false |
351 | - | TextLabel24.Transparency = 1 |
351 | + | Part13.Material = Enum.Material.Glass |
352 | - | TextLabel24.Size = UDim2.new(1, 0, 1, 0) |
352 | + | Part13.TopSurface = Enum.SurfaceType.Smooth |
353 | - | TextLabel24.Text = "Loading..." |
353 | + | Part13.brickColor = BrickColor.new("Black") |
354 | - | TextLabel24.Active = true |
354 | + | Part14.Parent = Model2 |
355 | - | TextLabel24.BackgroundColor3 = Color3.new(1, 1, 1) |
355 | + | Part14.CFrame = CFrame.new(-12.2450008, 1.59000015, -11.3950005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
356 | - | TextLabel24.BackgroundTransparency = 1 |
356 | + | Part14.Position = Vector3.new(-12.2450008, 1.59000015, -11.3950005) |
357 | - | TextLabel24.BorderSizePixel = 0 |
357 | + | Part14.Color = Color3.new(0.105882, 0.164706, 0.207843) |
358 | - | TextLabel24.ZIndex = 5 |
358 | + | Part14.Size = Vector3.new(0.269999951, 0.100000061, 0.24999997) |
359 | - | TextLabel24.Font = Enum.Font.ArialBold |
359 | + | Part14.BottomSurface = Enum.SurfaceType.Smooth |
360 | - | TextLabel24.FontSize = Enum.FontSize.Size32 |
360 | + | Part14.BrickColor = BrickColor.new("Black") |
361 | - | TextLabel24.TextColor3 = Color3.new(0.952941, 0.94902, 0.94902) |
361 | + | Part14.CanCollide = false |
362 | - | TextLabel24.TextScaled = true |
362 | + | Part14.Material = Enum.Material.Glass |
363 | - | TextLabel24.TextStrokeTransparency = 0 |
363 | + | Part14.TopSurface = Enum.SurfaceType.Smooth |
364 | - | TextLabel24.TextWrapped = true |
364 | + | Part14.brickColor = BrickColor.new("Black") |
365 | - | Frame25.Name = "Reload" |
365 | + | Part15.Parent = Model2 |
366 | - | Frame25.Parent = Frame23 |
366 | + | Part15.CFrame = CFrame.new(-12.1900005, 1.68500018, -11.4900007, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
367 | - | Frame25.Transparency = 0.30000001192093 |
367 | + | Part15.Position = Vector3.new(-12.1900005, 1.68500018, -11.4900007) |
368 | - | Frame25.Size = UDim2.new(1, 0, 1, 0) |
368 | + | Part15.Color = Color3.new(0.105882, 0.164706, 0.207843) |
369 | - | Frame25.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
369 | + | Part15.Size = Vector3.new(0.379999965, 0.0500000715, 0.0599999726) |
370 | - | Frame25.BackgroundTransparency = 0.30000001192093 |
370 | + | Part15.BottomSurface = Enum.SurfaceType.Smooth |
371 | - | Frame25.BorderColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
371 | + | Part15.BrickColor = BrickColor.new("Black") |
372 | - | Frame25.BorderSizePixel = 2 |
372 | + | Part15.CanCollide = false |
373 | - | Frame25.ZIndex = 2 |
373 | + | Part15.Material = Enum.Material.Glass |
374 | - | TextLabel26.Name = "Label" |
374 | + | Part15.TopSurface = Enum.SurfaceType.Smooth |
375 | - | TextLabel26.Parent = Frame23 |
375 | + | Part15.brickColor = BrickColor.new("Black") |
376 | - | TextLabel26.Transparency = 1 |
376 | + | Part16.Parent = Model2 |
377 | - | TextLabel26.Size = UDim2.new(1, 0, 0.899999976, 0) |
377 | + | Part16.CFrame = CFrame.new(-12.045001, 1.55500019, -11.3950005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
378 | - | TextLabel26.Text = "Energy (1/s)" |
378 | + | Part16.Position = Vector3.new(-12.045001, 1.55500019, -11.3950005) |
379 | - | TextLabel26.Position = UDim2.new(0.00999999978, 0, 0.0500000007, 0) |
379 | + | Part16.Color = Color3.new(0.105882, 0.164706, 0.207843) |
380 | - | TextLabel26.Visible = false |
380 | + | Part16.Size = Vector3.new(0.0899999514, 0.170000061, 0.24999997) |
381 | - | TextLabel26.BackgroundColor3 = Color3.new(1, 1, 1) |
381 | + | Part16.BottomSurface = Enum.SurfaceType.Smooth |
382 | - | TextLabel26.BackgroundTransparency = 1 |
382 | + | Part16.BrickColor = BrickColor.new("Black") |
383 | - | TextLabel26.BorderSizePixel = 0 |
383 | + | Part16.CanCollide = false |
384 | - | TextLabel26.ZIndex = 3 |
384 | + | Part16.Material = Enum.Material.Glass |
385 | - | TextLabel26.Font = Enum.Font.ArialBold |
385 | + | Part16.TopSurface = Enum.SurfaceType.Smooth |
386 | - | TextLabel26.FontSize = Enum.FontSize.Size32 |
386 | + | Part16.brickColor = BrickColor.new("Black") |
387 | - | TextLabel26.TextColor3 = Color3.new(1, 1, 1) |
387 | + | Weld17.Name = "BTWeld" |
388 | - | TextLabel26.TextScaled = true |
388 | + | Weld17.Parent = Part16 |
389 | - | TextLabel26.TextWrapped = true |
389 | + | Weld17.C1 = CFrame.new(-0.04500103, 0.335000277, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
390 | - | TextLabel26.TextXAlignment = Enum.TextXAlignment.Left |
390 | + | Weld17.Part0 = Part16 |
391 | - | TextLabel27.Name = "Bar2" |
391 | + | Weld17.Part1 = Part137 |
392 | - | TextLabel27.Parent = Frame23 |
392 | + | Weld17.part1 = Part137 |
393 | - | TextLabel27.Size = UDim2.new(1, 0, 0.5, 0) |
393 | + | Weld18.Name = "BTWeld" |
394 | - | TextLabel27.Text = "" |
394 | + | Weld18.Parent = Part16 |
395 | - | TextLabel27.Position = UDim2.new(0, 0, 0.5, 0) |
395 | + | Weld18.C1 = CFrame.new(0.144999504, -0.129999995, 0.095000267, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
396 | - | TextLabel27.BackgroundColor3 = Color3.new(1, 0.521569, 0.0392157) |
396 | + | Weld18.Part0 = Part16 |
397 | - | TextLabel27.BorderSizePixel = 0 |
397 | + | Weld18.Part1 = Part15 |
398 | - | TextLabel27.ZIndex = 4 |
398 | + | Weld18.part1 = Part15 |
399 | - | TextLabel27.Font = Enum.Font.SourceSans |
399 | + | Weld19.Name = "BTWeld" |
400 | - | TextLabel27.FontSize = Enum.FontSize.Size14 |
400 | + | Weld19.Parent = Part16 |
401 | - | TextLabel28.Name = "Bar" |
401 | + | Weld19.C1 = CFrame.new(0.464999199, 0.0883903503, 0.045964241, 1, 0, 0, 0, -0.707106888, -0.70710665, 0, 0.70710665, -0.707106888) |
402 | - | TextLabel28.Parent = Frame23 |
402 | + | Weld19.Part0 = Part16 |
403 | - | TextLabel28.Size = UDim2.new(1, 0, 1, 0) |
403 | + | Weld19.Part1 = Part185 |
404 | - | TextLabel28.Text = "" |
404 | + | Weld19.part1 = Part185 |
405 | - | TextLabel28.BackgroundColor3 = Color3.new(1, 0.666667, 0) |
405 | + | Weld20.Name = "BTWeld" |
406 | - | TextLabel28.BorderSizePixel = 0 |
406 | + | Weld20.Parent = Part16 |
407 | - | TextLabel28.ZIndex = 3 |
407 | + | Weld20.C1 = CFrame.new(-0.199765205, 0.321587205, -0.395000458, 0.98480773, -0.173648119, -1.49011612e-08, 0.173648134, 0.98480773, 0, 0, 0, 1) |
408 | - | TextLabel28.Font = Enum.Font.SourceSans |
408 | + | Weld20.Part0 = Part16 |
409 | - | TextLabel28.FontSize = Enum.FontSize.Size14 |
409 | + | Weld20.Part1 = Part155 |
410 | - | Frame29.Name = "Health" |
410 | + | Weld20.part1 = Part155 |
411 | - | Frame29.Parent = Frame1 |
411 | + | Weld21.Name = "BTWeld" |
412 | - | Frame29.Size = UDim2.new(0.224999994, 0, 0.0250000004, 0) |
412 | + | Weld21.Parent = Part16 |
413 | - | Frame29.Position = UDim2.new(0.764999986, 0, 0.601999998, 0) |
413 | + | Weld21.C1 = CFrame.new(-0.04500103, -0.999999642, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
414 | - | Frame29.BackgroundColor3 = Color3.new(0, 0, 0) |
414 | + | Weld21.Part0 = Part16 |
415 | - | Frame29.BorderColor3 = Color3.new(0, 0, 0) |
415 | + | Weld21.Part1 = Part118 |
416 | - | Frame29.BorderSizePixel = 2 |
416 | + | Weld21.part1 = Part118 |
417 | - | TextLabel30.Name = "Bar" |
417 | + | Weld22.Name = "BTWeld" |
418 | - | TextLabel30.Parent = Frame29 |
418 | + | Weld22.Parent = Part16 |
419 | - | TextLabel30.Size = UDim2.new(1, 0, 1, 0) |
419 | + | Weld22.C1 = CFrame.new(-0.325000763, -0.11500001, 0.095000267, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
420 | - | TextLabel30.Text = "" |
420 | + | Weld22.Part0 = Part16 |
421 | - | TextLabel30.BackgroundColor3 = Color3.new(0.341176, 1, 0.329412) |
421 | + | Weld22.Part1 = Part100 |
422 | - | TextLabel30.BorderSizePixel = 0 |
422 | + | Weld22.part1 = Part100 |
423 | - | TextLabel30.ZIndex = 3 |
423 | + | Weld23.Name = "BTWeld" |
424 | - | TextLabel30.Font = Enum.Font.SourceSans |
424 | + | Weld23.Parent = Part16 |
425 | - | TextLabel30.FontSize = Enum.FontSize.Size14 |
425 | + | Weld23.C1 = CFrame.new(0.434999466, 0.289999723, -0.104999542, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
426 | - | TextLabel31.Name = "Number" |
426 | + | Weld23.Part0 = Part16 |
427 | - | TextLabel31.Parent = Frame29 |
427 | + | Weld23.Part1 = Part197 |
428 | - | TextLabel31.Transparency = 1 |
428 | + | Weld23.part1 = Part197 |
429 | - | TextLabel31.Size = UDim2.new(1, 0, 1, 0) |
429 | + | Weld24.Name = "BTWeld" |
430 | - | TextLabel31.Text = "Loading..." |
430 | + | Weld24.Parent = Part16 |
431 | - | TextLabel31.Active = true |
431 | + | Weld24.C1 = CFrame.new(-0.525000572, 0.269999504, -0.26499939, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
432 | - | TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1) |
432 | + | Weld24.Part0 = Part16 |
433 | - | TextLabel31.BackgroundTransparency = 1 |
433 | + | Weld24.Part1 = Part181 |
434 | - | TextLabel31.BorderSizePixel = 0 |
434 | + | Weld24.part1 = Part181 |
435 | - | TextLabel31.ZIndex = 10 |
435 | + | Weld25.Name = "BTWeld" |
436 | - | TextLabel31.Font = Enum.Font.ArialBold |
436 | + | Weld25.Parent = Part16 |
437 | - | TextLabel31.FontSize = Enum.FontSize.Size32 |
437 | + | Weld25.C1 = CFrame.new(0.234999657, 0.0599999428, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
438 | - | TextLabel31.TextColor3 = Color3.new(0.952941, 0.94902, 0.94902) |
438 | + | Weld25.Part0 = Part16 |
439 | - | TextLabel31.TextScaled = true |
439 | + | Weld25.Part1 = Part13 |
440 | - | TextLabel31.TextStrokeTransparency = 0 |
440 | + | Weld25.part1 = Part13 |
441 | - | TextLabel31.TextWrapped = true |
441 | + | Weld26.Name = "BTWeld" |
442 | - | TextLabel32.Name = "Label" |
442 | + | Weld26.Parent = Part16 |
443 | - | TextLabel32.Parent = Frame29 |
443 | + | Weld26.C1 = CFrame.new(-0.450000763, 0.0149999857, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
444 | - | TextLabel32.Transparency = 1 |
444 | + | Weld26.Part0 = Part16 |
445 | - | TextLabel32.Size = UDim2.new(1, 0, 0.899999976, 0) |
445 | + | Weld26.Part1 = Part101 |
446 | - | TextLabel32.Text = "Health (1.32/s)" |
446 | + | Weld26.part1 = Part101 |
447 | - | TextLabel32.Position = UDim2.new(0.00999999978, 0, 0.0500000007, 0) |
447 | + | Weld27.Name = "BTWeld" |
448 | - | TextLabel32.Visible = false |
448 | + | Weld27.Parent = Part16 |
449 | - | TextLabel32.BackgroundColor3 = Color3.new(1, 1, 1) |
449 | + | Weld27.C1 = CFrame.new(0.464999199, 0.505584717, 0.463154793, 1, 0, 0, 0, -0.707106888, -0.70710665, 0, 0.70710665, -0.707106888) |
450 | - | TextLabel32.BackgroundTransparency = 1 |
450 | + | Weld27.Part0 = Part16 |
451 | - | TextLabel32.BorderSizePixel = 0 |
451 | + | Weld27.Part1 = Part187 |
452 | - | TextLabel32.ZIndex = 3 |
452 | + | Weld27.part1 = Part187 |
453 | - | TextLabel32.Font = Enum.Font.ArialBold |
453 | + | Weld28.Name = "BTWeld" |
454 | - | TextLabel32.FontSize = Enum.FontSize.Size32 |
454 | + | Weld28.Parent = Part16 |
455 | - | TextLabel32.TextColor3 = Color3.new(1, 1, 1) |
455 | + | Weld28.C1 = CFrame.new(0.434999466, 0.269999743, -0.545000076, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
456 | - | TextLabel32.TextScaled = true |
456 | + | Weld28.Part0 = Part16 |
457 | - | TextLabel32.TextWrapped = true |
457 | + | Weld28.Part1 = Part199 |
458 | - | TextLabel32.TextXAlignment = Enum.TextXAlignment.Left |
458 | + | Weld28.part1 = Part199 |
459 | - | TextLabel33.Name = "Bar2" |
459 | + | Weld29.Name = "BTWeld" |
460 | - | TextLabel33.Parent = Frame29 |
460 | + | Weld29.Parent = Part16 |
461 | - | TextLabel33.Size = UDim2.new(1, 0, 0.5, 0) |
461 | + | Weld29.C1 = CFrame.new(0.494999886, -1.02999961, -0.23500061, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
462 | - | TextLabel33.Text = "" |
462 | + | Weld29.Part0 = Part16 |
463 | - | TextLabel33.Position = UDim2.new(0, 0, 0.5, 0) |
463 | + | Weld29.Part1 = Part123 |
464 | - | TextLabel33.BackgroundColor3 = Color3.new(0.290196, 0.796079, 0.254902) |
464 | + | Weld29.part1 = Part123 |
465 | - | TextLabel33.BorderSizePixel = 0 |
465 | + | Weld30.Name = "BTWeld" |
466 | - | TextLabel33.ZIndex = 3 |
466 | + | Weld30.Parent = Part16 |
467 | - | TextLabel33.Font = Enum.Font.SourceSans |
467 | + | Weld30.C1 = CFrame.new(0.45499897, 0.0954604149, 0.038892746, 1, 0, 0, 0, -0.707106888, -0.70710665, 0, 0.70710665, -0.707106888) |
468 | - | TextLabel33.FontSize = Enum.FontSize.Size14 |
468 | + | Weld30.Part0 = Part16 |
469 | - | Frame34.Name = "Reload" |
469 | + | Weld30.Part1 = Part195 |
470 | - | Frame34.Parent = Frame29 |
470 | + | Weld30.part1 = Part195 |
471 | - | Frame34.Transparency = 0.30000001192093 |
471 | + | Weld31.Name = "BTWeld" |
472 | - | Frame34.Size = UDim2.new(1, 0, 1, 0) |
472 | + | Weld31.Parent = Part16 |
473 | - | Frame34.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
473 | + | Weld31.C1 = CFrame.new(0.464999199, -0.321732998, -0.236880302, 1, 0, 0, 0, 0.707106829, 0.707106709, 0, -0.707106709, 0.707106829) |
474 | - | Frame34.BackgroundTransparency = 0.30000001192093 |
474 | + | Weld31.Part0 = Part16 |
475 | - | Frame34.BorderColor3 = Color3.new(0.164706, 0.164706, 0.164706) |
475 | + | Weld31.Part1 = Part189 |
476 | - | Frame34.BorderSizePixel = 2 |
476 | + | Weld31.part1 = Part189 |
477 | - | Frame34.ZIndex = 2 |
477 | + | Weld32.Name = "BTWeld" |
478 | - | LocalScript35.Name = "StatValues" |
478 | + | Weld32.Parent = Part16 |
479 | - | LocalScript35.Parent = ScreenGui0 |
479 | + | Weld32.C1 = CFrame.new(-0.18500042, 0.0149999857, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
480 | - | table.insert(cors,sandbox(LocalScript35,function() |
480 | + | Weld32.Part0 = Part16 |
481 | Weld32.Part1 = Part99 | |
482 | Weld32.part1 = Part99 | |
483 | - | humanoid = char.Humanoid |
483 | + | Weld33.Name = "BTWeld" |
484 | - | cstats = char:WaitForChild("CharStats") |
484 | + | Weld33.Parent = Part16 |
485 | - | function newValue(parent, value, basevalue, name) |
485 | + | Weld33.C1 = CFrame.new(-0.525000572, 0.460000038, -0.184999466, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
486 | - | local v = Instance.new(value, parent) |
486 | + | Weld33.Part0 = Part16 |
487 | - | v.Value = basevalue |
487 | + | Weld33.Part1 = Part179 |
488 | - | v.Name = name |
488 | + | Weld33.part1 = Part179 |
489 | - | return v |
489 | + | Weld34.Name = "BTWeld" |
490 | Weld34.Parent = Part16 | |
491 | - | attack = newValue(cstats, "NumberValue", 1, "Attack") |
491 | + | Weld34.C1 = CFrame.new(-0.525000572, 0.489999771, -0.630000114, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
492 | - | defense = newValue(cstats, "NumberValue", 1, "Defense") |
492 | + | Weld34.Part0 = Part16 |
493 | - | speed = newValue(cstats, "NumberValue", 1, "Speed") |
493 | + | Weld34.Part1 = Part175 |
494 | - | burnresist = newValue(cstats, "IntValue", 0, "BurnResist") |
494 | + | Weld34.part1 = Part175 |
495 | - | iceresist = newValue(cstats, "IntValue", 0, "IceResist") |
495 | + | Weld35.Name = "BTWeld" |
496 | - | stunresist = newValue(cstats, "IntValue", 0, "StunResist") |
496 | + | Weld35.Parent = Part16 |
497 | - | venomresist = newValue(cstats, "IntValue", 0, "VenomResist") |
497 | + | Weld35.C1 = CFrame.new(-0.525000572, 0.279999495, -0.534999847, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
498 | - | burntime = newValue(cstats, "IntValue", 0, "BurnTime") |
498 | + | Weld35.Part0 = Part16 |
499 | - | icetime = newValue(cstats, "IntValue", 0, "IceTime") |
499 | + | Weld35.Part1 = Part169 |
500 | - | stuntime = newValue(cstats, "IntValue", 0, "StunTime") |
500 | + | Weld35.part1 = Part169 |
501 | - | venomtime = newValue(cstats, "IntValue", 0, "VenomTime") |
501 | + | Weld36.Name = "BTWeld" |
502 | - | attack.Value = 1 |
502 | + | Weld36.Parent = Part16 |
503 | - | defense.Value = 0.9 |
503 | + | Weld36.C1 = CFrame.new(0.494999886, 1.08935499, -0.108235359, 1, 0, 0, 0, -0.866024911, -0.499999821, 0, 0.499999821, -0.866024911) |
504 | - | speed.Value = 1.1 |
504 | + | Weld36.Part0 = Part16 |
505 | - | function round(num) |
505 | + | Weld36.Part1 = Part131 |
506 | - | local a, b = math.modf(num) |
506 | + | Weld36.part1 = Part131 |
507 | - | if num % 1 ~= 0 then |
507 | + | Weld37.Name = "BTWeld" |
508 | - | return math.floor(num) + math.floor(b * 10) / 10 |
508 | + | Weld37.Parent = Part16 |
509 | Weld37.C1 = CFrame.new(-0.525000572, 0.434999466, -0.454999924, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) | |
510 | - | return math.floor(num) |
510 | + | Weld37.Part0 = Part16 |
511 | Weld37.Part1 = Part165 | |
512 | Weld37.part1 = Part165 | |
513 | - | function newFrame(parent, trans, size1, pos, name, color3) |
513 | + | Weld38.Name = "BTWeld" |
514 | - | local f = Instance.new("Frame", parent) |
514 | + | Weld38.Parent = Part16 |
515 | - | if color3 then |
515 | + | Weld38.C1 = CFrame.new(0.434999466, 0.479999781, -0.490000725, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
516 | - | f.BackgroundColor3 = color3 |
516 | + | Weld38.Part0 = Part16 |
517 | Weld38.Part1 = Part203 | |
518 | - | f.BackgroundTransparency = trans |
518 | + | Weld38.part1 = Part203 |
519 | - | f.BorderSizePixel = 0 |
519 | + | Weld39.Name = "BTWeld" |
520 | - | f.Size = size1 |
520 | + | Weld39.Parent = Part16 |
521 | - | f.Position = pos |
521 | + | Weld39.C1 = CFrame.new(-0.04500103, -0.404999852, -0.664999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
522 | - | f.Name = name |
522 | + | Weld39.Part0 = Part16 |
523 | - | return f |
523 | + | Weld39.Part1 = Part142 |
524 | Weld39.part1 = Part142 | |
525 | - | function newLabel(parent, trans, size1, pos, name, color3, text1, font, fontsize, alignment, scaled) |
525 | + | Weld40.Name = "BTWeld" |
526 | - | local b = Instance.new("TextLabel", parent) |
526 | + | Weld40.Parent = Part16 |
527 | - | b.BackgroundTransparency = trans |
527 | + | Weld40.C1 = CFrame.new(-0.525000572, 0.349999547, -0.395000458, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
528 | - | b.BorderSizePixel = 0 |
528 | + | Weld40.Part0 = Part16 |
529 | - | b.Size = size1 |
529 | + | Weld40.Part1 = Part163 |
530 | - | b.Position = pos |
530 | + | Weld40.part1 = Part163 |
531 | - | b.Name = name |
531 | + | Weld41.Name = "BTWeld" |
532 | - | b.Text = text1 |
532 | + | Weld41.Parent = Part16 |
533 | - | b.TextStrokeColor3 = Color3.new(0, 0, 0) |
533 | + | Weld41.C1 = CFrame.new(0.224999428, 0.29499948, -0.395000458, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
534 | - | b.TextStrokeTransparency = 0 |
534 | + | Weld41.Part0 = Part16 |
535 | - | if fontsize then |
535 | + | Weld41.Part1 = Part157 |
536 | - | b.FontSize = fontsize |
536 | + | Weld41.part1 = Part157 |
537 | Weld42.Name = "BTWeld" | |
538 | - | if font then |
538 | + | Weld42.Parent = Part16 |
539 | - | b.Font = font |
539 | + | Weld42.C1 = CFrame.new(-0.0797595978, 0.211588264, -0.395000458, 0.98480773, -0.173648119, -1.49011612e-08, 0.173648134, 0.98480773, 0, 0, 0, 1) |
540 | Weld42.Part0 = Part16 | |
541 | - | if alignment then |
541 | + | Weld42.Part1 = Part153 |
542 | - | b.TextXAlignment = alignment |
542 | + | Weld42.part1 = Part153 |
543 | Weld43.Name = "BTWeld" | |
544 | - | if color3 then |
544 | + | Weld43.Parent = Part16 |
545 | - | b.TextColor3 = color3 |
545 | + | Weld43.C1 = CFrame.new(-0.490000725, -0.0799999237, -0.614999771, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
546 | Weld43.Part0 = Part16 | |
547 | - | if scaled then |
547 | + | Weld43.Part1 = Part107 |
548 | - | b.TextScaled = scaled |
548 | + | Weld43.part1 = Part107 |
549 | Weld44.Name = "BTWeld" | |
550 | - | return b |
550 | + | Weld44.Parent = Part16 |
551 | Weld44.C1 = CFrame.new(0.164999008, -0.431332588, -0.98995018, 1, 0, 0, 0, 0.70710665, -0.707106888, 0, 0.707106888, 0.70710665) | |
552 | - | g = script.Parent |
552 | + | Weld44.Part0 = Part16 |
553 | - | gs = newFrame(g.GenStats, 1, UDim2.new(0.7, 0, 0.8, 0), UDim2.new(-0.045, 0, 0.225, 0), "Stats") |
553 | + | Weld44.Part1 = Part141 |
554 | - | newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.63, 0), "Attack") |
554 | + | Weld44.part1 = Part141 |
555 | - | newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.74, 0), "Defense") |
555 | + | Weld45.Name = "BTWeld" |
556 | - | newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.85, 0), "Speed") |
556 | + | Weld45.Parent = Part16 |
557 | - | newFrame(gs.Attack, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42)) |
557 | + | Weld45.C1 = CFrame.new(0.494999886, 0.324999809, -0.929999471, 1, 0, 0, 0, 0, -1, 0, 1, 0) |
558 | - | newFrame(gs.Defense, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42)) |
558 | + | Weld45.Part0 = Part16 |
559 | - | newFrame(gs.Speed, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42)) |
559 | + | Weld45.Part1 = Part124 |
560 | - | newLabel(gs.Attack, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false) |
560 | + | Weld45.part1 = Part124 |
561 | - | newLabel(gs.Defense, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false) |
561 | + | Weld46.Name = "BTWeld" |
562 | - | newLabel(gs.Speed, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false) |
562 | + | Weld46.Parent = Part16 |
563 | - | newLabel(gs.Attack, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Attack", "SourceSans", "Size18", "Center", false) |
563 | + | Weld46.C1 = CFrame.new(-0.18475914, 0.241587877, -0.395000458, 0.98480773, -0.173648119, -1.49011612e-08, 0.173648134, 0.98480773, 0, 0, 0, 1) |
564 | - | newLabel(gs.Defense, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Defense", "SourceSans", "Size18", "Center", false) |
564 | + | Weld46.Part0 = Part16 |
565 | - | newLabel(gs.Speed, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Speed", "SourceSans", "Size18", "Center", false) |
565 | + | Weld46.Part1 = Part147 |
566 | - | spawn(function() |
566 | + | Weld46.part1 = Part147 |
567 | - | while true do |
567 | + | Weld47.Name = "BTWeld" |
568 | - | gs.Attack.Amount.Text = attack.Value |
568 | + | Weld47.Parent = Part16 |
569 | - | if attack.Value < 0 then |
569 | + | Weld47.C1 = CFrame.new(-0.04500103, -0.244999647, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
570 | - | gs.Attack.Amount.Text = 0 |
570 | + | Weld47.Part0 = Part16 |
571 | Weld47.Part1 = Part140 | |
572 | - | gs.Defense.Amount.Text = defense.Value |
572 | + | Weld47.part1 = Part140 |
573 | - | if 0 > defense.Value then |
573 | + | Weld48.Name = "BTWeld" |
574 | - | gs.Defense.Amount.Text = 0 |
574 | + | Weld48.Parent = Part16 |
575 | Weld48.C1 = CFrame.new(-0.069396019, -0.698001266, -0.395000458, 0.999390841, 0.0348994955, 0, -0.0348994955, 0.999390781, 0, 0, 0, 1) | |
576 | - | gs.Speed.Amount.Text = speed.Value |
576 | + | Weld48.Part0 = Part16 |
577 | - | humanoid.WalkSpeed = 16 * speed.Value |
577 | + | Weld48.Part1 = Part138 |
578 | - | if 0 > speed.Value then |
578 | + | Weld48.part1 = Part138 |
579 | - | gs.Speed.Amount.Text = 0 |
579 | + | Weld49.Name = "BTWeld" |
580 | Weld49.Parent = Part16 | |
581 | - | game:GetService("RunService").RenderStepped:wait() |
581 | + | Weld49.C1 = CFrame.new(-0.525000572, 0.289999485, -0.664999962, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
582 | Weld49.Part0 = Part16 | |
583 | Weld49.Part1 = Part167 | |
584 | Weld49.part1 = Part167 | |
585 | - | LocalScript36.Name = "HealthEnergyScript" |
585 | + | Weld50.Name = "BTWeld" |
586 | - | LocalScript36.Parent = ScreenGui0 |
586 | + | Weld50.Parent = Part16 |
587 | - | table.insert(cors,sandbox(LocalScript36,function() |
587 | + | Weld50.C1 = CFrame.new(-0.525000572, 0.450000286, -0.0450000763, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
588 | Weld50.Part0 = Part16 | |
589 | - | local plr = owner |
589 | + | Weld50.Part1 = Part177 |
590 | - | repeat |
590 | + | Weld50.part1 = Part177 |
591 | Weld51.Name = "BTWeld" | |
592 | - | until plr.Character and plr.Character:WaitForChild("Torso") and plr.Character:WaitForChild("Humanoid") |
592 | + | Weld51.Parent = Part16 |
593 | - | local char = plr.Character |
593 | + | Weld51.C1 = CFrame.new(0.494999886, 0.685982704, -0.554473877, 1, -2.78181265e-08, -4.81824145e-08, -5.56362707e-08, -0.49999994, -0.866025448, 6.63455814e-16, 0.866025269, -0.49999994) |
594 | - | local torso = char.Torso |
594 | + | Weld51.Part0 = Part16 |
595 | - | local humanoid = char.Humanoid |
595 | + | Weld51.Part1 = Part133 |
596 | - | local health = humanoid.Health |
596 | + | Weld51.part1 = Part133 |
597 | - | local statsFolder = Instance.new("Folder", char) |
597 | + | Weld52.Name = "BTWeld" |
598 | - | statsFolder.Name = "CharStats" |
598 | + | Weld52.Parent = Part16 |
599 | - | local g = script.Parent |
599 | + | Weld52.C1 = CFrame.new(-0.04500103, 0.350000262, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
600 | - | local gf = g.GenStats |
600 | + | Weld52.Part0 = Part16 |
601 | - | local HealthFrame = gf.Health |
601 | + | Weld52.Part1 = Part119 |
602 | - | local AttacksFrame = gf.Attacks |
602 | + | Weld52.part1 = Part119 |
603 | - | local EnergyFrame = gf.Energy |
603 | + | Weld53.Name = "BTWeld" |
604 | - | local attacking = statsFolder:WaitForChild("Attacking") |
604 | + | Weld53.Parent = Part16 |
605 | - | char:WaitForChild("Health"):remove() |
605 | + | Weld53.C1 = CFrame.new(-0.535000801, -0.100000024, -0.0399999619, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
606 | - | local healthRate = Instance.new("NumberValue", statsFolder) |
606 | + | Weld53.Part0 = Part16 |
607 | - | healthRate.Name = "HealthRate" |
607 | + | Weld53.Part1 = Part103 |
608 | - | healthRate.Value = 1.32 |
608 | + | Weld53.part1 = Part103 |
609 | - | local regenRate = Instance.new("NumberValue", statsFolder) |
609 | + | Weld54.Name = "BTWeld" |
610 | - | regenRate.Name = "RegenRate" |
610 | + | Weld54.Parent = Part16 |
611 | - | regenRate.Value = 1 |
611 | + | Weld54.C1 = CFrame.new(0.434999466, 0.374999762, -0.674999237, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
612 | - | local energy = Instance.new("NumberValue", statsFolder) |
612 | + | Weld54.Part0 = Part16 |
613 | - | energy.Name = "EnergyAmount" |
613 | + | Weld54.Part1 = Part201 |
614 | - | energy.Value = 200 |
614 | + | Weld54.part1 = Part201 |
615 | - | local energyRegen = Instance.new("NumberValue", statsFolder) |
615 | + | Weld55.Name = "BTWeld" |
616 | - | energyRegen.Name = "EnergyRegen" |
616 | + | Weld55.Parent = Part16 |
617 | - | energyRegen.Value = 1 |
617 | + | Weld55.C1 = CFrame.new(0.494999886, 1.06530905, -0.289833069, 1, -4.81824145e-08, -2.7818146e-08, -5.56362707e-08, -0.866025269, -0.500000238, 6.63455814e-16, 0.50000006, -0.86602509) |
618 | - | local eRegenDelay = Instance.new("NumberValue", statsFolder) |
618 | + | Weld55.Part0 = Part16 |
619 | - | eRegenDelay.Name = "EnergyRegenDelay" |
619 | + | Weld55.Part1 = Part127 |
620 | - | eRegenDelay.Value = 0.2 |
620 | + | Weld55.part1 = Part127 |
621 | - | local energyMax = Instance.new("IntValue", statsFolder) |
621 | + | Weld56.Name = "BTWeld" |
622 | - | energyMax.Name = "EnergyMax" |
622 | + | Weld56.Parent = Part16 |
623 | - | energyMax.Value = 200 |
623 | + | Weld56.C1 = CFrame.new(-0.249999046, -0.0399999619, 0.23500061, -1, 3.55271368e-15, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1) |
624 | - | function round(num) |
624 | + | Weld56.Part0 = Part16 |
625 | - | local a, b = math.modf(num) |
625 | + | Weld56.Part1 = Part10 |
626 | - | if num % 1 ~= 0 then |
626 | + | Weld56.part1 = Part10 |
627 | - | return math.floor(num) + math.floor(b * 10 + 0.5) / 10 |
627 | + | Weld57.Name = "BTWeld" |
628 | Weld57.Parent = Part16 | |
629 | - | return math.floor(num) |
629 | + | Weld57.C1 = CFrame.new(0.0749988556, 0.424999595, -0.395000458, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
630 | Weld57.Part0 = Part16 | |
631 | Weld57.Part1 = Part159 | |
632 | - | HealthFrame.Label.Text = "Health (" .. healthRate.Value / regenRate.Value .. "/s)" |
632 | + | Weld57.part1 = Part159 |
633 | Weld58.Name = "BTWeld" | |
634 | - | while wait(regenRate.Value) do |
634 | + | Weld58.Parent = Part16 |
635 | - | if humanoid.Health <= 0 then |
635 | + | Weld58.C1 = CFrame.new(-0.490000725, 0.0200001001, -0.430000305, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
636 | - | humanoid.Health = 0 |
636 | + | Weld58.Part0 = Part16 |
637 | - | break |
637 | + | Weld58.Part1 = Part105 |
638 | - | elseif humanoid.Health > 0 then |
638 | + | Weld58.part1 = Part105 |
639 | - | humanoid.Health = humanoid.Health + healthRate.Value |
639 | + | Weld59.Name = "BTWeld" |
640 | Weld59.Parent = Part16 | |
641 | Weld59.C1 = CFrame.new(0.494999886, 0.638415813, 0.889294624, 1, 0, 0, 0, -0.866025269, 0.49999994, 0, -0.49999994, -0.866025269) | |
642 | Weld59.Part0 = Part16 | |
643 | - | healthRate.Changed:connect(function() |
643 | + | Weld59.Part1 = Part132 |
644 | - | HealthFrame.Label.Text = "Health (" .. healthRate.Value / regenRate.Value .. "/s)" |
644 | + | Weld59.part1 = Part132 |
645 | Weld60.Name = "BTWeld" | |
646 | - | local healthText = HealthFrame.Number |
646 | + | Weld60.Parent = Part16 |
647 | - | healthText.Text = round(health) |
647 | + | Weld60.C1 = CFrame.new(0.494999886, 0.79902935, -0.473761559, 1, -3.93407831e-08, -3.93407831e-08, -5.56362707e-08, -0.707106709, -0.707106709, 6.63455814e-16, 0.707106709, -0.707106709) |
648 | - | humanoid.Changed:connect(function() |
648 | + | Weld60.Part0 = Part16 |
649 | - | local currentHealth = humanoid.Health |
649 | + | Weld60.Part1 = Part125 |
650 | - | local change = math.abs(health - currentHealth) |
650 | + | Weld60.part1 = Part125 |
651 | - | healthText.Text = round(currentHealth) |
651 | + | Weld61.Name = "BTWeld" |
652 | - | HealthFrame.Bar:TweenSize(UDim2.new(1 / humanoid.MaxHealth * currentHealth, 0, 1, 0), "InOut", "Linear", 0.05) |
652 | + | Weld61.Parent = Part16 |
653 | - | HealthFrame.Bar2:TweenSize(UDim2.new(1 / humanoid.MaxHealth * currentHealth, 0, 0.5, 0), "InOut", "Linear", 0.05) |
653 | + | Weld61.C1 = CFrame.new(-0.04500103, -0.404999852, -0.680000305, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
654 | - | if health <= 0.4 * humanoid.MaxHealth and health > 0.2 * humanoid.MaxHealth then |
654 | + | Weld61.Part0 = Part16 |
655 | - | HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(255, 255, 0) |
655 | + | Weld61.Part1 = Part114 |
656 | - | HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(255, 209, 23) |
656 | + | Weld61.part1 = Part114 |
657 | - | elseif health <= 0.2 * humanoid.MaxHealth then |
657 | + | Weld62.Name = "BTWeld" |
658 | - | HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(255, 0, 0) |
658 | + | Weld62.Parent = Part16 |
659 | - | HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(182, 0, 0) |
659 | + | Weld62.C1 = CFrame.new(-0.04500103, -0.999999642, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
660 | Weld62.Part0 = Part16 | |
661 | - | HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(87, 255, 64) |
661 | + | Weld62.Part1 = Part122 |
662 | - | HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(74, 203, 65) |
662 | + | Weld62.part1 = Part122 |
663 | Weld63.Name = "BTWeld" | |
664 | - | health = humanoid.Health |
664 | + | Weld63.Parent = Part16 |
665 | Weld63.C1 = CFrame.new(0.359998703, -0.0399999619, -0.795000076, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
666 | - | local energynum = EnergyFrame.Number |
666 | + | Weld63.Part0 = Part16 |
667 | - | energynum.Text = energy.Value |
667 | + | Weld63.Part1 = Part3 |
668 | - | local ebar1 = EnergyFrame.Bar |
668 | + | Weld63.part1 = Part3 |
669 | - | local ebar2 = EnergyFrame.Bar2 |
669 | + | Weld64.Name = "BTWeld" |
670 | Weld64.Parent = Part16 | |
671 | - | while wait() do |
671 | + | Weld64.C1 = CFrame.new(-0.490000725, -0.0799999237, -0.809999466, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
672 | - | if statsFolder:findFirstChild("Attacking").Value == false then |
672 | + | Weld64.Part0 = Part16 |
673 | - | if energy.Value < energyMax.Value then |
673 | + | Weld64.Part1 = Part108 |
674 | - | repeat |
674 | + | Weld64.part1 = Part108 |
675 | - | wait(eRegenDelay.Value) |
675 | + | Weld65.Name = "BTWeld" |
676 | - | energy.Value = energy.Value + energyRegen.Value |
676 | + | Weld65.Parent = Part16 |
677 | - | until energy.Value >= energyMax.Value |
677 | + | Weld65.C1 = CFrame.new(-0.0070734024, 0.502049446, -0.395000458, 0.707106769, 0.707106709, -5.96046448e-08, -0.707106769, 0.707106709, -5.96046448e-08, 0, 0, 1) |
678 | Weld65.Part0 = Part16 | |
679 | - | if energy.Value > energyMax.Value then |
679 | + | Weld65.Part1 = Part143 |
680 | - | energy.Value = energyMax.Value |
680 | + | Weld65.part1 = Part143 |
681 | - | repeat |
681 | + | Weld66.Name = "BTWeld" |
682 | Weld66.Parent = Part16 | |
683 | - | until energy.Value < energyMax.Value |
683 | + | Weld66.C1 = CFrame.new(-0.520000458, 0.0550000668, -0.664999008, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
684 | Weld66.Part0 = Part16 | |
685 | Weld66.Part1 = Part106 | |
686 | Weld66.part1 = Part106 | |
687 | Weld67.Name = "BTWeld" | |
688 | - | energy.Changed:connect(function() |
688 | + | Weld67.Parent = Part16 |
689 | - | energynum.Text = energy.Value |
689 | + | Weld67.C1 = CFrame.new(-0.150000572, 0.0199999809, -0.534999847, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
690 | - | ebar1:TweenSize(UDim2.new(energy.Value / energyMax.Value, 0, 1, 0), "InOut", "Linear", 0.05) |
690 | + | Weld67.Part0 = Part16 |
691 | - | ebar2:TweenSize(UDim2.new(energy.Value / energyMax.Value, 0, 0.5, 0), "InOut", "Linear", 0.05) |
691 | + | Weld67.Part1 = Part112 |
692 | Weld67.part1 = Part112 | |
693 | Weld68.Name = "BTWeld" | |
694 | - | LocalScript37.Name = "MainScript" |
694 | + | Weld68.Parent = Part16 |
695 | - | LocalScript37.Parent = ScreenGui0 |
695 | + | Weld68.C1 = CFrame.new(0.0949993134, 0.0199999809, -0.534999847, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
696 | - | table.insert(cors,sandbox(LocalScript37,function() |
696 | + | Weld68.Part0 = Part16 |
697 | - | local N_A1_Name = "First Chapter" |
697 | + | Weld68.Part1 = Part110 |
698 | - | local N_A2_Name = "Crescendo" |
698 | + | Weld68.part1 = Part110 |
699 | - | local N_A3_Name = "Storyteller" |
699 | + | Weld69.Name = "BTWeld" |
700 | - | local N_A4_Name = "Plot Twist" |
700 | + | Weld69.Parent = Part16 |
701 | - | local U_A1_Name = "Dark Meaning" |
701 | + | Weld69.C1 = CFrame.new(-0.525000572, 0.375, -0.0249996185, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
702 | - | local U_A2_Name = "Diminuendo" |
702 | + | Weld69.Part0 = Part16 |
703 | - | local U_A3_Name = "Heartbreaker" |
703 | + | Weld69.Part1 = Part171 |
704 | - | local U_A4_Name = "The End" |
704 | + | Weld69.part1 = Part171 |
705 | - | local Attack1Energy = 50 |
705 | + | Weld70.Name = "BTWeld" |
706 | - | local Attack2Energy = 50 |
706 | + | Weld70.Parent = Part16 |
707 | - | local Attack3Energy = 50 |
707 | + | Weld70.C1 = CFrame.new(0.249999046, 0.275000572, -0.0399999619, 1, 0, 0, 0, 0, -1, 0, 1, 0) |
708 | - | local Attack4Energy = 50 |
708 | + | Weld70.Part0 = Part16 |
709 | - | local main_color = BrickColor.new("Cool yellow") |
709 | + | Weld70.Part1 = Part6 |
710 | - | local main_color2 = BrickColor.new("Dark indigo") |
710 | + | Weld70.part1 = Part6 |
711 | - | local combo_knee_dam, ckd2 = 6, 8, 9 |
711 | + | Weld71.Name = "BTWeld" |
712 | - | local combo_punch_dam, cpd2 = 8, 9 |
712 | + | Weld71.Parent = Part16 |
713 | - | local combo_triple_dam, ctd2 = 9, 11 |
713 | + | Weld71.C1 = CFrame.new(0.45499897, -0.314661503, -0.243951797, 1, 0, 0, 0, 0.707106829, 0.707106709, 0, -0.707106709, 0.707106829) |
714 | - | local lecture_range = 25 |
714 | + | Weld71.Part0 = Part16 |
715 | - | local lecture_duration = 10 |
715 | + | Weld71.Part1 = Part193 |
716 | - | local lecture_heal = 25 |
716 | + | Weld71.part1 = Part193 |
717 | - | local climax_damage, clmx2 = 4, 6 |
717 | + | Weld72.Name = "BTWeld" |
718 | - | local story_damage, strd2 = 10, 12 |
718 | + | Weld72.Parent = Part16 |
719 | Weld72.C1 = CFrame.new(-0.04500103, -0.404999852, -0.125000954, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
720 | - | local twistedmode = false |
720 | + | Weld72.Part0 = Part16 |
721 | - | math.randomseed(tick()) |
721 | + | Weld72.Part1 = Part139 |
722 | - | local plr = game.Players.LocalPlayer |
722 | + | Weld72.part1 = Part139 |
723 | - | local uis = game:GetService("UserInputService") |
723 | + | Weld73.Name = "BTWeld" |
724 | - | local basic = (function() |
724 | + | Weld73.Parent = Part16 |
725 | - | local _ = {} |
725 | + | Weld73.C1 = CFrame.new(-0.525000572, 0.244999409, -0.454999924, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
726 | - | function round(num) |
726 | + | Weld73.Part0 = Part16 |
727 | - | local a, b = math.modf(num) |
727 | + | Weld73.Part1 = Part173 |
728 | - | if num % 1 ~= 0 then |
728 | + | Weld73.part1 = Part173 |
729 | - | return math.floor(num) + math.floor(b * 10) / 10 |
729 | + | Weld74.Name = "BTWeld" |
730 | Weld74.Parent = Part16 | |
731 | - | return math.floor(num) |
731 | + | Weld74.C1 = CFrame.new(0.434999466, 0.21999979, -0.095000267, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
732 | Weld74.Part0 = Part16 | |
733 | Weld74.Part1 = Part207 | |
734 | - | local StopMove = function(parent, pos) |
734 | + | Weld74.part1 = Part207 |
735 | - | local bp = Instance.new("BodyPosition", parent) |
735 | + | Weld75.Name = "BTWeld" |
736 | - | bp.MaxForce = Vector3.new(math.huge, 0, math.huge) |
736 | + | Weld75.Parent = Part16 |
737 | - | bp.Position = pos |
737 | + | Weld75.C1 = CFrame.new(0.414998055, -0.0399999619, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
738 | - | return bp |
738 | + | Weld75.Part0 = Part16 |
739 | Weld75.Part1 = Part12 | |
740 | - | function guieffect(parent, vhum, damage, colour, text, div) |
740 | + | Weld75.part1 = Part12 |
741 | - | local damagepart = Instance.new("Part", parent) |
741 | + | Weld76.Name = "BTWeld" |
742 | - | damagepart.Transparency = 1 |
742 | + | Weld76.Parent = Part16 |
743 | - | damagepart.Anchored = true |
743 | + | Weld76.C1 = CFrame.new(-0.490000725, -0.11499989, -0.364999771, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
744 | - | damagepart.CanCollide = false |
744 | + | Weld76.Part0 = Part16 |
745 | - | damagepart.Size = Vector3.new(1, 1, 1) |
745 | + | Weld76.Part1 = Part104 |
746 | - | damagepart.Name = "DamagePart" |
746 | + | Weld76.part1 = Part104 |
747 | - | damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0) |
747 | + | Weld77.Name = "BTWeld" |
748 | - | local g = Instance.new("BillboardGui", damagepart) |
748 | + | Weld77.Parent = Part16 |
749 | - | g.Enabled = true |
749 | + | Weld77.C1 = CFrame.new(0.175000191, 0.349999547, -0.395000458, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
750 | - | g.Adornee = damagepart |
750 | + | Weld77.Part0 = Part16 |
751 | - | g.Size = UDim2.new(5, 0, 5, 0) |
751 | + | Weld77.Part1 = Part145 |
752 | - | g.ExtentsOffset = Vector3.new(0, 0, 0) |
752 | + | Weld77.part1 = Part145 |
753 | - | g.StudsOffset = Vector3.new(0, 0, 0) |
753 | + | Weld78.Name = "BTWeld" |
754 | - | local t = Instance.new("TextLabel", g) |
754 | + | Weld78.Parent = Part16 |
755 | - | t.BackgroundTransparency = 1 |
755 | + | Weld78.C1 = CFrame.new(-0.490000725, 0.0200001001, -0.225000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
756 | - | t.Font = "SourceSansBold" |
756 | + | Weld78.Part0 = Part16 |
757 | - | t.FontSize = "Size24" |
757 | + | Weld78.Part1 = Part102 |
758 | - | if text == nil then |
758 | + | Weld78.part1 = Part102 |
759 | - | t.Text = damage |
759 | + | Weld79.Name = "BTWeld" |
760 | - | elseif text ~= nil then |
760 | + | Weld79.Parent = Part16 |
761 | - | t.Text = text |
761 | + | Weld79.C1 = CFrame.new(-0.2153368, 0.488358498, -0.395000458, 0.992546201, 0.121869192, 0, -0.121869192, 0.992546141, 0, 0, 0, 1) |
762 | Weld79.Part0 = Part16 | |
763 | - | t.Size = UDim2.new(1, 0, 1, 0) |
763 | + | Weld79.Part1 = Part161 |
764 | - | t.TextStrokeTransparency = 0 |
764 | + | Weld79.part1 = Part161 |
765 | - | t.TextTransparency = 0 |
765 | + | Weld80.Name = "BTWeld" |
766 | - | t.TextScaled = true |
766 | + | Weld80.Parent = Part16 |
767 | - | t.TextWrapped = true |
767 | + | Weld80.C1 = CFrame.new(-0.36000061, 0.0199999809, -0.534999847, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
768 | - | t.TextXAlignment = "Center" |
768 | + | Weld80.Part0 = Part16 |
769 | - | t.TextYAlignment = "Center" |
769 | + | Weld80.Part1 = Part113 |
770 | - | t.TextColor3 = colour |
770 | + | Weld80.part1 = Part113 |
771 | Weld81.Name = "BTWeld" | |
772 | - | for i = 1, 50 do |
772 | + | Weld81.Parent = Part16 |
773 | - | game:GetService("RunService").Heartbeat:wait() |
773 | + | Weld81.C1 = CFrame.new(0.0222291946, 0.508851647, -0.395000458, 0.992546201, -0.12186937, 0, 0.12186937, 0.992546141, 0, 0, 0, 1) |
774 | - | local sinewave = math.sin(i / 500) * 4 |
774 | + | Weld81.Part0 = Part16 |
775 | - | if div then |
775 | + | Weld81.Part1 = Part151 |
776 | - | sinewave = 0.3 |
776 | + | Weld81.part1 = Part151 |
777 | Weld82.Name = "BTWeld" | |
778 | - | damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0)) |
778 | + | Weld82.Parent = Part16 |
779 | - | t.TextTransparency = t.TextTransparency + 0.02 |
779 | + | Weld82.C1 = CFrame.new(-0.525000572, 0.219999552, -0.205000877, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
780 | - | t.TextTransparency = t.TextStrokeTransparency + 0.02 |
780 | + | Weld82.Part0 = Part16 |
781 | Weld82.Part1 = Part183 | |
782 | - | damagepart:Destroy() |
782 | + | Weld82.part1 = Part183 |
783 | - | end), t) |
783 | + | Weld83.Name = "BTWeld" |
784 | Weld83.Parent = Part16 | |
785 | - | function check(vhum, plrchar, dmg) |
785 | + | Weld83.C1 = CFrame.new(0.164999008, -0.431332588, -0.98995018, 1, 0, 0, 0, 0.70710665, -0.707106888, 0, 0.707106888, 0.70710665) |
786 | - | if vhum.Parent.Head:FindFirstChild(plrchar.Name) then |
786 | + | Weld83.Part0 = Part16 |
787 | - | local value = vhum.Parent.Head:findFirstChild(plrchar.Name) |
787 | + | Weld83.Part1 = Part117 |
788 | - | value.Value = value.Value + math.ceil(dmg - 0.5) |
788 | + | Weld83.part1 = Part117 |
789 | Weld84.Name = "BTWeld" | |
790 | - | local new = Instance.new("IntValue") |
790 | + | Weld84.Parent = Part16 |
791 | - | new.Name = plrchar.Name |
791 | + | Weld84.C1 = CFrame.new(0.45499897, 0.512655258, 0.456084251, 1, 0, 0, 0, -0.707106888, -0.70710665, 0, 0.70710665, -0.707106888) |
792 | - | new.Parent = vhum.Parent.Head |
792 | + | Weld84.Part0 = Part16 |
793 | - | new.Value = dmg |
793 | + | Weld84.Part1 = Part191 |
794 | Weld84.part1 = Part191 | |
795 | Weld85.Name = "BTWeld" | |
796 | - | function _.Knockback(vtors, plrchar, velocity, duration, name) |
796 | + | Weld85.Parent = Part16 |
797 | - | local plrhead = plrchar.Head |
797 | + | Weld85.C1 = CFrame.new(0.434999466, 0.464999914, -0.234999657, 1, -1.49011612e-07, -7.10542736e-15, 1.49011612e-07, 1, 0, 0, 0, 1) |
798 | - | local enemply = game.Players:GetPlayerFromCharacter(vtors.Parent) |
798 | + | Weld85.Part0 = Part16 |
799 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
799 | + | Weld85.Part1 = Part205 |
800 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false then |
800 | + | Weld85.part1 = Part205 |
801 | - | return |
801 | + | Weld86.Name = "BTWeld" |
802 | Weld86.Parent = Part16 | |
803 | - | local bv = Instance.new("BodyVelocity") |
803 | + | Weld86.C1 = CFrame.new(-0.04500103, -0.859999776, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
804 | - | bv.P = 1250 |
804 | + | Weld86.Part0 = Part16 |
805 | - | bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) |
805 | + | Weld86.Part1 = Part116 |
806 | - | bv.Velocity = velocity |
806 | + | Weld86.part1 = Part116 |
807 | - | if name then |
807 | + | Weld87.Name = "BTWeld" |
808 | - | bv.Name = name |
808 | + | Weld87.Parent = Part16 |
809 | - | for i, v in ipairs(vtors:GetChildren()) do |
809 | + | Weld87.C1 = CFrame.new(0.494999886, -0.33891201, 0.972015977, 1, -1.4399717e-08, 5.37404965e-08, -5.56362707e-08, -0.258818954, 0.965925694, 6.63455814e-16, -0.965925336, -0.258819044) |
810 | - | if v.Name == name then |
810 | + | Weld87.Part0 = Part16 |
811 | - | return |
811 | + | Weld87.Part1 = Part135 |
812 | Weld87.part1 = Part135 | |
813 | Weld88.Name = "BTWeld" | |
814 | Weld88.Parent = Part16 | |
815 | - | bv.Parent = vtors |
815 | + | Weld88.C1 = CFrame.new(0.249999046, 0.0399999619, 0.515000343, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
816 | Weld88.Part0 = Part16 | |
817 | - | wait(duration) |
817 | + | Weld88.Part1 = Part4 |
818 | - | bv:Destroy() |
818 | + | Weld88.part1 = Part4 |
819 | Weld89.Name = "BTWeld" | |
820 | Weld89.Parent = Part16 | |
821 | - | function _.Burn(parent, vhum, damage, colour, loops) |
821 | + | Weld89.C1 = CFrame.new(0.144999504, -0.11500001, -0.534999847, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
822 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
822 | + | Weld89.Part0 = Part16 |
823 | - | return |
823 | + | Weld89.Part1 = Part111 |
824 | Weld89.part1 = Part111 | |
825 | - | local plrchar = parent.Parent |
825 | + | Weld90.Name = "BTWeld" |
826 | - | local plrhead = plrchar.Head |
826 | + | Weld90.Parent = Part16 |
827 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
827 | + | Weld90.C1 = CFrame.new(-0.04500103, -1.0399996, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
828 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
828 | + | Weld90.Part0 = Part16 |
829 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then |
829 | + | Weld90.Part1 = Part121 |
830 | - | return |
830 | + | Weld90.part1 = Part121 |
831 | Weld91.Name = "BTWeld" | |
832 | - | if vhum.Parent:FindFirstChild("CharStats") then |
832 | + | Weld91.Parent = Part16 |
833 | - | do |
833 | + | Weld91.C1 = CFrame.new(0.249999046, -0.0399999619, -0.555000305, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
834 | - | local enemstats = vhum.Parent:FindFirstChild("CharStats") |
834 | + | Weld91.Part0 = Part16 |
835 | - | local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value |
835 | + | Weld91.Part1 = Part8 |
836 | - | local firedamage = localdamage |
836 | + | Weld91.part1 = Part8 |
837 | - | local totalloops = loops |
837 | + | Weld92.Name = "BTWeld" |
838 | - | if enemstats:FindFirstChild("BurnResist") and enemstats:FindFirstChild("BurnTime") then |
838 | + | Weld92.Parent = Part16 |
839 | - | firedamage = localdamage / (enemstats.BurnResist.Value / 100 + 1) |
839 | + | Weld92.C1 = CFrame.new(0.494999886, -0.765704155, 0.892933369, 1, 2.78181176e-08, 4.81824287e-08, -5.56362707e-08, 0.499999732, 0.866025507, 6.63455814e-16, -0.86602515, 0.499999613) |
840 | - | totalloops = loops / (enemstats.BurnTime.Value / 100 + 1) |
840 | + | Weld92.Part0 = Part16 |
841 | Weld92.Part1 = Part129 | |
842 | - | firedamage = localdamage |
842 | + | Weld92.part1 = Part129 |
843 | - | totalloops = loops |
843 | + | Weld93.Name = "BTWeld" |
844 | Weld93.Parent = Part16 | |
845 | - | spawn(function() |
845 | + | Weld93.C1 = CFrame.new(-0.080037117, 0.438082457, -0.395000458, 0.994521976, 0.104528308, 0, -0.104528315, 0.994521976, 0, 0, 0, 1) |
846 | - | local fire |
846 | + | Weld93.Part0 = Part16 |
847 | - | if not vhum.Parent.Torso:FindFirstChild("firepoop") then |
847 | + | Weld93.Part1 = Part149 |
848 | - | fire = Instance.new("Fire", vhum.Parent.Torso) |
848 | + | Weld93.part1 = Part149 |
849 | - | fire.Heat = math.random(8, 15) |
849 | + | Weld94.Name = "BTWeld" |
850 | - | fire.Size = math.random(8, 15) |
850 | + | Weld94.Parent = Part16 |
851 | - | fire.Name = "firepoop" |
851 | + | Weld94.C1 = CFrame.new(-0.04500103, -0.404999852, -0.105000496, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
852 | - | game.Debris:AddItem(fire, 1 * totalloops) |
852 | + | Weld94.Part0 = Part16 |
853 | Weld94.Part1 = Part115 | |
854 | - | for i = 1, totalloops do |
854 | + | Weld94.part1 = Part115 |
855 | - | if vhum.Health > 0 then |
855 | + | Weld95.Name = "BTWeld" |
856 | - | if plrchar:findFirstChild("CharStats") then |
856 | + | Weld95.Parent = Part16 |
857 | - | vhum.Health = vhum.Health - round(firedamage) |
857 | + | Weld95.C1 = CFrame.new(-0.04500103, -0.444999814, -0.395000458, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
858 | - | guieffect(parent, vhum, "-" .. round(firedamage) .. " (Burn!)", colour) |
858 | + | Weld95.Part0 = Part16 |
859 | - | check(vhum, plrchar, round(firedamage)) |
859 | + | Weld95.Part1 = Part1 |
860 | - | wait(1) |
860 | + | Weld95.part1 = Part1 |
861 | - | else |
861 | + | Weld96.Name = "BTWeld" |
862 | - | vhum.Health = vhum.Health - round(firedamage) |
862 | + | Weld96.Parent = Part16 |
863 | - | guieffect(parent, vhum, "-" .. round(firedamage) .. " (Burn!)", colour) |
863 | + | Weld96.C1 = CFrame.new(-0.170000076, -0.11500001, -0.534999847, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
864 | - | check(vhum, plrchar, round(firedamage)) |
864 | + | Weld96.Part0 = Part16 |
865 | - | wait(1) |
865 | + | Weld96.Part1 = Part109 |
866 | Weld96.part1 = Part109 | |
867 | Weld97.Name = "BTWeld" | |
868 | Weld97.Parent = Part16 | |
869 | - | if fire then |
869 | + | Weld97.C1 = CFrame.new(0.199999809, -0.0349999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
870 | - | fire:Destroy() |
870 | + | Weld97.Part0 = Part16 |
871 | Weld97.Part1 = Part14 | |
872 | Weld97.part1 = Part14 | |
873 | Weld98.Name = "BTWeld" | |
874 | Weld98.Parent = Part16 | |
875 | - | vhum.Health = vhum.Health - damage |
875 | + | Weld98.C1 = CFrame.new(-0.0070734024, 0.502049446, -0.395000458, 0.707106769, 0.707106709, -5.96046448e-08, -0.707106769, 0.707106709, -5.96046448e-08, 0, 0, 1) |
876 | - | check(vhum, plrchar, damage) |
876 | + | Weld98.Part0 = Part16 |
877 | - | guieffect(parent, vhum, damage, colour) |
877 | + | Weld98.Part1 = Part144 |
878 | Weld98.part1 = Part144 | |
879 | Part99.Parent = Model2 | |
880 | - | function _.Venom(parent, vhum, percent, colour, loops) |
880 | + | Part99.CFrame = CFrame.new(-11.8600006, 1.5400002, -11.3950005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
881 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
881 | + | Part99.Position = Vector3.new(-11.8600006, 1.5400002, -11.3950005) |
882 | - | return |
882 | + | Part99.Color = Color3.new(0.105882, 0.164706, 0.207843) |
883 | Part99.Size = Vector3.new(0.239999935, 0.14000006, 0.24999997) | |
884 | - | local plrchar = parent.Parent |
884 | + | Part99.BottomSurface = Enum.SurfaceType.Smooth |
885 | - | local plrhead = plrchar.Head |
885 | + | Part99.BrickColor = BrickColor.new("Black") |
886 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
886 | + | Part99.CanCollide = false |
887 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
887 | + | Part99.Material = Enum.Material.Glass |
888 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then |
888 | + | Part99.TopSurface = Enum.SurfaceType.Smooth |
889 | - | return |
889 | + | Part99.brickColor = BrickColor.new("Black") |
890 | Part100.Parent = Model2 | |
891 | - | if vhum.Parent:FindFirstChild("CharStats") then |
891 | + | Part100.CFrame = CFrame.new(-11.7200003, 1.6700002, -11.4900007, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
892 | - | do |
892 | + | Part100.Position = Vector3.new(-11.7200003, 1.6700002, -11.4900007) |
893 | - | local localdamage = vhum.MaxHealth * (percent / 100) |
893 | + | Part100.Color = Color3.new(0.105882, 0.164706, 0.207843) |
894 | - | local venomdamage = localdamage / (plrchar.CharStats.VenomResist.Value / 100 + 1) |
894 | + | Part100.Size = Vector3.new(0.47999993, 0.0800000727, 0.0599999726) |
895 | - | local totalloops = loops / (plrchar.CharStats.VenomTime.Value / 100 + 1) |
895 | + | Part100.BottomSurface = Enum.SurfaceType.Smooth |
896 | - | spawn(function() |
896 | + | Part100.BrickColor = BrickColor.new("Black") |
897 | - | for i = 1, totalloops do |
897 | + | Part100.CanCollide = false |
898 | - | if vhum.Health > 0 then |
898 | + | Part100.Material = Enum.Material.Glass |
899 | - | if plrchar:findFirstChild("CharStats") then |
899 | + | Part100.TopSurface = Enum.SurfaceType.Smooth |
900 | - | vhum.Health = vhum.Health - round(venomdamage) |
900 | + | Part100.brickColor = BrickColor.new("Black") |
901 | - | guieffect(parent, vhum, "-" .. round(venomdamage) .. " (Venom!)", colour) |
901 | + | Part101.Parent = Model2 |
902 | - | check(vhum, plrchar, round(venomdamage)) |
902 | + | Part101.CFrame = CFrame.new(-11.5950003, 1.5400002, -11.3950005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
903 | - | wait(1) |
903 | + | Part101.Position = Vector3.new(-11.5950003, 1.5400002, -11.3950005) |
904 | - | else |
904 | + | Part101.Color = Color3.new(0.105882, 0.164706, 0.207843) |
905 | - | vhum.Health = vhum.Health - round(venomdamage) |
905 | + | Part101.Size = Vector3.new(0.22999993, 0.14000006, 0.24999997) |
906 | - | guieffect(parent, vhum, "-" .. round(venomdamage) .. " (Venom!)", colour) |
906 | + | Part101.BottomSurface = Enum.SurfaceType.Smooth |
907 | - | check(vhum, plrchar, round(venomdamage)) |
907 | + | Part101.BrickColor = BrickColor.new("Black") |
908 | - | wait(1) |
908 | + | Part101.CanCollide = false |
909 | Part101.Material = Enum.Material.Glass | |
910 | Part101.TopSurface = Enum.SurfaceType.Smooth | |
911 | Part101.brickColor = BrickColor.new("Black") | |
912 | Part102.Parent = Model2 | |
913 | Part102.CFrame = CFrame.new(-11.5550003, 1.53500009, -11.1700001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
914 | Part102.Position = Vector3.new(-11.5550003, 1.53500009, -11.1700001) | |
915 | - | vhum.Health = vhum.Health - percent |
915 | + | Part102.Color = Color3.new(0.105882, 0.164706, 0.207843) |
916 | - | check(vhum, plrchar, percent) |
916 | + | Part102.Size = Vector3.new(0.149999946, 0.13000007, 0.159999982) |
917 | - | guieffect(parent, vhum, percent, colour) |
917 | + | Part102.BottomSurface = Enum.SurfaceType.Smooth |
918 | Part102.BrickColor = BrickColor.new("Black") | |
919 | Part102.CanCollide = false | |
920 | - | function _.Ice(parent, vhum, damage, colour, duration, speed) |
920 | + | Part102.Material = Enum.Material.Glass |
921 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
921 | + | Part102.TopSurface = Enum.SurfaceType.Smooth |
922 | - | return |
922 | + | Part102.brickColor = BrickColor.new("Black") |
923 | Part103.Parent = Model2 | |
924 | - | local plrchar = parent.Parent |
924 | + | Part103.CFrame = CFrame.new(-11.5100002, 1.65500021, -11.3550005, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
925 | - | local plrhead = plrchar.Head |
925 | + | Part103.Position = Vector3.new(-11.5100002, 1.65500021, -11.3550005) |
926 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
926 | + | Part103.Color = Color3.new(0.105882, 0.164706, 0.207843) |
927 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
927 | + | Part103.Size = Vector3.new(0.0599999428, 0.110000074, 0.169999972) |
928 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then |
928 | + | Part103.BottomSurface = Enum.SurfaceType.Smooth |
929 | - | return |
929 | + | Part103.BrickColor = BrickColor.new("Black") |
930 | Part103.CanCollide = false | |
931 | - | if vhum.Parent:FindFirstChild("CharStats") then |
931 | + | Part103.Material = Enum.Material.Glass |
932 | - | do |
932 | + | Part103.TopSurface = Enum.SurfaceType.Smooth |
933 | - | local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value |
933 | + | Part103.brickColor = BrickColor.new("Black") |
934 | - | local icedamage = localdamage / (vhum.Parent.CharStats.IceResist.Value / 100 + 1) |
934 | + | Part104.Parent = Model2 |
935 | - | local iceduration = duration / (vhum.Parent.CharStats.IceTime.Value / 100 + 1) * 2 |
935 | + | Part104.CFrame = CFrame.new(-11.5550003, 1.67000008, -11.0300007, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
936 | - | if plrchar:findFirstChild("CharStats") then |
936 | + | Part104.Position = Vector3.new(-11.5550003, 1.67000008, -11.0300007) |
937 | - | local icee = function(i) |
937 | + | Part104.Color = Color3.new(0.105882, 0.164706, 0.207843) |
938 | - | coroutine.resume(coroutine.create(i)) |
938 | + | Part104.Size = Vector3.new(0.149999946, 0.100000061, 0.439999938) |
939 | Part104.BottomSurface = Enum.SurfaceType.Smooth | |
940 | - | icee(function() |
940 | + | Part104.BrickColor = BrickColor.new("Black") |
941 | - | vhum.Health = vhum.Health - round(icedamage) |
941 | + | Part104.CanCollide = false |
942 | - | local speedvalue = plrchar:FindFirstChild("CharStats"):FindFirstChild("Speed") |
942 | + | Part104.Material = Enum.Material.Glass |
943 | - | check(vhum, plrchar, round(icedamage)) |
943 | + | Part104.TopSurface = Enum.SurfaceType.Smooth |
944 | - | guieffect(parent, vhum, "-" .. round(icedamage) .. " (Ice!)", colour) |
944 | + | Part104.brickColor = BrickColor.new("Black") |
945 | - | if speedvalue and speedvalue.Value > speed then |
945 | + | Part105.Parent = Model2 |
946 | - | speedvalue.Value = speedvalue.Value - speed |
946 | + | Part105.CFrame = CFrame.new(-11.5550003, 1.53500009, -10.9650002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
947 | - | wait(iceduration) |
947 | + | Part105.Position = Vector3.new(-11.5550003, 1.53500009, -10.9650002) |
948 | - | speedvalue.Value = speedvalue.Value + speed |
948 | + | Part105.Color = Color3.new(0.105882, 0.164706, 0.207843) |
949 | Part105.Size = Vector3.new(0.149999946, 0.13000007, 0.209999993) | |
950 | Part105.BottomSurface = Enum.SurfaceType.Smooth | |
951 | Part105.BrickColor = BrickColor.new("Black") | |
952 | Part105.CanCollide = false | |
953 | Part105.Material = Enum.Material.Glass | |
954 | - | vhum.Health = vhum.Health - damage |
954 | + | Part105.TopSurface = Enum.SurfaceType.Smooth |
955 | - | check(vhum, plrchar, damage) |
955 | + | Part105.brickColor = BrickColor.new("Black") |
956 | - | guieffect(parent, vhum, damage, colour) |
956 | + | Part106.Parent = Model2 |
957 | Part106.CFrame = CFrame.new(-11.5250006, 1.50000012, -10.7300014, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
958 | Part106.Position = Vector3.new(-11.5250006, 1.50000012, -10.7300014) | |
959 | - | function _.Stun(parent, vhum, damage, colour, duration) |
959 | + | Part106.Color = Color3.new(0.105882, 0.164706, 0.207843) |
960 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
960 | + | Part106.Size = Vector3.new(0.089999944, 0.060000062, 0.49999994) |
961 | - | return |
961 | + | Part106.BottomSurface = Enum.SurfaceType.Smooth |
962 | Part106.BrickColor = BrickColor.new("Black") | |
963 | - | local plrchar = parent.Parent |
963 | + | Part106.CanCollide = false |
964 | - | local plrhead = plrchar:FindFirstChild("Head") |
964 | + | Part106.Material = Enum.Material.Glass |
965 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
965 | + | Part106.TopSurface = Enum.SurfaceType.Smooth |
966 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
966 | + | Part106.brickColor = BrickColor.new("Black") |
967 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then |
967 | + | Part107.Parent = Model2 |
968 | - | return |
968 | + | Part107.CFrame = CFrame.new(-11.5550003, 1.63500011, -10.7800007, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
969 | Part107.Position = Vector3.new(-11.5550003, 1.63500011, -10.7800007) | |
970 | - | if enemply and enemply:FindFirstChild("PlayerGui") and enemply.PlayerGui:FindFirstChild("LightSneakers_Gui") then |
970 | + | Part107.Color = Color3.new(0.105882, 0.164706, 0.207843) |
971 | - | guieffect(parent, vhum, "Stun ignored!", BrickColor.new("New Yeller").Color) |
971 | + | Part107.Size = Vector3.new(0.149999946, 0.170000061, 0.119999945) |
972 | - | return |
972 | + | Part107.BottomSurface = Enum.SurfaceType.Smooth |
973 | Part107.BrickColor = BrickColor.new("Black") | |
974 | - | if vhum.Parent:FindFirstChild("CharStats") and plrchar then |
974 | + | Part107.CanCollide = false |
975 | - | do |
975 | + | Part107.Material = Enum.Material.Glass |
976 | - | local enemstats = vhum.Parent:FindFirstChild("CharStats") |
976 | + | Part107.TopSurface = Enum.SurfaceType.Smooth |
977 | - | local stunnedVal = enemstats:FindFirstChild("Stunned") |
977 | + | Part107.brickColor = BrickColor.new("Black") |
978 | - | local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value |
978 | + | Part108.Parent = Model2 |
979 | - | local stundamage, stunduration |
979 | + | Part108.CFrame = CFrame.new(-11.5550003, 1.63500011, -10.585001, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
980 | - | if enemstats:FindFirstChild("StunResist") and enemstats:FindFirstChild("StunTime") then |
980 | + | Part108.Position = Vector3.new(-11.5550003, 1.63500011, -10.585001) |
981 | - | stundamage = localdamage / (enemstats.StunResist.Value / 100 + 1) |
981 | + | Part108.Color = Color3.new(0.105882, 0.164706, 0.207843) |
982 | - | stunduration = duration / (enemstats.StunTime.Value / 100 + 1) |
982 | + | Part108.Size = Vector3.new(0.149999946, 0.170000061, 0.209999949) |
983 | Part108.BottomSurface = Enum.SurfaceType.Smooth | |
984 | - | stundamage = localdamage |
984 | + | Part108.BrickColor = BrickColor.new("Black") |
985 | - | stunduration = duration |
985 | + | Part108.CanCollide = false |
986 | Part108.Material = Enum.Material.Glass | |
987 | - | spawn(function() |
987 | + | Part108.TopSurface = Enum.SurfaceType.Smooth |
988 | - | if stunnedVal and stunnedVal.Value ~= true then |
988 | + | Part108.brickColor = BrickColor.new("Black") |
989 | - | vhum.Health = vhum.Health - round(stundamage) |
989 | + | Part109.Parent = Model2 |
990 | - | check(vhum, plrchar, round(stundamage)) |
990 | + | Part109.CFrame = CFrame.new(-11.875001, 1.6700002, -10.8600006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
991 | - | guieffect(parent, vhum, "-" .. round(stundamage) .. " (Stunned!)", BrickColor.new("New Yeller").Color) |
991 | + | Part109.Position = Vector3.new(-11.875001, 1.6700002, -10.8600006) |
992 | - | stunnedVal.Value = true |
992 | + | Part109.Color = Color3.new(0.105882, 0.164706, 0.207843) |
993 | - | do |
993 | + | Part109.Size = Vector3.new(0.430000007, 0.100000054, 0.759999931) |
994 | - | local star = Instance.new("Part", vhum.Parent) |
994 | + | Part109.BottomSurface = Enum.SurfaceType.Smooth |
995 | - | star.Size = Vector3.new(0.2, 0.2, 0.2) |
995 | + | Part109.BrickColor = BrickColor.new("Black") |
996 | - | star.Anchored = true |
996 | + | Part109.CanCollide = false |
997 | - | star.CanCollide = false |
997 | + | Part109.Material = Enum.Material.Glass |
998 | - | star.Material = "Neon" |
998 | + | Part109.TopSurface = Enum.SurfaceType.Smooth |
999 | - | star.BrickColor = BrickColor.new("Bright yellow") |
999 | + | Part109.brickColor = BrickColor.new("Black") |
1000 | - | star.CFrame = vhum.Parent.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) |
1000 | + | Part110.Parent = Model2 |
1001 | - | local starmesh = Instance.new("SpecialMesh", star) |
1001 | + | Part110.CFrame = CFrame.new(-12.1400003, 1.53500021, -10.8600006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1002 | - | starmesh.MeshType = "FileMesh" |
1002 | + | Part110.Position = Vector3.new(-12.1400003, 1.53500021, -10.8600006) |
1003 | - | starmesh.MeshId = "http://www.roblox.com/asset/?id=120647846" |
1003 | + | Part110.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1004 | - | starmesh.Scale = Vector3.new(3, 3, 3) |
1004 | + | Part110.Size = Vector3.new(0.25999999, 0.130000055, 0.759999931) |
1005 | - | spawn(function() |
1005 | + | Part110.BottomSurface = Enum.SurfaceType.Smooth |
1006 | - | local spin = 0 |
1006 | + | Part110.BrickColor = BrickColor.new("Black") |
1007 | - | local peofe = vhum.Parent:FindFirstChild("HumanoidRootPart") |
1007 | + | Part110.CanCollide = false |
1008 | - | if peofe then |
1008 | + | Part110.Material = Enum.Material.Glass |
1009 | - | repeat |
1009 | + | Part110.TopSurface = Enum.SurfaceType.Smooth |
1010 | - | spin = spin + 20 |
1010 | + | Part110.brickColor = BrickColor.new("Black") |
1011 | - | if star then |
1011 | + | Part111.Parent = Model2 |
1012 | - | star.CFrame = star.CFrame:lerp(peofe.CFrame * CFrame.new(0, 5, 0) * CFrame.Angles(0, math.rad(spin), 0), 0.2) |
1012 | + | Part111.CFrame = CFrame.new(-12.1900005, 1.6700002, -10.8600006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1013 | - | else |
1013 | + | Part111.Position = Vector3.new(-12.1900005, 1.6700002, -10.8600006) |
1014 | - | break |
1014 | + | Part111.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1015 | - | end |
1015 | + | Part111.Size = Vector3.new(0.159999996, 0.100000054, 0.759999931) |
1016 | - | wait() |
1016 | + | Part111.BottomSurface = Enum.SurfaceType.Smooth |
1017 | - | until not star |
1017 | + | Part111.BrickColor = BrickColor.new("Black") |
1018 | Part111.CanCollide = false | |
1019 | - | end) |
1019 | + | Part111.Material = Enum.Material.Glass |
1020 | - | game.Debris:AddItem(star, stunduration) |
1020 | + | Part111.TopSurface = Enum.SurfaceType.Smooth |
1021 | - | enemstats.Speed.Value = enemstats.Speed.Value - 100 |
1021 | + | Part111.brickColor = BrickColor.new("Black") |
1022 | - | wait(stunduration) |
1022 | + | Part112.Parent = Model2 |
1023 | - | enemstats.Speed.Value = enemstats.Speed.Value + 100 |
1023 | + | Part112.CFrame = CFrame.new(-11.8950005, 1.53500021, -10.8600006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1024 | - | if 3 < enemstats.Speed.Value then |
1024 | + | Part112.Position = Vector3.new(-11.8950005, 1.53500021, -10.8600006) |
1025 | - | enemstats.Speed.Value = 1 |
1025 | + | Part112.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1026 | Part112.Size = Vector3.new(0.189999998, 0.130000055, 0.759999931) | |
1027 | - | stunnedVal.Value = false |
1027 | + | Part112.BottomSurface = Enum.SurfaceType.Smooth |
1028 | - | guieffect(parent, vhum, "Stun ended!", BrickColor.new("New Yeller").Color) |
1028 | + | Part112.BrickColor = BrickColor.new("Black") |
1029 | Part112.CanCollide = false | |
1030 | Part112.Material = Enum.Material.Glass | |
1031 | Part112.TopSurface = Enum.SurfaceType.Smooth | |
1032 | Part112.brickColor = BrickColor.new("Black") | |
1033 | Part113.Parent = Model2 | |
1034 | - | vhum.Health = vhum.Health - damage |
1034 | + | Part113.CFrame = CFrame.new(-11.6850004, 1.53500021, -10.8600006, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1035 | - | check(vhum, plrchar, damage) |
1035 | + | Part113.Position = Vector3.new(-11.6850004, 1.53500021, -10.8600006) |
1036 | - | guieffect(parent, vhum, damage, colour) |
1036 | + | Part113.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1037 | Part113.Size = Vector3.new(0.189999998, 0.130000055, 0.759999931) | |
1038 | Part113.BottomSurface = Enum.SurfaceType.Smooth | |
1039 | - | function _.Damage(parent, vhum, damage, colour) |
1039 | + | Part113.BrickColor = BrickColor.new("Black") |
1040 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 or not vhum.Parent:FindFirstChild("Head") then |
1040 | + | Part113.CanCollide = false |
1041 | - | return |
1041 | + | Part113.Material = Enum.Material.Glass |
1042 | Part113.TopSurface = Enum.SurfaceType.Smooth | |
1043 | - | local plrchar = parent.Parent |
1043 | + | Part113.brickColor = BrickColor.new("Black") |
1044 | - | local plrhead = plrchar:FindFirstChild("Head") |
1044 | + | Part114.Parent = Model2 |
1045 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
1045 | + | Part114.CFrame = CFrame.new(-12, 1.96000004, -10.7150002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1046 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
1046 | + | Part114.Position = Vector3.new(-12, 1.96000004, -10.7150002) |
1047 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor and (enemply.Neutral == false or baseply.Neutral == false) then |
1047 | + | Part114.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1048 | - | return |
1048 | + | Part114.Size = Vector3.new(1.05999994, 0.400000066, 0.48999998) |
1049 | Part114.BottomSurface = Enum.SurfaceType.Smooth | |
1050 | - | if vhum.Parent:FindFirstChild("CharStats") then |
1050 | + | Part114.BrickColor = BrickColor.new("Black") |
1051 | - | local localdamage = damage * (plrchar.CharStats.Attack.Value / 2) / vhum.Parent.CharStats.Defense.Value |
1051 | + | Part114.CanCollide = false |
1052 | - | if plrchar:findFirstChild("CharStats") then |
1052 | + | Part114.Material = Enum.Material.DiamondPlate |
1053 | - | vhum.Health = vhum.Health - localdamage |
1053 | + | Part114.TopSurface = Enum.SurfaceType.Smooth |
1054 | - | check(vhum, plrchar, localdamage) |
1054 | + | Part114.brickColor = BrickColor.new("Black") |
1055 | - | guieffect(parent, vhum, "-" .. round(localdamage), colour) |
1055 | + | Part115.Parent = Model2 |
1056 | Part115.CFrame = CFrame.new(-12, 1.96000004, -11.29, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1057 | Part115.Position = Vector3.new(-12, 1.96000004, -11.29) | |
1058 | - | vhum.Health = vhum.Health - damage |
1058 | + | Part115.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1059 | - | check(vhum, plrchar, damage) |
1059 | + | Part115.Size = Vector3.new(1.05999994, 0.400000036, 0.5) |
1060 | - | guieffect(parent, vhum, damage, colour) |
1060 | + | Part115.BottomSurface = Enum.SurfaceType.Smooth |
1061 | Part115.BrickColor = BrickColor.new("Black") | |
1062 | Part115.CanCollide = false | |
1063 | - | function _.Debuff(parent, vhum, colour, type, amount, last) |
1063 | + | Part115.Material = Enum.Material.DiamondPlate |
1064 | - | local stat, statstr |
1064 | + | Part115.TopSurface = Enum.SurfaceType.Smooth |
1065 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
1065 | + | Part115.brickColor = BrickColor.new("Black") |
1066 | - | return |
1066 | + | Part116.Parent = Model2 |
1067 | Part116.CFrame = CFrame.new(-12, 2.41499996, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1068 | - | local plrchar = parent.Parent |
1068 | + | Part116.Position = Vector3.new(-12, 2.41499996, -11) |
1069 | - | local plrhead = plrchar.Head |
1069 | + | Part116.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1070 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
1070 | + | Part116.Size = Vector3.new(1.03999996, 0.330000043, 1.03999996) |
1071 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
1071 | + | Part116.BottomSurface = Enum.SurfaceType.Smooth |
1072 | - | if baseply and enemply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false then |
1072 | + | Part116.BrickColor = BrickColor.new("Black") |
1073 | - | return |
1073 | + | Part116.CanCollide = false |
1074 | Part116.Material = Enum.Material.DiamondPlate | |
1075 | - | if vhum.Parent:FindFirstChild("CharStats") then |
1075 | + | Part116.TopSurface = Enum.SurfaceType.Smooth |
1076 | - | if type == "Attack" or type == "A" then |
1076 | + | Part116.brickColor = BrickColor.new("Black") |
1077 | - | stat = vhum.Parent.CharStats.Attack |
1077 | + | Part117.Parent = Model2 |
1078 | - | statstr = "Attack" |
1078 | + | Part117.CFrame = CFrame.new(-12.21, 2.55999899, -10.9999981, 1, 0, 0, 0, 0.70710665, 0.707106888, 0, -0.707106888, 0.70710665) |
1079 | - | elseif type == "Defense" or type == "D" or type == nil then |
1079 | + | Part117.Orientation = Vector3.new(-45, 0, 0) |
1080 | - | stat = vhum.Parent.CharStats.Defense |
1080 | + | Part117.Position = Vector3.new(-12.21, 2.55999899, -10.9999981) |
1081 | - | statstr = "Defense" |
1081 | + | Part117.Rotation = Vector3.new(-45, 0, 0) |
1082 | - | elseif type == "Speed" or type == "S" then |
1082 | + | Part117.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1083 | - | stat = vhum.Parent.CharStats.Speed |
1083 | + | Part117.Size = Vector3.new(0.699999928, 0.439999998, 0.439999938) |
1084 | - | statstr = "Speed" |
1084 | + | Part117.BottomSurface = Enum.SurfaceType.Smooth |
1085 | Part117.BrickColor = BrickColor.new("Black") | |
1086 | - | spawn(function() |
1086 | + | Part117.CanCollide = false |
1087 | - | stat.Value = stat.Value - amount |
1087 | + | Part117.Material = Enum.Material.DiamondPlate |
1088 | - | wait(last) |
1088 | + | Part117.TopSurface = Enum.SurfaceType.Smooth |
1089 | - | stat.Value = stat.Value + amount |
1089 | + | Part117.brickColor = BrickColor.new("Black") |
1090 | Part118.Parent = Model2 | |
1091 | - | if plrchar:findFirstChild("CharStats") then |
1091 | + | Part118.CFrame = CFrame.new(-12, 2.55499983, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1092 | - | guieffect(parent, vhum, "-" .. statstr, colour) |
1092 | + | Part118.Position = Vector3.new(-12, 2.55499983, -11) |
1093 | Part118.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1094 | Part118.Size = Vector3.new(1.07999992, 0.129999995, 1.07999992) | |
1095 | Part118.BottomSurface = Enum.SurfaceType.Smooth | |
1096 | - | function _.Buff(parent, vhum, colour, type, amount, last) |
1096 | + | Part118.BrickColor = BrickColor.new("Black") |
1097 | - | local stat, statstr |
1097 | + | Part118.CanCollide = false |
1098 | - | if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then |
1098 | + | Part118.Material = Enum.Material.DiamondPlate |
1099 | - | return |
1099 | + | Part118.TopSurface = Enum.SurfaceType.Smooth |
1100 | Part118.brickColor = BrickColor.new("Black") | |
1101 | - | local plrchar = parent.Parent |
1101 | + | Part119.Parent = Model2 |
1102 | - | local plrhead = plrchar.Head |
1102 | + | Part119.CFrame = CFrame.new(-12, 1.20499992, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1103 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
1103 | + | Part119.Position = Vector3.new(-12, 1.20499992, -11) |
1104 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
1104 | + | Part119.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1105 | - | if enemply and (enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false or enemply == baseply) and vhum.Parent:FindFirstChild("CharStats") then |
1105 | + | Part119.Size = Vector3.new(1.05999994, 0.450000018, 1.05999994) |
1106 | - | if type == "Attack" or type == "A" then |
1106 | + | Part119.BottomSurface = Enum.SurfaceType.Smooth |
1107 | - | stat = vhum.Parent.CharStats.Attack |
1107 | + | Part119.BrickColor = BrickColor.new("Black") |
1108 | - | statstr = "Attack" |
1108 | + | Part119.CanCollide = false |
1109 | - | elseif type == "Defense" or type == "D" or type == nil then |
1109 | + | Part119.Material = Enum.Material.DiamondPlate |
1110 | - | stat = vhum.Parent.CharStats.Defense |
1110 | + | Part119.TopSurface = Enum.SurfaceType.Smooth |
1111 | - | statstr = "Defense" |
1111 | + | Part119.brickColor = BrickColor.new("Black") |
1112 | - | elseif type == "Speed" or type == "S" then |
1112 | + | Model120.Name = "MainCol" |
1113 | - | stat = vhum.Parent.CharStats.Speed |
1113 | + | Model120.Parent = Model0 |
1114 | - | statstr = "Speed" |
1114 | + | Part121.Parent = Model120 |
1115 | Part121.CFrame = CFrame.new(-12, 2.59499979, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1116 | - | spawn(function() |
1116 | + | Part121.Position = Vector3.new(-12, 2.59499979, -11) |
1117 | - | stat.Value = stat.Value + amount |
1117 | + | Part121.Color = Color3.new(0, 1, 1) |
1118 | - | wait(last) |
1118 | + | Part121.Size = Vector3.new(1.03999996, 0.209999979, 1.03999996) |
1119 | - | stat.Value = stat.Value - amount |
1119 | + | Part121.BottomSurface = Enum.SurfaceType.Smooth |
1120 | Part121.BrickColor = BrickColor.new("Toothpaste") | |
1121 | - | if plrchar:findFirstChild("CharStats") then |
1121 | + | Part121.CanCollide = false |
1122 | - | guieffect(parent, vhum, "+" .. statstr, colour) |
1122 | + | Part121.Material = Enum.Material.Neon |
1123 | Part121.TopSurface = Enum.SurfaceType.Smooth | |
1124 | Part121.brickColor = BrickColor.new("Toothpaste") | |
1125 | Part122.Parent = Model120 | |
1126 | - | function _.LowerStat(vhum, id, type, amount) |
1126 | + | Part122.CFrame = CFrame.new(-12, 2.55499983, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1127 | - | local character = vhum.Parent |
1127 | + | Part122.Position = Vector3.new(-12, 2.55499983, -11) |
1128 | - | local stat = type or "" |
1128 | + | Part122.Color = Color3.new(0, 1, 1) |
1129 | - | if type == "Attack" or type == "A" then |
1129 | + | Part122.Size = Vector3.new(1.05999994, 0.189999983, 1.05999994) |
1130 | - | local FindHum = character:FindFirstChildOfClass("Humanoid") |
1130 | + | Part122.BottomSurface = Enum.SurfaceType.Smooth |
1131 | - | if FindHum then |
1131 | + | Part122.BrickColor = BrickColor.new("Toothpaste") |
1132 | - | local FoundCharStats = character:FindFirstChild("CharStats") |
1132 | + | Part122.CanCollide = false |
1133 | - | if FoundCharStats and FindHum.Health > 0 then |
1133 | + | Part122.Material = Enum.Material.Glass |
1134 | - | local stat = FoundCharStats:FindFirstChild("Attack") |
1134 | + | Part122.TopSurface = Enum.SurfaceType.Smooth |
1135 | - | if stat then |
1135 | + | Part122.brickColor = BrickColor.new("Toothpaste") |
1136 | - | stat.Value = stat.Value - amount |
1136 | + | Part123.Parent = Model120 |
1137 | Part123.CFrame = CFrame.new(-12.5400009, 2.5849998, -11.1599998, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1138 | Part123.Position = Vector3.new(-12.5400009, 2.5849998, -11.1599998) | |
1139 | Part123.Color = Color3.new(0, 1, 1) | |
1140 | - | elseif type == "Defense" or type == "D" or type == nil then |
1140 | + | Part123.Size = Vector3.new(0.0599999428, 0.24999997, 0.0599999428) |
1141 | - | local FindHum = character:FindFirstChildOfClass("Humanoid") |
1141 | + | Part123.BottomSurface = Enum.SurfaceType.Smooth |
1142 | - | if FindHum then |
1142 | + | Part123.BrickColor = BrickColor.new("Toothpaste") |
1143 | - | local FoundCharStats = character:FindFirstChild("CharStats") |
1143 | + | Part123.CanCollide = false |
1144 | - | if FoundCharStats and FindHum.Health > 0 then |
1144 | + | Part123.Material = Enum.Material.Neon |
1145 | - | local stat = FoundCharStats:FindFirstChild("Defense") |
1145 | + | Part123.TopSurface = Enum.SurfaceType.Smooth |
1146 | - | if stat then |
1146 | + | Part123.brickColor = BrickColor.new("Toothpaste") |
1147 | - | stat.Value = stat.Value - amount |
1147 | + | Part124.Parent = Model120 |
1148 | Part124.CFrame = CFrame.new(-12.5400009, 2.48499966, -11.0700006, 1, 0, 0, 0, 0, 1, 0, -1, 0) | |
1149 | Part124.Orientation = Vector3.new(-90, 0, 0) | |
1150 | Part124.Position = Vector3.new(-12.5400009, 2.48499966, -11.0700006) | |
1151 | - | elseif type == "Speed" or type == "S" then |
1151 | + | Part124.Rotation = Vector3.new(-90, 0, 0) |
1152 | - | local FindHum = character:FindFirstChildOfClass("Humanoid") |
1152 | + | Part124.Color = Color3.new(0, 1, 1) |
1153 | - | if FindHum then |
1153 | + | Part124.Size = Vector3.new(0.0599999428, 0.189999968, 0.0599999428) |
1154 | - | local FoundCharStats = character:FindFirstChild("CharStats") |
1154 | + | Part124.BottomSurface = Enum.SurfaceType.Smooth |
1155 | - | if FoundCharStats and FindHum.Health > 0 then |
1155 | + | Part124.BrickColor = BrickColor.new("Toothpaste") |
1156 | - | local stat = FoundCharStats:FindFirstChild("Speed") |
1156 | + | Part124.CanCollide = false |
1157 | - | if stat then |
1157 | + | Part124.Material = Enum.Material.Neon |
1158 | - | stat.Value = stat.Value - amount |
1158 | + | Part124.TopSurface = Enum.SurfaceType.Smooth |
1159 | Part124.brickColor = BrickColor.new("Toothpaste") | |
1160 | Part125.Parent = Model120 | |
1161 | Part125.CFrame = CFrame.new(-12.5400009, 2.45499921, -11.1650009, 1, -5.56362707e-08, 6.63455814e-16, -3.93407831e-08, -0.707106709, 0.707106709, -3.93407831e-08, -0.707106709, -0.707106709) | |
1162 | Part125.Orientation = Vector3.new(-45, 180, -180) | |
1163 | Part125.Position = Vector3.new(-12.5400009, 2.45499921, -11.1650009) | |
1164 | - | function _.RaiseStat(vhum, id, type, amount) |
1164 | + | Part125.Rotation = Vector3.new(-135, 0, 0) |
1165 | - | _.LowerStat(vhum, id, type, amount) |
1165 | + | Part125.Color = Color3.new(0, 1, 1) |
1166 | Part125.Size = Vector3.new(0.0599999428, 0.0599999726, 0.0599999428) | |
1167 | - | function _.Heal(parent, vhum, heal, colour) |
1167 | + | Part125.BottomSurface = Enum.SurfaceType.Smooth |
1168 | - | if not (vhum and vhum.Parent:findFirstChild("Humanoid")) or vhum.Health <= 0 then |
1168 | + | Part125.BrickColor = BrickColor.new("Toothpaste") |
1169 | - | return |
1169 | + | Part125.CanCollide = false |
1170 | Part125.Material = Enum.Material.Neon | |
1171 | - | local plrchar = parent.Parent |
1171 | + | Part125.TopSurface = Enum.SurfaceType.Smooth |
1172 | - | local plrhead = plrchar:FindFirstChild("Head") |
1172 | + | Part125.brickColor = BrickColor.new("Toothpaste") |
1173 | - | local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent) |
1173 | + | SpecialMesh126.Parent = Part125 |
1174 | - | local baseply = game.Players:GetPlayerFromCharacter(plrchar) |
1174 | + | SpecialMesh126.MeshType = Enum.MeshType.Wedge |
1175 | - | if enemply and baseply and enemply.TeamColor == baseply.TeamColor then |
1175 | + | Part127.Parent = Model120 |
1176 | - | vhum.Health = vhum.Health + heal |
1176 | + | Part127.CFrame = CFrame.new(-12.5400009, 2.62250137, -11.113348, 1, -5.56362707e-08, 6.63455814e-16, -4.81824145e-08, -0.866025269, 0.50000006, -2.7818146e-08, -0.500000238, -0.86602509) |
1177 | - | guieffect(parent, vhum, heal .. " (Heal!)", colour) |
1177 | + | Part127.Orientation = Vector3.new(-30, 180, -180) |
1178 | Part127.Position = Vector3.new(-12.5400009, 2.62250137, -11.113348) | |
1179 | Part127.Rotation = Vector3.new(-150, 0, 0) | |
1180 | - | return _ |
1180 | + | Part127.Color = Color3.new(0, 1, 1) |
1181 | - | end)() |
1181 | + | Part127.Size = Vector3.new(0.0599999428, 0.0599999726, 0.10999994) |
1182 | - | repeat |
1182 | + | Part127.BottomSurface = Enum.SurfaceType.Smooth |
1183 | Part127.BrickColor = BrickColor.new("Toothpaste") | |
1184 | - | until plr.Character and plr.Character:WaitForChild("Torso") and plr.Character:WaitForChild("Humanoid") |
1184 | + | Part127.CanCollide = false |
1185 | - | local char = plr.Character |
1185 | + | Part127.Material = Enum.Material.Neon |
1186 | - | char:findFirstChild("Animate"):Destroy() |
1186 | + | Part127.TopSurface = Enum.SurfaceType.Smooth |
1187 | - | local torso = char.Torso |
1187 | + | Part127.brickColor = BrickColor.new("Toothpaste") |
1188 | - | local humanoid = char.Humanoid |
1188 | + | SpecialMesh128.Parent = Part127 |
1189 | - | humanoid.Animator:Destroy() |
1189 | + | SpecialMesh128.MeshType = Enum.MeshType.Wedge |
1190 | - | local charStats = char:WaitForChild("CharStats") |
1190 | + | Part129.Parent = Model120 |
1191 | - | local Anim |
1191 | + | Part129.CFrame = CFrame.new(-12.5400009, 2.71115494, -11.1783476, 1, -5.56362707e-08, 6.63455814e-16, 2.78181176e-08, 0.499999732, -0.86602515, 4.81824287e-08, 0.866025507, 0.499999613) |
1192 | - | local taunting = false |
1192 | + | Part129.Orientation = Vector3.new(60, 0, 0) |
1193 | - | LS = torso["Left Shoulder"] |
1193 | + | Part129.Position = Vector3.new(-12.5400009, 2.71115494, -11.1783476) |
1194 | - | LH = torso["Left Hip"] |
1194 | + | Part129.Rotation = Vector3.new(60, 0, 0) |
1195 | - | RS = torso["Right Shoulder"] |
1195 | + | Part129.Color = Color3.new(0, 1, 1) |
1196 | - | RH = torso["Right Hip"] |
1196 | + | Part129.Size = Vector3.new(0.0599999428, 0.0599999726, 0.0500000007) |
1197 | - | Neck = torso.Neck |
1197 | + | Part129.BottomSurface = Enum.SurfaceType.Smooth |
1198 | Part129.BrickColor = BrickColor.new("Toothpaste") | |
1199 | Part129.CanCollide = false | |
1200 | Part129.Material = Enum.Material.Neon | |
1201 | Part129.TopSurface = Enum.SurfaceType.Smooth | |
1202 | Part129.brickColor = BrickColor.new("Toothpaste") | |
1203 | - | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
1203 | + | SpecialMesh130.Parent = Part129 |
1204 | - | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
1204 | + | SpecialMesh130.MeshType = Enum.MeshType.Wedge |
1205 | - | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
1205 | + | Part131.Parent = Model120 |
1206 | - | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
1206 | + | Part131.CFrame = CFrame.new(-12.5400009, 2.55252647, -10.9440575, 1, 0, 0, 0, -0.866024911, 0.499999821, 0, -0.499999821, -0.866024911) |
1207 | - | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1207 | + | Part131.Orientation = Vector3.new(-30, 180, 180) |
1208 | - | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1208 | + | Part131.Position = Vector3.new(-12.5400009, 2.55252647, -10.9440575) |
1209 | - | RootPart = char.HumanoidRootPart |
1209 | + | Part131.Rotation = Vector3.new(-150, 0, 0) |
1210 | - | RootJoint = RootPart.RootJoint |
1210 | + | Part131.Color = Color3.new(0, 1, 1) |
1211 | - | RootCF = euler(-1.57, 0, 3.14) |
1211 | + | Part131.Size = Vector3.new(0.0599999428, 0.339999944, 0.0599999428) |
1212 | - | player = nil |
1212 | + | Part131.BottomSurface = Enum.SurfaceType.Smooth |
1213 | - | RSH, LSH = nil, nil |
1213 | + | Part131.BrickColor = BrickColor.new("Toothpaste") |
1214 | - | RW, LW = Instance.new("Weld"), Instance.new("Weld") |
1214 | + | Part131.CanCollide = false |
1215 | - | RW.Name = "Right Shoulder" |
1215 | + | Part131.Material = Enum.Material.Neon |
1216 | - | LW.Name = "Left Shoulder" |
1216 | + | Part131.TopSurface = Enum.SurfaceType.Smooth |
1217 | - | Sheathed = true |
1217 | + | Part131.brickColor = BrickColor.new("Toothpaste") |
1218 | - | SwordStance = false |
1218 | + | Part132.Parent = Model120 |
1219 | - | Charge = 0 |
1219 | + | Part132.CFrame = CFrame.new(-12.5400009, 2.55253172, -10.9440565, 1, 0, 0, 0, -0.866025269, -0.49999994, 0, 0.49999994, -0.866025269) |
1220 | - | RSH = char.Torso["Right Shoulder"] |
1220 | + | Part132.Orientation = Vector3.new(30, 180, 180) |
1221 | - | LSH = char.Torso["Left Shoulder"] |
1221 | + | Part132.Position = Vector3.new(-12.5400009, 2.55253172, -10.9440565) |
1222 | - | RSH.Parent = nil |
1222 | + | Part132.Rotation = Vector3.new(150, 0, 0) |
1223 | - | LSH.Parent = nil |
1223 | + | Part132.Color = Color3.new(0, 1, 1) |
1224 | - | RW.Name = "Right Shoulder" |
1224 | + | Part132.Size = Vector3.new(0.0599999428, 0.339999944, 0.0599999428) |
1225 | - | RW.Part0 = char.Torso |
1225 | + | Part132.BottomSurface = Enum.SurfaceType.Smooth |
1226 | - | RW.C0 = cf(1.5, 0.5, 0) |
1226 | + | Part132.BrickColor = BrickColor.new("Toothpaste") |
1227 | - | RW.C1 = cf(0, 0.5, 0) |
1227 | + | Part132.CanCollide = false |
1228 | - | RW.Part1 = char["Right Arm"] |
1228 | + | Part132.Material = Enum.Material.Neon |
1229 | - | RW.Parent = char.Torso |
1229 | + | Part132.TopSurface = Enum.SurfaceType.Smooth |
1230 | - | LW.Name = "Left Shoulder" |
1230 | + | Part132.brickColor = BrickColor.new("Toothpaste") |
1231 | - | LW.Part0 = char.Torso |
1231 | + | Part133.Parent = Model120 |
1232 | - | LW.C0 = cf(-1.5, 0.5, 0) |
1232 | + | Part133.CFrame = CFrame.new(-12.5400009, 2.37818003, -11.0781593, 1, -5.56362707e-08, 6.63455814e-16, -2.78181265e-08, -0.49999994, 0.866025269, -4.81824145e-08, -0.866025448, -0.49999994) |
1233 | - | LW.C1 = cf(0, 0.5, 0) |
1233 | + | Part133.Orientation = Vector3.new(-60, 180, -180) |
1234 | - | LW.Part1 = char["Left Arm"] |
1234 | + | Part133.Position = Vector3.new(-12.5400009, 2.37818003, -11.0781593) |
1235 | - | LW.Parent = char.Torso |
1235 | + | Part133.Rotation = Vector3.new(-120, 0, 0) |
1236 | - | local cam = workspace.CurrentCamera |
1236 | + | Part133.Color = Color3.new(0, 1, 1) |
1237 | - | canTaunt = false |
1237 | + | Part133.Size = Vector3.new(0.0599999428, 0.169999972, 0.0599999428) |
1238 | - | local Effects = Instance.new("Model", char) |
1238 | + | Part133.BottomSurface = Enum.SurfaceType.Smooth |
1239 | Part133.BrickColor = BrickColor.new("Toothpaste") | |
1240 | - | humanoid.WalkSpeed = 16 |
1240 | + | Part133.CanCollide = false |
1241 | - | mouse = plr:GetMouse() |
1241 | + | Part133.Material = Enum.Material.Neon |
1242 | - | sinecount, normcount, tweentick, tweenrot, tweenrotm = 0, 0, 0, 0, 0 |
1242 | + | Part133.TopSurface = Enum.SurfaceType.Smooth |
1243 | - | partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {} |
1243 | + | Part133.brickColor = BrickColor.new("Toothpaste") |
1244 | - | AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 0 |
1244 | + | SpecialMesh134.Parent = Part133 |
1245 | - | AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1 |
1245 | + | SpecialMesh134.MeshType = Enum.MeshType.Wedge |
1246 | - | AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true |
1246 | + | Part135.Parent = Model120 |
1247 | - | attackcounter = 1 |
1247 | + | Part135.CFrame = CFrame.new(-12.5400009, 2.40617824, -10.8160601, 1, -5.56362707e-08, 6.63455814e-16, -1.4399717e-08, -0.258818954, -0.965925336, 5.37404965e-08, 0.965925694, -0.258819044) |
1248 | - | torvel, rotvel = nil, nil |
1248 | + | Part135.Orientation = Vector3.new(75, 180, -180) |
1249 | - | hitfloor, posfloor = nil, nil |
1249 | + | Part135.Position = Vector3.new(-12.5400009, 2.40617824, -10.8160601) |
1250 | - | magichit, magicfloor = nil, nil |
1250 | + | Part135.Rotation = Vector3.new(105, 0, 0) |
1251 | - | toolequipped = false |
1251 | + | Part135.Color = Color3.new(0, 1, 1) |
1252 | - | local g = script.Parent |
1252 | + | Part135.Size = Vector3.new(0.0599999428, 0.139999971, 0.0599999428) |
1253 | - | local gf = g.GenStats |
1253 | + | Part135.BottomSurface = Enum.SurfaceType.Smooth |
1254 | - | local HealthFrame = gf.Health |
1254 | + | Part135.BrickColor = BrickColor.new("Toothpaste") |
1255 | - | local AttacksFrame = gf.Attacks |
1255 | + | Part135.CanCollide = false |
1256 | - | local EnergyFrame = gf.Energy |
1256 | + | Part135.Material = Enum.Material.Neon |
1257 | - | local key1db = false |
1257 | + | Part135.TopSurface = Enum.SurfaceType.Smooth |
1258 | - | local key2db = false |
1258 | + | Part135.brickColor = BrickColor.new("Toothpaste") |
1259 | - | local key3db = false |
1259 | + | SpecialMesh136.Parent = Part135 |
1260 | - | local key4db = false |
1260 | + | SpecialMesh136.MeshType = Enum.MeshType.Wedge |
1261 | - | local attacking = Instance.new("BoolValue", charStats) |
1261 | + | Part137.Parent = Model120 |
1262 | - | attacking.Name = "Attacking" |
1262 | + | Part137.CFrame = CFrame.new(-12, 1.21999991, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1263 | - | attacking.Value = false |
1263 | + | Part137.Position = Vector3.new(-12, 1.21999991, -11) |
1264 | - | local stunnedVal = Instance.new("BoolValue", charStats) |
1264 | + | Part137.Color = Color3.new(0, 1, 1) |
1265 | - | stunnedVal.Value = false |
1265 | + | Part137.Size = Vector3.new(1.03999996, 0.460000038, 1.03999996) |
1266 | - | stunnedVal.Name = "Stunned" |
1266 | + | Part137.BottomSurface = Enum.SurfaceType.Smooth |
1267 | - | local debuffs = Instance.new("Folder") |
1267 | + | Part137.BrickColor = BrickColor.new("Toothpaste") |
1268 | - | debuffs.Name = "Debuffs" |
1268 | + | Part137.CanCollide = false |
1269 | - | debuffs.Parent = char |
1269 | + | Part137.Material = Enum.Material.Glass |
1270 | - | local debuffstab = {} |
1270 | + | Part137.TopSurface = Enum.SurfaceType.Smooth |
1271 | - | debuffs.ChildAdded:Connect(function(child) |
1271 | + | Part137.brickColor = BrickColor.new("Toothpaste") |
1272 | - | if child:IsA("StringValue") then |
1272 | + | Part138.Parent = Model120 |
1273 | - | local StatType = child:WaitForChild("Type") |
1273 | + | Part138.CFrame = CFrame.new(-12.0000076, 2.25499821, -11, 0.999390841, -0.0348994955, 0, 0.0348994955, 0.999390781, 0, 0, 0, 1) |
1274 | - | local StatAmount = child.Amount |
1274 | + | Part138.Orientation = Vector3.new(0, 0, 2) |
1275 | - | local StatDuration = child.Duration |
1275 | + | Part138.Position = Vector3.new(-12.0000076, 2.25499821, -11) |
1276 | - | local targetStat = charStats:FindFirstChild(StatType.Value) |
1276 | + | Part138.Rotation = Vector3.new(0, 0, 2) |
1277 | - | if targetStat then |
1277 | + | Part138.Color = Color3.new(0, 1, 1) |
1278 | - | targetStat.Value = targetStat.Value - StatAmount.Value |
1278 | + | Part138.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994) |
1279 | Part138.BottomSurface = Enum.SurfaceType.Smooth | |
1280 | - | table.insert(debuffstab, {child, 0}) |
1280 | + | Part138.BrickColor = BrickColor.new("Toothpaste") |
1281 | Part138.CanCollide = false | |
1282 | Part138.Material = Enum.Material.Glass | |
1283 | - | local speed = charStats:WaitForChild("Speed") |
1283 | + | Part138.TopSurface = Enum.SurfaceType.Smooth |
1284 | - | local Atk1 = AttacksFrame.Attack1 |
1284 | + | Part138.brickColor = BrickColor.new("Toothpaste") |
1285 | - | local Atk2 = AttacksFrame.Attack2 |
1285 | + | Part139.Parent = Model120 |
1286 | - | local Atk3 = AttacksFrame.Attack3 |
1286 | + | Part139.CFrame = CFrame.new(-12, 1.96000004, -11.2699995, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1287 | - | local Atk4 = AttacksFrame.Attack4 |
1287 | + | Part139.Position = Vector3.new(-12, 1.96000004, -11.2699995) |
1288 | - | local Re1 = Atk1.Reload |
1288 | + | Part139.Color = Color3.new(0, 1, 1) |
1289 | - | local Re2 = Atk2.Reload |
1289 | + | Part139.Size = Vector3.new(1.03999996, 0.440000057, 0.49999997) |
1290 | - | local Re3 = Atk3.Reload |
1290 | + | Part139.BottomSurface = Enum.SurfaceType.Smooth |
1291 | - | local Re4 = Atk4.Reload |
1291 | + | Part139.BrickColor = BrickColor.new("Toothpaste") |
1292 | - | Atk1.AttackLabel.Text = N_A1_Name |
1292 | + | Part139.CanCollide = false |
1293 | - | Atk2.AttackLabel.Text = N_A2_Name |
1293 | + | Part139.Material = Enum.Material.Glass |
1294 | - | Atk3.AttackLabel.Text = N_A3_Name |
1294 | + | Part139.TopSurface = Enum.SurfaceType.Smooth |
1295 | - | Atk4.AttackLabel.Text = N_A4_Name |
1295 | + | Part139.brickColor = BrickColor.new("Toothpaste") |
1296 | - | local Energy = charStats:WaitForChild("EnergyAmount") |
1296 | + | Part140.Parent = Model120 |
1297 | - | Atk1.EnergyLabel.Text = Attack1Energy .. " Energy" |
1297 | + | Part140.CFrame = CFrame.new(-12, 1.79999983, -11, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1298 | - | Atk2.EnergyLabel.Text = Attack2Energy .. " Energy" |
1298 | + | Part140.Position = Vector3.new(-12, 1.79999983, -11) |
1299 | - | Atk3.EnergyLabel.Text = Attack3Energy .. " Energy" |
1299 | + | Part140.Color = Color3.new(0, 1, 1) |
1300 | - | Atk4.EnergyLabel.Text = Attack4Energy .. " Energy" |
1300 | + | Part140.Size = Vector3.new(1.01999998, 1.03999996, 1.01999998) |
1301 | - | function rayCast(Pos, Dir, Max, Ignore) |
1301 | + | Part140.BottomSurface = Enum.SurfaceType.Smooth |
1302 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1302 | + | Part140.BrickColor = BrickColor.new("Toothpaste") |
1303 | Part140.CanCollide = false | |
1304 | - | function thread(f) |
1304 | + | Part140.Material = Enum.Material.Neon |
1305 | - | coroutine.resume(coroutine.create(f)) |
1305 | + | Part140.TopSurface = Enum.SurfaceType.Smooth |
1306 | Part140.brickColor = BrickColor.new("Toothpaste") | |
1307 | Part141.Parent = Model120 | |
1308 | - | ArtificialHB.Name = "Heartbeat" |
1308 | + | Part141.CFrame = CFrame.new(-12.21, 2.55999899, -10.9999981, 1, 0, 0, 0, 0.70710665, 0.707106888, 0, -0.707106888, 0.70710665) |
1309 | - | script:WaitForChild("Heartbeat") |
1309 | + | Part141.Orientation = Vector3.new(-45, 0, 0) |
1310 | - | frame = 0.025 |
1310 | + | Part141.Position = Vector3.new(-12.21, 2.55999899, -10.9999981) |
1311 | Part141.Rotation = Vector3.new(-45, 0, 0) | |
1312 | - | allowframeloss = true |
1312 | + | Part141.Color = Color3.new(0, 1, 1) |
1313 | Part141.Size = Vector3.new(0.679999948, 0.49999997, 0.49999994) | |
1314 | Part141.BottomSurface = Enum.SurfaceType.Smooth | |
1315 | - | script.Heartbeat:Fire() |
1315 | + | Part141.BrickColor = BrickColor.new("Toothpaste") |
1316 | Part141.CanCollide = false | |
1317 | Part141.Material = Enum.Material.Glass | |
1318 | Part141.TopSurface = Enum.SurfaceType.Smooth | |
1319 | Part141.brickColor = BrickColor.new("Toothpaste") | |
1320 | - | script.Heartbeat:Fire() |
1320 | + | Part142.Parent = Model120 |
1321 | Part142.CFrame = CFrame.new(-12, 1.96000004, -10.7300005, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1322 | Part142.Position = Vector3.new(-12, 1.96000004, -10.7300005) | |
1323 | Part142.Color = Color3.new(0, 1, 1) | |
1324 | - | script.Heartbeat:Fire() |
1324 | + | Part142.Size = Vector3.new(1.03999996, 0.440000057, 0.49999997) |
1325 | Part142.BottomSurface = Enum.SurfaceType.Smooth | |
1326 | Part142.BrickColor = BrickColor.new("Toothpaste") | |
1327 | Part142.CanCollide = false | |
1328 | Part142.Material = Enum.Material.Glass | |
1329 | Part142.TopSurface = Enum.SurfaceType.Smooth | |
1330 | Part142.brickColor = BrickColor.new("Toothpaste") | |
1331 | Part143.Parent = Model120 | |
1332 | Part143.CFrame = CFrame.new(-11.6849966, 1.20499933, -11, 0.707106769, -0.707106769, 0, 0.707106709, 0.707106709, 0, -5.96046448e-08, -5.96046448e-08, 1) | |
1333 | Part143.Orientation = Vector3.new(0, 0, 45) | |
1334 | Part143.Position = Vector3.new(-11.6849966, 1.20499933, -11) | |
1335 | Part143.Rotation = Vector3.new(0, 0, 45) | |
1336 | - | if num == 0 or num == nil then |
1336 | + | Part143.Color = Color3.new(0, 1, 1) |
1337 | Part143.Size = Vector3.new(0.209999934, 0.210000023, 1.0999999) | |
1338 | Part143.BottomSurface = Enum.SurfaceType.Smooth | |
1339 | - | for i = 0, num do |
1339 | + | Part143.BrickColor = BrickColor.new("Toothpaste") |
1340 | Part143.CanCollide = false | |
1341 | Part143.Material = Enum.Material.Glass | |
1342 | Part143.TopSurface = Enum.SurfaceType.Smooth | |
1343 | Part143.brickColor = BrickColor.new("Toothpaste") | |
1344 | - | function sound(id, par, vol, dur, pit) |
1344 | + | Part144.Parent = Model120 |
1345 | Part144.CFrame = CFrame.new(-11.6849966, 1.20499933, -11, 0.707106769, -0.707106769, 0, 0.707106709, 0.707106709, 0, -5.96046448e-08, -5.96046448e-08, 1) | |
1346 | - | local new = LoadLibrary("RbxUtility").Create |
1346 | + | Part144.Orientation = Vector3.new(0, 0, 45) |
1347 | - | --local sou = Instance.new("Sound", par or workspace) |
1347 | + | Part144.Position = Vector3.new(-11.6849966, 1.20499933, -11) |
1348 | - | local sou = new("Sound", par or workspace){Parent = par or workspace} |
1348 | + | Part144.Rotation = Vector3.new(0, 0, 45) |
1349 | - | sou.Parent = par or workspace |
1349 | + | Part144.Color = Color3.new(0, 1, 1) |
1350 | - | sou.Volume = vol |
1350 | + | Part144.Size = Vector3.new(0.249999925, 0.25000003, 1.07999992) |
1351 | - | sou.Pitch = pit or 1 |
1351 | + | Part144.BottomSurface = Enum.SurfaceType.Smooth |
1352 | - | sou.SoundId = "http://www.roblox.com/asset/?id=" .. id |
1352 | + | Part144.BrickColor = BrickColor.new("Toothpaste") |
1353 | Part144.CanCollide = false | |
1354 | - | sou:play() |
1354 | + | Part144.Material = Enum.Material.Neon |
1355 | - | wait(dur) |
1355 | + | Part144.TopSurface = Enum.SurfaceType.Smooth |
1356 | - | sou:Destroy() |
1356 | + | Part144.brickColor = BrickColor.new("Toothpaste") |
1357 | Part145.Parent = Model120 | |
1358 | Part145.CFrame = CFrame.new(-12.2200012, 1.20500064, -11, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) | |
1359 | - | local function TransitionTaunt(str, color) |
1359 | + | Part145.Position = Vector3.new(-12.2200012, 1.20500064, -11) |
1360 | - | local damagepart = Instance.new("Part", Effects) |
1360 | + | Part145.Color = Color3.new(0, 1, 1) |
1361 | - | damagepart.Transparency = 1 |
1361 | + | Part145.Size = Vector3.new(0.639999986, 0.0500000343, 1.07999992) |
1362 | - | damagepart.Anchored = true |
1362 | + | Part145.BottomSurface = Enum.SurfaceType.Smooth |
1363 | - | damagepart.CanCollide = false |
1363 | + | Part145.BrickColor = BrickColor.new("Toothpaste") |
1364 | - | damagepart.Size = Vector3.new(1, 1, 1) |
1364 | + | Part145.CanCollide = false |
1365 | - | damagepart.Name = "DamagePart" |
1365 | + | Part145.Material = Enum.Material.Neon |
1366 | - | damagepart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 0) |
1366 | + | Part145.TopSurface = Enum.SurfaceType.Smooth |
1367 | - | local g = Instance.new("BillboardGui", damagepart) |
1367 | + | Part145.brickColor = BrickColor.new("Toothpaste") |
1368 | - | g.Enabled = true |
1368 | + | SpecialMesh146.Parent = Part145 |
1369 | - | g.Adornee = damagepart |
1369 | + | SpecialMesh146.Scale = Vector3.new(1, 0.25, 1) |
1370 | - | g.Size = UDim2.new(5, 0, 5, 0) |
1370 | + | SpecialMesh146.MeshType = Enum.MeshType.Brick |
1371 | - | g.ExtentsOffset = Vector3.new(0, 0, 0) |
1371 | + | Part147.Parent = Model120 |
1372 | - | g.StudsOffset = Vector3.new(0, 0, 0) |
1372 | + | Part147.CFrame = CFrame.new(-11.9049997, 1.28499949, -11, 0.98480773, 0.173648134, 0, -0.173648119, 0.98480773, 0, -1.49011612e-08, 0, 1) |
1373 | - | local t = Instance.new("TextLabel", g) |
1373 | + | Part147.Orientation = Vector3.new(0, 0, -10) |
1374 | - | t.BackgroundTransparency = 1 |
1374 | + | Part147.Position = Vector3.new(-11.9049997, 1.28499949, -11) |
1375 | - | t.Font = "SourceSansBold" |
1375 | + | Part147.Rotation = Vector3.new(0, 0, -10) |
1376 | - | t.FontSize = "Size24" |
1376 | + | Part147.Color = Color3.new(0, 1, 1) |
1377 | - | t.Text = str |
1377 | + | Part147.Size = Vector3.new(0.409999967, 0.0500000343, 1.07999992) |
1378 | - | t.Size = UDim2.new(1, 0, 1, 0) |
1378 | + | Part147.BottomSurface = Enum.SurfaceType.Smooth |
1379 | - | t.TextStrokeTransparency = 0 |
1379 | + | Part147.BrickColor = BrickColor.new("Toothpaste") |
1380 | - | t.TextTransparency = 0 |
1380 | + | Part147.CanCollide = false |
1381 | - | t.TextScaled = true |
1381 | + | Part147.Material = Enum.Material.Neon |
1382 | - | t.TextWrapped = true |
1382 | + | Part147.TopSurface = Enum.SurfaceType.Smooth |
1383 | - | t.TextXAlignment = "Center" |
1383 | + | Part147.brickColor = BrickColor.new("Toothpaste") |
1384 | - | t.TextYAlignment = "Center" |
1384 | + | SpecialMesh148.Parent = Part147 |
1385 | - | t.TextColor3 = color |
1385 | + | SpecialMesh148.Scale = Vector3.new(1, 0.25, 1) |
1386 | - | if color == BrickColor.new("Dark indigo").Color then |
1386 | + | SpecialMesh148.MeshType = Enum.MeshType.Brick |
1387 | - | t.TextStrokeColor3 = Color3.fromRGB(243, 242, 242) |
1387 | + | Part149.Parent = Model120 |
1388 | Part149.CFrame = CFrame.new(-11.91961, 1.12768364, -11, 0.994521976, -0.104528315, 0, 0.104528308, 0.994521976, 0, 0, 0, 1) | |
1389 | Part149.Orientation = Vector3.new(0, 0, 6) | |
1390 | - | for i = 1, 50 do |
1390 | + | Part149.Position = Vector3.new(-11.91961, 1.12768364, -11) |
1391 | - | game:GetService("RunService").Heartbeat:wait() |
1391 | + | Part149.Rotation = Vector3.new(0, 0, 6) |
1392 | - | local sinewave = math.sin(i / 500) * 4 |
1392 | + | Part149.Color = Color3.new(0, 1, 1) |
1393 | - | damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0)) |
1393 | + | Part149.Size = Vector3.new(0.159999952, 0.0500000343, 1.07999992) |
1394 | - | t.TextTransparency = t.TextTransparency + 0.02 |
1394 | + | Part149.BottomSurface = Enum.SurfaceType.Smooth |
1395 | - | t.TextTransparency = t.TextStrokeTransparency + 0.02 |
1395 | + | Part149.BrickColor = BrickColor.new("Toothpaste") |
1396 | Part149.CanCollide = false | |
1397 | - | damagepart:Destroy() |
1397 | + | Part149.Material = Enum.Material.Neon |
1398 | - | end), t) |
1398 | + | Part149.TopSurface = Enum.SurfaceType.Smooth |
1399 | Part149.brickColor = BrickColor.new("Toothpaste") | |
1400 | - | function clerp(a, b, t) |
1400 | + | SpecialMesh150.Parent = Part149 |
1401 | - | local qa = { |
1401 | + | SpecialMesh150.Scale = Vector3.new(1, 0.25, 1) |
1402 | - | QuaternionFromCFrame(a) |
1402 | + | SpecialMesh150.MeshType = Enum.MeshType.Brick |
1403 | - | } |
1403 | + | Part151.Parent = Model120 |
1404 | - | local qb = { |
1404 | + | Part151.CFrame = CFrame.new(-12.1290779, 1.05265045, -11, 0.992546201, 0.12186937, 0, -0.12186937, 0.992546141, 0, 0, 0, 1) |
1405 | - | QuaternionFromCFrame(b) |
1405 | + | Part151.Orientation = Vector3.new(0, 0, -7) |
1406 | - | } |
1406 | + | Part151.Position = Vector3.new(-12.1290779, 1.05265045, -11) |
1407 | - | local ax, ay, az = a.x, a.y, a.z |
1407 | + | Part151.Rotation = Vector3.new(0, 0, -7) |
1408 | - | local bx, by, bz = b.x, b.y, b.z |
1408 | + | Part151.Color = Color3.new(0, 1, 1) |
1409 | - | local _t = 1 - t |
1409 | + | Part151.Size = Vector3.new(0.139999956, 0.0500000343, 1.07999992) |
1410 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
1410 | + | Part151.BottomSurface = Enum.SurfaceType.Smooth |
1411 | Part151.BrickColor = BrickColor.new("Toothpaste") | |
1412 | - | function QuaternionFromCFrame(cf) |
1412 | + | Part151.CanCollide = false |
1413 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
1413 | + | Part151.Material = Enum.Material.Neon |
1414 | - | local trace = m00 + m11 + m22 |
1414 | + | Part151.TopSurface = Enum.SurfaceType.Smooth |
1415 | - | if trace > 0 then |
1415 | + | Part151.brickColor = BrickColor.new("Toothpaste") |
1416 | - | local s = math.sqrt(1 + trace) |
1416 | + | SpecialMesh152.Parent = Part151 |
1417 | - | local recip = 0.5 / s |
1417 | + | SpecialMesh152.Scale = Vector3.new(1, 0.25, 1) |
1418 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
1418 | + | SpecialMesh152.MeshType = Enum.MeshType.Brick |
1419 | Part153.Parent = Model120 | |
1420 | - | local i = 0 |
1420 | + | Part153.CFrame = CFrame.new(-12.0031948, 1.33277631, -11, 0.98480773, 0.173648134, 0, -0.173648119, 0.98480773, 0, -1.49011612e-08, 0, 1) |
1421 | - | if m00 < m11 then |
1421 | + | Part153.Orientation = Vector3.new(0, 0, -10) |
1422 | - | i = 1 |
1422 | + | Part153.Position = Vector3.new(-12.0031948, 1.33277631, -11) |
1423 | Part153.Rotation = Vector3.new(0, 0, -10) | |
1424 | - | if m22 > (i == 0 and m00 or m11) then |
1424 | + | Part153.Color = Color3.new(0, 1, 1) |
1425 | - | i = 2 |
1425 | + | Part153.Size = Vector3.new(0.0599999726, 0.0700000525, 1.07999992) |
1426 | Part153.BottomSurface = Enum.SurfaceType.Smooth | |
1427 | - | if i == 0 then |
1427 | + | Part153.BrickColor = BrickColor.new("Toothpaste") |
1428 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
1428 | + | Part153.CanCollide = false |
1429 | - | local recip = 0.5 / s |
1429 | + | Part153.Material = Enum.Material.Neon |
1430 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
1430 | + | Part153.TopSurface = Enum.SurfaceType.Smooth |
1431 | - | elseif i == 1 then |
1431 | + | Part153.brickColor = BrickColor.new("Toothpaste") |
1432 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
1432 | + | SpecialMesh154.Parent = Part153 |
1433 | - | local recip = 0.5 / s |
1433 | + | SpecialMesh154.Scale = Vector3.new(0.25, 1, 1) |
1434 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
1434 | + | SpecialMesh154.MeshType = Enum.MeshType.Brick |
1435 | - | elseif i == 2 then |
1435 | + | Part155.Parent = Model120 |
1436 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
1436 | + | Part155.CFrame = CFrame.new(-11.9041138, 1.2036097, -11, 0.98480773, 0.173648134, 0, -0.173648119, 0.98480773, 0, -1.49011612e-08, 0, 1) |
1437 | - | local recip = 0.5 / s |
1437 | + | Part155.Orientation = Vector3.new(0, 0, -10) |
1438 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
1438 | + | Part155.Position = Vector3.new(-11.9041138, 1.2036097, -11) |
1439 | Part155.Rotation = Vector3.new(0, 0, -10) | |
1440 | Part155.Color = Color3.new(0, 1, 1) | |
1441 | Part155.Size = Vector3.new(0.0599999726, 0.150000051, 1.07999992) | |
1442 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
1442 | + | Part155.BottomSurface = Enum.SurfaceType.Smooth |
1443 | - | local xs, ys, zs = x + x, y + y, z + z |
1443 | + | Part155.BrickColor = BrickColor.new("Toothpaste") |
1444 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
1444 | + | Part155.CanCollide = false |
1445 | - | local xx = x * xs |
1445 | + | Part155.Material = Enum.Material.Neon |
1446 | - | local xy = x * ys |
1446 | + | Part155.TopSurface = Enum.SurfaceType.Smooth |
1447 | - | local xz = x * zs |
1447 | + | Part155.brickColor = BrickColor.new("Toothpaste") |
1448 | - | local yy = y * ys |
1448 | + | SpecialMesh156.Parent = Part155 |
1449 | - | local yz = y * zs |
1449 | + | SpecialMesh156.Scale = Vector3.new(0.25, 1, 1) |
1450 | - | local zz = z * zs |
1450 | + | SpecialMesh156.MeshType = Enum.MeshType.Brick |
1451 | - | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) |
1451 | + | Part157.Parent = Model120 |
1452 | Part157.CFrame = CFrame.new(-12.2700005, 1.26000071, -11, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) | |
1453 | - | function QuaternionSlerp(a, b, t) |
1453 | + | Part157.Position = Vector3.new(-12.2700005, 1.26000071, -11) |
1454 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
1454 | + | Part157.Color = Color3.new(0, 1, 1) |
1455 | - | local startInterp, finishInterp |
1455 | + | Part157.Size = Vector3.new(0.0599999726, 0.100000039, 1.07999992) |
1456 | - | if cosTheta >= 1.0E-4 then |
1456 | + | Part157.BottomSurface = Enum.SurfaceType.Smooth |
1457 | - | if 1 - cosTheta > 1.0E-4 then |
1457 | + | Part157.BrickColor = BrickColor.new("Toothpaste") |
1458 | - | local theta = math.acos(cosTheta) |
1458 | + | Part157.CanCollide = false |
1459 | - | local invSinTheta = 1 / math.sin(theta) |
1459 | + | Part157.Material = Enum.Material.Neon |
1460 | - | startInterp = math.sin((1 - t) * theta) * invSinTheta |
1460 | + | Part157.TopSurface = Enum.SurfaceType.Smooth |
1461 | - | finishInterp = math.sin(t * theta) * invSinTheta |
1461 | + | Part157.brickColor = BrickColor.new("Toothpaste") |
1462 | SpecialMesh158.Parent = Part157 | |
1463 | - | startInterp = 1 - t |
1463 | + | SpecialMesh158.Scale = Vector3.new(0.25, 1, 1) |
1464 | - | finishInterp = t |
1464 | + | SpecialMesh158.MeshType = Enum.MeshType.Brick |
1465 | Part159.Parent = Model120 | |
1466 | - | elseif 1 + cosTheta > 1.0E-4 then |
1466 | + | Part159.CFrame = CFrame.new(-12.1199999, 1.13000059, -11, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1467 | - | local theta = math.acos(-cosTheta) |
1467 | + | Part159.Position = Vector3.new(-12.1199999, 1.13000059, -11) |
1468 | - | local invSinTheta = 1 / math.sin(theta) |
1468 | + | Part159.Color = Color3.new(0, 1, 1) |
1469 | - | startInterp = math.sin((t - 1) * theta) * invSinTheta |
1469 | + | Part159.Size = Vector3.new(0.0599999726, 0.140000045, 1.07999992) |
1470 | - | finishInterp = math.sin(t * theta) * invSinTheta |
1470 | + | Part159.BottomSurface = Enum.SurfaceType.Smooth |
1471 | Part159.BrickColor = BrickColor.new("Toothpaste") | |
1472 | - | startInterp = t - 1 |
1472 | + | Part159.CanCollide = false |
1473 | - | finishInterp = t |
1473 | + | Part159.Material = Enum.Material.Neon |
1474 | Part159.TopSurface = Enum.SurfaceType.Smooth | |
1475 | - | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp |
1475 | + | Part159.brickColor = BrickColor.new("Toothpaste") |
1476 | SpecialMesh160.Parent = Part159 | |
1477 | - | function magic(type, thing) |
1477 | + | SpecialMesh160.Scale = Vector3.new(0.25, 1, 1) |
1478 | - | local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t) |
1478 | + | SpecialMesh160.MeshType = Enum.MeshType.Brick |
1479 | - | local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe) |
1479 | + | Part161.Parent = Model120 |
1480 | - | prt.CFrame = cframe |
1480 | + | Part161.CFrame = CFrame.new(-11.7717533, 1.09652472, -11, 0.992546201, -0.121869192, 0, 0.121869192, 0.992546141, 0, 0, 0, 1) |
1481 | - | local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1481 | + | Part161.Orientation = Vector3.new(0, 0, 7) |
1482 | - | game:GetService("Debris"):AddItem(prt, 8) |
1482 | + | Part161.Position = Vector3.new(-11.7717533, 1.09652472, -11) |
1483 | - | if t == 1 or t == nil then |
1483 | + | Part161.Rotation = Vector3.new(0, 0, 7) |
1484 | - | table.insert(partEffects, { |
1484 | + | Part161.Color = Color3.new(0, 1, 1) |
1485 | - | prt, |
1485 | + | Part161.Size = Vector3.new(0.139999956, 0.0500000343, 1.07999992) |
1486 | - | "Block1", |
1486 | + | Part161.BottomSurface = Enum.SurfaceType.Smooth |
1487 | - | delay, |
1487 | + | Part161.BrickColor = BrickColor.new("Toothpaste") |
1488 | - | x3, |
1488 | + | Part161.CanCollide = false |
1489 | - | y3, |
1489 | + | Part161.Material = Enum.Material.Neon |
1490 | - | z3, |
1490 | + | Part161.TopSurface = Enum.SurfaceType.Smooth |
1491 | - | msh |
1491 | + | Part161.brickColor = BrickColor.new("Toothpaste") |
1492 | - | }) |
1492 | + | SpecialMesh162.Parent = Part161 |
1493 | - | elseif t == 2 then |
1493 | + | SpecialMesh162.Scale = Vector3.new(1, 0.25, 1) |
1494 | - | table.insert(partEffects, { |
1494 | + | SpecialMesh162.MeshType = Enum.MeshType.Brick |
1495 | - | prt, |
1495 | + | Part163.Parent = Model120 |
1496 | - | "Block2", |
1496 | + | Part163.CFrame = CFrame.new(-11.5200005, 1.20500052, -11, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1497 | - | delay, |
1497 | + | Part163.Position = Vector3.new(-11.5200005, 1.20500052, -11) |
1498 | - | x3, |
1498 | + | Part163.Color = Color3.new(0, 1, 1) |
1499 | - | y3, |
1499 | + | Part163.Size = Vector3.new(0.119999968, 0.0500000343, 1.07999992) |
1500 | - | z3, |
1500 | + | Part163.BottomSurface = Enum.SurfaceType.Smooth |
1501 | - | msh |
1501 | + | Part163.BrickColor = BrickColor.new("Toothpaste") |
1502 | - | }) |
1502 | + | Part163.CanCollide = false |
1503 | Part163.Material = Enum.Material.Neon | |
1504 | Part163.TopSurface = Enum.SurfaceType.Smooth | |
1505 | - | local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) |
1505 | + | Part163.brickColor = BrickColor.new("Toothpaste") |
1506 | - | local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe) |
1506 | + | SpecialMesh164.Parent = Part163 |
1507 | - | local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1507 | + | SpecialMesh164.Scale = Vector3.new(1, 0.25, 1) |
1508 | - | game:GetService("Debris"):AddItem(prt, 8) |
1508 | + | SpecialMesh164.MeshType = Enum.MeshType.Brick |
1509 | - | table.insert(partEffects, { |
1509 | + | Part165.Parent = Model120 |
1510 | - | prt, |
1510 | + | Part165.CFrame = CFrame.new(-11.5200005, 1.1200006, -10.9400005, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1511 | - | "Cylinder", |
1511 | + | Part165.Position = Vector3.new(-11.5200005, 1.1200006, -10.9400005) |
1512 | - | delay, |
1512 | + | Part165.Color = Color3.new(0, 1, 1) |
1513 | - | x3, |
1513 | + | Part165.Size = Vector3.new(0.119999968, 0.160000041, 0.0599999428) |
1514 | - | y3, |
1514 | + | Part165.BottomSurface = Enum.SurfaceType.Smooth |
1515 | - | z3, |
1515 | + | Part165.BrickColor = BrickColor.new("Toothpaste") |
1516 | - | msh |
1516 | + | Part165.CanCollide = false |
1517 | - | }) |
1517 | + | Part165.Material = Enum.Material.Neon |
1518 | Part165.TopSurface = Enum.SurfaceType.Smooth | |
1519 | - | local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) |
1519 | + | Part165.brickColor = BrickColor.new("Toothpaste") |
1520 | - | local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe) |
1520 | + | SpecialMesh166.Parent = Part165 |
1521 | - | local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1521 | + | SpecialMesh166.Scale = Vector3.new(1, 1, 0.25) |
1522 | - | game:GetService("Debris"):AddItem(prt, 8) |
1522 | + | SpecialMesh166.MeshType = Enum.MeshType.Brick |
1523 | - | table.insert(partEffects, { |
1523 | + | Part167.Parent = Model120 |
1524 | - | prt, |
1524 | + | Part167.CFrame = CFrame.new(-11.5200005, 1.26500058, -10.7300005, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1525 | - | "Cylinder", |
1525 | + | Part167.Position = Vector3.new(-11.5200005, 1.26500058, -10.7300005) |
1526 | - | delay, |
1526 | + | Part167.Color = Color3.new(0, 1, 1) |
1527 | - | x3, |
1527 | + | Part167.Size = Vector3.new(0.119999968, 0.13000004, 0.0599999428) |
1528 | - | y3, |
1528 | + | Part167.BottomSurface = Enum.SurfaceType.Smooth |
1529 | - | z3, |
1529 | + | Part167.BrickColor = BrickColor.new("Toothpaste") |
1530 | - | msh |
1530 | + | Part167.CanCollide = false |
1531 | - | }) |
1531 | + | Part167.Material = Enum.Material.Neon |
1532 | Part167.TopSurface = Enum.SurfaceType.Smooth | |
1533 | - | local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) |
1533 | + | Part167.brickColor = BrickColor.new("Toothpaste") |
1534 | - | local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe) |
1534 | + | SpecialMesh168.Parent = Part167 |
1535 | - | prt.Anchored = true |
1535 | + | SpecialMesh168.Scale = Vector3.new(1, 1, 0.25) |
1536 | - | prt.CFrame = cframe |
1536 | + | SpecialMesh168.MeshType = Enum.MeshType.Brick |
1537 | - | local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1537 | + | Part169.Parent = Model120 |
1538 | - | game:GetService("Debris"):AddItem(prt, 2) |
1538 | + | Part169.CFrame = CFrame.new(-11.5200005, 1.27500057, -10.8600006, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1539 | - | coroutine.resume(coroutine.create(function(Part, Mesh, num) |
1539 | + | Part169.Position = Vector3.new(-11.5200005, 1.27500057, -10.8600006) |
1540 | - | for i = 0, 1, delay do |
1540 | + | Part169.Color = Color3.new(0, 1, 1) |
1541 | Part169.Size = Vector3.new(0.119999968, 0.0500000343, 0.259999931) | |
1542 | - | Part.Transparency = i |
1542 | + | Part169.BottomSurface = Enum.SurfaceType.Smooth |
1543 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
1543 | + | Part169.BrickColor = BrickColor.new("Toothpaste") |
1544 | Part169.CanCollide = false | |
1545 | - | Part:Destroy() |
1545 | + | Part169.Material = Enum.Material.Neon |
1546 | - | end), prt, msh, (math.random(0, 1) + math.random()) / 5) |
1546 | + | Part169.TopSurface = Enum.SurfaceType.Smooth |
1547 | Part169.brickColor = BrickColor.new("Toothpaste") | |
1548 | - | local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) |
1548 | + | SpecialMesh170.Parent = Part169 |
1549 | - | local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", cframe) |
1549 | + | SpecialMesh170.Scale = Vector3.new(1, 0.25, 1) |
1550 | - | prt.Anchored = true |
1550 | + | SpecialMesh170.MeshType = Enum.MeshType.Brick |
1551 | - | prt.CFrame = cframe |
1551 | + | Part171.Parent = Model120 |
1552 | - | local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1552 | + | Part171.CFrame = CFrame.new(-11.5200005, 1.18000007, -11.3700008, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1553 | - | game:GetService("Debris"):AddItem(prt, 2) |
1553 | + | Part171.Position = Vector3.new(-11.5200005, 1.18000007, -11.3700008) |
1554 | - | coroutine.resume(coroutine.create(function(Part, Mesh, num) |
1554 | + | Part171.Color = Color3.new(0, 1, 1) |
1555 | - | for i = 0, 1, delay do |
1555 | + | Part171.Size = Vector3.new(0.119999968, 0.140000045, 0.0599999428) |
1556 | Part171.BottomSurface = Enum.SurfaceType.Smooth | |
1557 | - | Part.Transparency = i |
1557 | + | Part171.BrickColor = BrickColor.new("Toothpaste") |
1558 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
1558 | + | Part171.CanCollide = false |
1559 | Part171.Material = Enum.Material.Neon | |
1560 | - | Part:Destroy() |
1560 | + | Part171.TopSurface = Enum.SurfaceType.Smooth |
1561 | - | end), prt, msh, (math.random(0, 1) + math.random()) / 5) |
1561 | + | Part171.brickColor = BrickColor.new("Toothpaste") |
1562 | SpecialMesh172.Parent = Part171 | |
1563 | - | local par = thing[1] |
1563 | + | SpecialMesh172.Scale = Vector3.new(1, 1, 0.25) |
1564 | - | local brick = thing[2] |
1564 | + | SpecialMesh172.MeshType = Enum.MeshType.Brick |
1565 | - | local cframe = thing[3] |
1565 | + | Part173.Parent = Model120 |
1566 | - | local x1 = thing[4] |
1566 | + | Part173.CFrame = CFrame.new(-11.5200005, 1.31000066, -10.9400005, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1567 | - | local y1 = thing[5] |
1567 | + | Part173.Position = Vector3.new(-11.5200005, 1.31000066, -10.9400005) |
1568 | - | local z1 = thing[6] |
1568 | + | Part173.Color = Color3.new(0, 1, 1) |
1569 | - | local x3 = thing[7] |
1569 | + | Part173.Size = Vector3.new(0.119999968, 0.0800000429, 0.0599999428) |
1570 | - | local y3 = thing[8] |
1570 | + | Part173.BottomSurface = Enum.SurfaceType.Smooth |
1571 | - | local z3 = thing[9] |
1571 | + | Part173.BrickColor = BrickColor.new("Toothpaste") |
1572 | - | local delay = thing[10] |
1572 | + | Part173.CanCollide = false |
1573 | - | local t = thing[11] |
1573 | + | Part173.Material = Enum.Material.Neon |
1574 | - | if type == "Block" or type == 1 then |
1574 | + | Part173.TopSurface = Enum.SurfaceType.Smooth |
1575 | - | magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) |
1575 | + | Part173.brickColor = BrickColor.new("Toothpaste") |
1576 | - | elseif type == "Cylinder" or type == 2 then |
1576 | + | SpecialMesh174.Parent = Part173 |
1577 | - | magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) |
1577 | + | SpecialMesh174.Scale = Vector3.new(1, 1, 0.25) |
1578 | - | elseif type == "Sphere" or type == 3 then |
1578 | + | SpecialMesh174.MeshType = Enum.MeshType.Brick |
1579 | - | magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) |
1579 | + | Part175.Parent = Model120 |
1580 | - | elseif type == "Ring" or type == 4 then |
1580 | + | Part175.CFrame = CFrame.new(-11.5200005, 1.0650003, -10.7650003, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1581 | - | magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) |
1581 | + | Part175.Position = Vector3.new(-11.5200005, 1.0650003, -10.7650003) |
1582 | - | elseif type == "Slash" or type == 5 then |
1582 | + | Part175.Color = Color3.new(0, 1, 1) |
1583 | - | magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) |
1583 | + | Part175.Size = Vector3.new(0.119999968, 0.0500000343, 0.349999934) |
1584 | Part175.BottomSurface = Enum.SurfaceType.Smooth | |
1585 | Part175.BrickColor = BrickColor.new("Toothpaste") | |
1586 | - | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent) |
1586 | + | Part175.CanCollide = false |
1587 | - | local function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) |
1587 | + | Part175.Material = Enum.Material.Neon |
1588 | - | local fp = Instance.new("Part") |
1588 | + | Part175.TopSurface = Enum.SurfaceType.Smooth |
1589 | - | fp.formFactor = formfactor |
1589 | + | Part175.brickColor = BrickColor.new("Toothpaste") |
1590 | - | fp.Parent = Effects |
1590 | + | SpecialMesh176.Parent = Part175 |
1591 | - | fp.Reflectance = reflectance |
1591 | + | SpecialMesh176.Scale = Vector3.new(1, 0.25, 1) |
1592 | - | fp.Transparency = transparency |
1592 | + | SpecialMesh176.MeshType = Enum.MeshType.Brick |
1593 | - | fp.CanCollide = false |
1593 | + | Part177.Parent = Model120 |
1594 | - | fp.Locked = true |
1594 | + | Part177.CFrame = CFrame.new(-11.5200005, 1.10499978, -11.3500004, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1595 | - | fp.BrickColor = brickcolor |
1595 | + | Part177.Position = Vector3.new(-11.5200005, 1.10499978, -11.3500004) |
1596 | - | fp.Name = name |
1596 | + | Part177.Color = Color3.new(0, 1, 1) |
1597 | - | fp.Size = size |
1597 | + | Part177.Size = Vector3.new(0.119999968, 0.0500000343, 0.259999931) |
1598 | - | fp.Position = torso.Position |
1598 | + | Part177.BottomSurface = Enum.SurfaceType.Smooth |
1599 | - | NoOutline(fp) |
1599 | + | Part177.BrickColor = BrickColor.new("Toothpaste") |
1600 | - | fp.Material = "SmoothPlastic" |
1600 | + | Part177.CanCollide = false |
1601 | - | fp:BreakJoints() |
1601 | + | Part177.Material = Enum.Material.Neon |
1602 | - | return fp |
1602 | + | Part177.TopSurface = Enum.SurfaceType.Smooth |
1603 | Part177.brickColor = BrickColor.new("Toothpaste") | |
1604 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) |
1604 | + | SpecialMesh178.Parent = Part177 |
1605 | - | prt.Anchored = true |
1605 | + | SpecialMesh178.Scale = Vector3.new(1, 0.25, 1) |
1606 | - | prt.CFrame = cframe |
1606 | + | SpecialMesh178.MeshType = Enum.MeshType.Brick |
1607 | - | local msh = mesh("BlockMesh", prt, "", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1607 | + | Part179.Parent = Model120 |
1608 | - | return prt, msh |
1608 | + | Part179.CFrame = CFrame.new(-11.5200005, 1.09500003, -11.210001, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1609 | Part179.Position = Vector3.new(-11.5200005, 1.09500003, -11.210001) | |
1610 | - | function randomangles() |
1610 | + | Part179.Color = Color3.new(0, 1, 1) |
1611 | - | local random = math.rad((math.random() - 0.5) * 180) |
1611 | + | Part179.Size = Vector3.new(0.119999968, 0.170000046, 0.0599999428) |
1612 | - | local randomangles = CFrame.Angles(random, random, random) |
1612 | + | Part179.BottomSurface = Enum.SurfaceType.Smooth |
1613 | - | return randomangles |
1613 | + | Part179.BrickColor = BrickColor.new("Toothpaste") |
1614 | Part179.CanCollide = false | |
1615 | - | function round(num) |
1615 | + | Part179.Material = Enum.Material.Neon |
1616 | - | local a, b = math.modf(num) |
1616 | + | Part179.TopSurface = Enum.SurfaceType.Smooth |
1617 | - | if num % 1 ~= 0 then |
1617 | + | Part179.brickColor = BrickColor.new("Toothpaste") |
1618 | - | return math.floor(num) + math.floor(b * 10 + 0.5) / 10 |
1618 | + | SpecialMesh180.Parent = Part179 |
1619 | SpecialMesh180.Scale = Vector3.new(1, 1, 0.25) | |
1620 | - | return math.floor(num) |
1620 | + | SpecialMesh180.MeshType = Enum.MeshType.Brick |
1621 | Part181.Parent = Model120 | |
1622 | Part181.CFrame = CFrame.new(-11.5200005, 1.28500056, -11.1300011, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) | |
1623 | Part181.Position = Vector3.new(-11.5200005, 1.28500056, -11.1300011) | |
1624 | - | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 |
1624 | + | Part181.Color = Color3.new(0, 1, 1) |
1625 | Part181.Size = Vector3.new(0.119999968, 0.170000046, 0.0599999428) | |
1626 | - | function newPart(parent, brickcolor, transparency, anchored, cancollide, size, name) |
1626 | + | Part181.BottomSurface = Enum.SurfaceType.Smooth |
1627 | - | local fp = Instance.new("Part") |
1627 | + | Part181.BrickColor = BrickColor.new("Toothpaste") |
1628 | - | fp.Parent = parent |
1628 | + | Part181.CanCollide = false |
1629 | - | fp.Transparency = transparency |
1629 | + | Part181.Material = Enum.Material.Neon |
1630 | - | fp.Anchored = anchored |
1630 | + | Part181.TopSurface = Enum.SurfaceType.Smooth |
1631 | - | fp.CanCollide = cancollide |
1631 | + | Part181.brickColor = BrickColor.new("Toothpaste") |
1632 | - | fp.Locked = true |
1632 | + | SpecialMesh182.Parent = Part181 |
1633 | - | fp.BrickColor = brickcolor |
1633 | + | SpecialMesh182.Scale = Vector3.new(1, 1, 0.25) |
1634 | - | fp.Name = name |
1634 | + | SpecialMesh182.MeshType = Enum.MeshType.Brick |
1635 | - | fp.Size = size |
1635 | + | Part183.Parent = Model120 |
1636 | - | fp.Position = torso.Position |
1636 | + | Part183.CFrame = CFrame.new(-11.5200005, 1.33500051, -11.1899996, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1637 | - | NoOutline(fp) |
1637 | + | Part183.Position = Vector3.new(-11.5200005, 1.33500051, -11.1899996) |
1638 | - | fp.Material = "SmoothPlastic" |
1638 | + | Part183.Color = Color3.new(0, 1, 1) |
1639 | - | fp:BreakJoints() |
1639 | + | Part183.Size = Vector3.new(0.119999968, 0.0500000343, 0.139999926) |
1640 | - | return fp |
1640 | + | Part183.BottomSurface = Enum.SurfaceType.Smooth |
1641 | Part183.BrickColor = BrickColor.new("Toothpaste") | |
1642 | - | function newMagicCircle(parent, scale, rgb, id) |
1642 | + | Part183.CanCollide = false |
1643 | - | local guipart = newPart(parent, BrickColor.White(), 1, true, false, Vector3.new(scale, 0.2, scale), "Part") |
1643 | + | Part183.Material = Enum.Material.Neon |
1644 | - | local csgt = {} |
1644 | + | Part183.TopSurface = Enum.SurfaceType.Smooth |
1645 | - | for i = 1, 2 do |
1645 | + | Part183.brickColor = BrickColor.new("Toothpaste") |
1646 | - | local csg = Instance.new("SurfaceGui", guipart) |
1646 | + | SpecialMesh184.Parent = Part183 |
1647 | - | csg.Face = i > 1.1 and "Top" or "Bottom" |
1647 | + | SpecialMesh184.Scale = Vector3.new(1, 0.25, 1) |
1648 | - | local imagelabel = Instance.new("ImageLabel", csg) |
1648 | + | SpecialMesh184.MeshType = Enum.MeshType.Brick |
1649 | - | imagelabel.ImageColor3 = rgb |
1649 | + | Part185.Parent = Model120 |
1650 | - | imagelabel.BackgroundTransparency = 1 |
1650 | + | Part185.CFrame = CFrame.new(-12.5100002, 1.58500004, -11.2999973, 1, 0, 0, 0, -0.707106888, 0.70710665, 0, -0.70710665, -0.707106888) |
1651 | - | if id == nil then |
1651 | + | Part185.Orientation = Vector3.new(-45, 180, 180) |
1652 | - | imagelabel.Image = "http://www.roblox.com/asset/?id=884834173" |
1652 | + | Part185.Position = Vector3.new(-12.5100002, 1.58500004, -11.2999973) |
1653 | Part185.Rotation = Vector3.new(-135, 0, 0) | |
1654 | - | imagelabel.Image = "http://www.roblox.com/asset/?id=" .. id |
1654 | + | Part185.Color = Color3.new(0, 1, 1) |
1655 | Part185.Size = Vector3.new(0.0599999428, 0.139999986, 0.139999956) | |
1656 | - | imagelabel.Size = UDim2.new(1, 0, 1, 0) |
1656 | + | Part185.BottomSurface = Enum.SurfaceType.Smooth |
1657 | - | table.insert(csgt, imagelabel) |
1657 | + | Part185.BrickColor = BrickColor.new("Toothpaste") |
1658 | Part185.CanCollide = false | |
1659 | - | return guipart, csgt |
1659 | + | Part185.Material = Enum.Material.Glass |
1660 | Part185.TopSurface = Enum.SurfaceType.Smooth | |
1661 | - | function Lightning(p0, p1, tym, ofs, col, th, tra, last) |
1661 | + | Part185.brickColor = BrickColor.new("Toothpaste") |
1662 | - | local magz = (p0 - p1).magnitude |
1662 | + | SpecialMesh186.Parent = Part185 |
1663 | - | local curpos = p0 |
1663 | + | SpecialMesh186.MeshType = Enum.MeshType.Wedge |
1664 | - | local trz = { |
1664 | + | Part187.Parent = Model120 |
1665 | - | -ofs, |
1665 | + | Part187.CFrame = CFrame.new(-12.5100002, 1.58500278, -10.7099981, 1, 0, 0, 0, -0.707106888, 0.70710665, 0, -0.70710665, -0.707106888) |
1666 | - | ofs |
1666 | + | Part187.Orientation = Vector3.new(-45, 180, 180) |
1667 | - | } |
1667 | + | Part187.Position = Vector3.new(-12.5100002, 1.58500278, -10.7099981) |
1668 | - | for i = 1, tym do |
1668 | + | Part187.Rotation = Vector3.new(-135, 0, 0) |
1669 | - | local li = Instance.new("Part", Effects) |
1669 | + | Part187.Color = Color3.new(0, 1, 1) |
1670 | - | li.TopSurface = 0 |
1670 | + | Part187.Size = Vector3.new(0.0599999428, 0.139999986, 0.139999956) |
1671 | - | li.BottomSurface = 0 |
1671 | + | Part187.BottomSurface = Enum.SurfaceType.Smooth |
1672 | - | li.Anchored = true |
1672 | + | Part187.BrickColor = BrickColor.new("Toothpaste") |
1673 | - | li.Transparency = tra or 0.4 |
1673 | + | Part187.CanCollide = false |
1674 | - | li.BrickColor = BrickColor.new(col) |
1674 | + | Part187.Material = Enum.Material.Glass |
1675 | - | li.formFactor = "Custom" |
1675 | + | Part187.TopSurface = Enum.SurfaceType.Smooth |
1676 | - | li.CanCollide = false |
1676 | + | Part187.brickColor = BrickColor.new("Toothpaste") |
1677 | - | li.Material = "Neon" |
1677 | + | SpecialMesh188.Parent = Part187 |
1678 | - | li.Size = Vector3.new(th, th, magz / tym) |
1678 | + | SpecialMesh188.MeshType = Enum.MeshType.Wedge |
1679 | - | local lim = mesh("BlockMesh", li, nil, nil, nil, Vector3.new(th, th, 1)) |
1679 | + | Part189.Parent = Model120 |
1680 | - | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) |
1680 | + | Part189.CFrame = CFrame.new(-12.5100002, 1.61500013, -11.000001, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829) |
1681 | - | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz |
1681 | + | Part189.Orientation = Vector3.new(45, 0, 0) |
1682 | - | if tym == i then |
1682 | + | Part189.Position = Vector3.new(-12.5100002, 1.61500013, -11.000001) |
1683 | - | local magz2 = (curpos - p1).magnitude |
1683 | + | Part189.Rotation = Vector3.new(45, 0, 0) |
1684 | - | li.Size = Vector3.new(th, th, magz2) |
1684 | + | Part189.Color = Color3.new(0, 1, 1) |
1685 | - | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) |
1685 | + | Part189.Size = Vector3.new(0.0599999428, 0.139999986, 0.139999956) |
1686 | Part189.BottomSurface = Enum.SurfaceType.Smooth | |
1687 | - | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) |
1687 | + | Part189.BrickColor = BrickColor.new("Toothpaste") |
1688 | Part189.CanCollide = false | |
1689 | - | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p |
1689 | + | Part189.Material = Enum.Material.Glass |
1690 | - | table.insert(partEffects, { |
1690 | + | Part189.TopSurface = Enum.SurfaceType.Smooth |
1691 | - | li, |
1691 | + | Part189.brickColor = BrickColor.new("Toothpaste") |
1692 | - | "Block2", |
1692 | + | SpecialMesh190.Parent = Part189 |
1693 | - | last, |
1693 | + | SpecialMesh190.MeshType = Enum.MeshType.Wedge |
1694 | - | 0, |
1694 | + | Part191.Parent = Model120 |
1695 | - | 0, |
1695 | + | Part191.CFrame = CFrame.new(-12.5, 1.59500206, -10.7099981, 1, 0, 0, 0, -0.707106888, 0.70710665, 0, -0.70710665, -0.707106888) |
1696 | - | 0, |
1696 | + | Part191.Orientation = Vector3.new(-45, 180, 180) |
1697 | - | li.Mesh |
1697 | + | Part191.Position = Vector3.new(-12.5, 1.59500206, -10.7099981) |
1698 | - | }) |
1698 | + | Part191.Rotation = Vector3.new(-135, 0, 0) |
1699 | Part191.Color = Color3.new(0, 1, 1) | |
1700 | Part191.Size = Vector3.new(0.0599999428, 0.159999982, 0.159999952) | |
1701 | - | function mesh(Mesh, part, meshtype, meshid, offset, scale) |
1701 | + | Part191.BottomSurface = Enum.SurfaceType.Smooth |
1702 | - | local mesh = Instance.new(Mesh) |
1702 | + | Part191.BrickColor = BrickColor.new("Toothpaste") |
1703 | - | mesh.Parent = part |
1703 | + | Part191.CanCollide = false |
1704 | - | if Mesh == "SpecialMesh" then |
1704 | + | Part191.Material = Enum.Material.Neon |
1705 | - | mesh.MeshType = meshtype |
1705 | + | Part191.TopSurface = Enum.SurfaceType.Smooth |
1706 | - | if meshid then |
1706 | + | Part191.brickColor = BrickColor.new("Toothpaste") |
1707 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid |
1707 | + | SpecialMesh192.Parent = Part191 |
1708 | SpecialMesh192.MeshType = Enum.MeshType.Wedge | |
1709 | Part193.Parent = Model120 | |
1710 | - | if offset then |
1710 | + | Part193.CFrame = CFrame.new(-12.5, 1.60499954, -11.000001, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829) |
1711 | - | mesh.Offset = offset |
1711 | + | Part193.Orientation = Vector3.new(45, 0, 0) |
1712 | Part193.Position = Vector3.new(-12.5, 1.60499954, -11.000001) | |
1713 | - | mesh.Scale = scale |
1713 | + | Part193.Rotation = Vector3.new(45, 0, 0) |
1714 | - | return mesh |
1714 | + | Part193.Color = Color3.new(0, 1, 1) |
1715 | Part193.Size = Vector3.new(0.0599999428, 0.159999982, 0.159999952) | |
1716 | - | function weld(parent, part0, part1, c0) |
1716 | + | Part193.BottomSurface = Enum.SurfaceType.Smooth |
1717 | - | local weld = Instance.new("Weld") |
1717 | + | Part193.BrickColor = BrickColor.new("Toothpaste") |
1718 | - | weld.Parent = parent |
1718 | + | Part193.CanCollide = false |
1719 | - | weld.Part0 = part0 |
1719 | + | Part193.Material = Enum.Material.Neon |
1720 | - | weld.Part1 = part1 |
1720 | + | Part193.TopSurface = Enum.SurfaceType.Smooth |
1721 | - | weld.C0 = c0 |
1721 | + | Part193.brickColor = BrickColor.new("Toothpaste") |
1722 | - | return weld |
1722 | + | SpecialMesh194.Parent = Part193 |
1723 | SpecialMesh194.MeshType = Enum.MeshType.Wedge | |
1724 | - | function findCloseHumanoid(centre, distance) |
1724 | + | Part195.Parent = Model120 |
1725 | - | local tab = {} |
1725 | + | Part195.CFrame = CFrame.new(-12.5, 1.59499955, -11.2999983, 1, 0, 0, 0, -0.707106888, 0.70710665, 0, -0.70710665, -0.707106888) |
1726 | - | for _, child in pairs(game.Workspace:GetChildren()) do |
1726 | + | Part195.Orientation = Vector3.new(-45, 180, 180) |
1727 | - | if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= humanoid and child:findFirstChild("Torso") then |
1727 | + | Part195.Position = Vector3.new(-12.5, 1.59499955, -11.2999983) |
1728 | - | local vtors = child.Torso |
1728 | + | Part195.Rotation = Vector3.new(-135, 0, 0) |
1729 | - | local mag = math.abs((vtors.Position - centre).magnitude) |
1729 | + | Part195.Color = Color3.new(0, 1, 1) |
1730 | - | if distance >= mag then |
1730 | + | Part195.Size = Vector3.new(0.0599999428, 0.159999982, 0.159999952) |
1731 | - | table.insert(tab, child.Humanoid) |
1731 | + | Part195.BottomSurface = Enum.SurfaceType.Smooth |
1732 | Part195.BrickColor = BrickColor.new("Toothpaste") | |
1733 | Part195.CanCollide = false | |
1734 | Part195.Material = Enum.Material.Neon | |
1735 | - | return tab |
1735 | + | Part195.TopSurface = Enum.SurfaceType.Smooth |
1736 | Part195.brickColor = BrickColor.new("Toothpaste") | |
1737 | - | function findClosestHumanoid(centre, maxdis) |
1737 | + | SpecialMesh196.Parent = Part195 |
1738 | - | local TargetTor |
1738 | + | SpecialMesh196.MeshType = Enum.MeshType.Wedge |
1739 | - | local allClose = {} |
1739 | + | Part197.Parent = Model120 |
1740 | - | for _, child in ipairs(workspace:GetChildren()) do |
1740 | + | Part197.CFrame = CFrame.new(-12.4800005, 1.26500058, -11.2900009, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1741 | - | if child:FindFirstChild("Humanoid") and child:FindFirstChild("Humanoid") ~= humanoid and child:FindFirstChild("Torso") then |
1741 | + | Part197.Position = Vector3.new(-12.4800005, 1.26500058, -11.2900009) |
1742 | - | local vtors = child.Torso |
1742 | + | Part197.Color = Color3.new(0, 1, 1) |
1743 | - | local mag = math.abs((vtors.Position - centre).magnitude) |
1743 | + | Part197.Size = Vector3.new(0.119999968, 0.13000004, 0.0599999428) |
1744 | - | if mag <= 100000 and child:FindFirstChild("Humanoid").Health > 0 then |
1744 | + | Part197.BottomSurface = Enum.SurfaceType.Smooth |
1745 | - | table.insert(allClose, vtors) |
1745 | + | Part197.BrickColor = BrickColor.new("Toothpaste") |
1746 | Part197.CanCollide = false | |
1747 | Part197.Material = Enum.Material.Neon | |
1748 | Part197.TopSurface = Enum.SurfaceType.Smooth | |
1749 | - | for i, u in ipairs(allClose) do |
1749 | + | Part197.brickColor = BrickColor.new("Toothpaste") |
1750 | - | local mag = math.abs((u.Position - centre).magnitude) |
1750 | + | SpecialMesh198.Parent = Part197 |
1751 | - | if maxdis > mag then |
1751 | + | SpecialMesh198.Scale = Vector3.new(1, 1, 0.25) |
1752 | - | TargetTor = u |
1752 | + | SpecialMesh198.MeshType = Enum.MeshType.Brick |
1753 | - | maxdis = mag |
1753 | + | Part199.Parent = Model120 |
1754 | Part199.CFrame = CFrame.new(-12.4800005, 1.28500056, -10.8500004, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) | |
1755 | Part199.Position = Vector3.new(-12.4800005, 1.28500056, -10.8500004) | |
1756 | - | return TargetTor |
1756 | + | Part199.Color = Color3.new(0, 1, 1) |
1757 | Part199.Size = Vector3.new(0.119999968, 0.0500000343, 0.259999931) | |
1758 | - | local weapon = script:WaitForChild("Eldrich") |
1758 | + | Part199.BottomSurface = Enum.SurfaceType.Smooth |
1759 | - | local handleroot = Instance.new("Part") |
1759 | + | Part199.BrickColor = BrickColor.new("Toothpaste") |
1760 | - | handleroot.Anchored = false |
1760 | + | Part199.CanCollide = false |
1761 | - | handleroot.CanCollide = false |
1761 | + | Part199.Material = Enum.Material.Neon |
1762 | - | handleroot.Transparency = 1 |
1762 | + | Part199.TopSurface = Enum.SurfaceType.Smooth |
1763 | - | handleroot.Size = Vector3.new(0.2, 0.2, 0.2) |
1763 | + | Part199.brickColor = BrickColor.new("Toothpaste") |
1764 | - | local handlerootc0 = CFrame.new(0, 0.9, 0) |
1764 | + | SpecialMesh200.Parent = Part199 |
1765 | - | weld(char["Right Arm"], handleroot, char["Right Arm"], handlerootc0) |
1765 | + | SpecialMesh200.Scale = Vector3.new(1, 0.25, 1) |
1766 | - | handleroot.Parent = char |
1766 | + | SpecialMesh200.MeshType = Enum.MeshType.Brick |
1767 | - | local handlec0 = CFrame.Angles(0, 0, math.rad(90)) |
1767 | + | Part201.Parent = Model120 |
1768 | - | local handleweld = weld(handleroot, weapon.Handle, handleroot, handlec0) |
1768 | + | Part201.CFrame = CFrame.new(-12.4800005, 1.18000054, -10.7200012, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1769 | - | handleweld.C1 = CFrame.new(0, 0, 0) |
1769 | + | Part201.Position = Vector3.new(-12.4800005, 1.18000054, -10.7200012) |
1770 | - | weapon.Parent = char |
1770 | + | Part201.Color = Color3.new(0, 1, 1) |
1771 | - | function playAnimationFromTable(neck, root, right, left, righth, lefth, handlec, animationspeed_1, animationspeed_2, animationspeed_3, animationspeed_4) |
1771 | + | Part201.Size = Vector3.new(0.119999968, 0.220000044, 0.0599999428) |
1772 | - | Neck.C0 = clerp(Neck.C0, neck, animationspeed_1) |
1772 | + | Part201.BottomSurface = Enum.SurfaceType.Smooth |
1773 | - | RootJoint.C0 = clerp(RootJoint.C0, root, animationspeed_1) |
1773 | + | Part201.BrickColor = BrickColor.new("Toothpaste") |
1774 | - | RW.C0 = clerp(RW.C0, right, animationspeed_2) |
1774 | + | Part201.CanCollide = false |
1775 | - | LW.C0 = clerp(LW.C0, left, animationspeed_2) |
1775 | + | Part201.Material = Enum.Material.Neon |
1776 | - | RH.C0 = clerp(RH.C0, righth, animationspeed_3) |
1776 | + | Part201.TopSurface = Enum.SurfaceType.Smooth |
1777 | - | LH.C0 = clerp(LH.C0, lefth, animationspeed_3) |
1777 | + | Part201.brickColor = BrickColor.new("Toothpaste") |
1778 | - | if handlec ~= nil then |
1778 | + | SpecialMesh202.Parent = Part201 |
1779 | - | handleweld.C0 = clerp(handleweld.C0, handlec, animationspeed_4) |
1779 | + | SpecialMesh202.Scale = Vector3.new(1, 1, 0.25) |
1780 | SpecialMesh202.MeshType = Enum.MeshType.Brick | |
1781 | Part203.Parent = Model120 | |
1782 | Part203.CFrame = CFrame.new(-12.4800005, 1.07500052, -10.9049997, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) | |
1783 | - | attacking.Value = true |
1783 | + | Part203.Position = Vector3.new(-12.4800005, 1.07500052, -10.9049997) |
1784 | - | local floorcircle, circlet = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color) |
1784 | + | Part203.Color = Color3.new(0, 1, 1) |
1785 | - | local g1 = circlet[1] |
1785 | + | Part203.Size = Vector3.new(0.119999968, 0.0500000343, 0.48999995) |
1786 | - | local g2 = circlet[2] |
1786 | + | Part203.BottomSurface = Enum.SurfaceType.Smooth |
1787 | - | g1.ImageTransparency = 1 |
1787 | + | Part203.BrickColor = BrickColor.new("Toothpaste") |
1788 | - | g2.ImageTransparency = 1 |
1788 | + | Part203.CanCollide = false |
1789 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, -6) |
1789 | + | Part203.Material = Enum.Material.Neon |
1790 | - | local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
1790 | + | Part203.TopSurface = Enum.SurfaceType.Smooth |
1791 | - | local ncount = 0 |
1791 | + | Part203.brickColor = BrickColor.new("Toothpaste") |
1792 | - | floorcircle.CFrame = cnow |
1792 | + | SpecialMesh204.Parent = Part203 |
1793 | - | sound(320557563, RootPart, 0.5, 6, 0.9) |
1793 | + | SpecialMesh204.Scale = Vector3.new(1, 0.25, 1) |
1794 | - | for i = 0, 1, 0.08 do |
1794 | + | SpecialMesh204.MeshType = Enum.MeshType.Brick |
1795 | Part205.Parent = Model120 | |
1796 | - | ncount = ncount + 1 |
1796 | + | Part205.CFrame = CFrame.new(-12.4800005, 1.09000039, -11.1600008, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1797 | - | g1.ImageTransparency = 1 - i |
1797 | + | Part205.Position = Vector3.new(-12.4800005, 1.09000039, -11.1600008) |
1798 | - | g2.ImageTransparency = 1 - i |
1798 | + | Part205.Color = Color3.new(0, 1, 1) |
1799 | - | floorcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1799 | + | Part205.Size = Vector3.new(0.119999968, 0.100000046, 0.0599999428) |
1800 | - | playAnimationFromTable(CFrame.Angles(0, math.rad(30), 0) * CFrame.new(0.0366210938, 1.00202489, 0.0264377594, -0.664224923, 0.743938804, -0.0732400268, -0.00916568376, 0.0898628905, 0.995914221, 0.747478426, 0.662180662, -0.0528705381), CFrame.Angles(0, math.rad(-30), 0) * CFrame.new(-5.37872314E-4, -0.0499694347, 0.00165939331, -0.667414725, -0.744530737, -0.0152019337, -0.0176081304, -0.00463023921, 0.999834716, -0.744477153, 0.667571366, -0.010019551), CFrame.new(1.35510635, 0.527938366, 0.0837059021, 0.963287294, -0.207916752, -0.169844508, 0.204758286, 0.97814703, -0.0361037515, 0.173638701, 1.43051147E-6, 0.984809041), CFrame.new(-1.44900513, 0.533185244, 0.0833530426, 0.984825015, 0.11331372, 0.131447047, -0.104038499, 0.991709471, -0.0754270777, -0.13890478, 0.0606068783, 0.988448977), CFrame.new(0.952083588, -0.997125626, -0.412149429, -0.73165822, -0.164730519, 0.661467016, -0.185397655, 0.981871724, 0.0394523405, -0.65597415, -0.0937685966, -0.748935401), CFrame.new(-1.14963531, -0.868524313, 0.158639908, 0.665293813, -0.0256458372, -0.746140182, 0.125523552, 0.989025712, 0.0779287666, 0.735952616, -0.145503536, 0.661212087), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3) |
1800 | + | Part205.BottomSurface = Enum.SurfaceType.Smooth |
1801 | Part205.BrickColor = BrickColor.new("Toothpaste") | |
1802 | - | sound(588732660, RootPart, 0.5, 6, 1) |
1802 | + | Part205.CanCollide = false |
1803 | - | sound(338594524, RootPart, 1.3, 6, 0.9) |
1803 | + | Part205.Material = Enum.Material.Neon |
1804 | - | sound(588739712, RootPart, 1, 6, 0.9) |
1804 | + | Part205.TopSurface = Enum.SurfaceType.Smooth |
1805 | - | local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
1805 | + | Part205.brickColor = BrickColor.new("Toothpaste") |
1806 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30)) |
1806 | + | SpecialMesh206.Parent = Part205 |
1807 | - | c1.Material = "Neon" |
1807 | + | SpecialMesh206.Scale = Vector3.new(1, 1, 0.25) |
1808 | - | local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
1808 | + | SpecialMesh206.MeshType = Enum.MeshType.Brick |
1809 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
1809 | + | Part207.Parent = Model120 |
1810 | - | c2.Material = "Neon" |
1810 | + | Part207.CFrame = CFrame.new(-12.4800005, 1.33500051, -11.3000002, 1, 1.49011612e-07, 0, -1.49011612e-07, 1, 0, -7.10542736e-15, 0, 1) |
1811 | - | c1.CFrame = floorcircle.CFrame |
1811 | + | Part207.Position = Vector3.new(-12.4800005, 1.33500051, -11.3000002) |
1812 | - | c2.CFrame = floorcircle.CFrame |
1812 | + | Part207.Color = Color3.new(0, 1, 1) |
1813 | - | thread(function() |
1813 | + | Part207.Size = Vector3.new(0.119999968, 0.0500000343, 0.199999928) |
1814 | - | for i = 0, 1, 0.05 do |
1814 | + | Part207.BottomSurface = Enum.SurfaceType.Smooth |
1815 | - | swait() |
1815 | + | Part207.BrickColor = BrickColor.new("Toothpaste") |
1816 | - | ncount = ncount + 1 |
1816 | + | Part207.CanCollide = false |
1817 | - | g1.ImageTransparency = i |
1817 | + | Part207.Material = Enum.Material.Neon |
1818 | - | g2.ImageTransparency = i |
1818 | + | Part207.TopSurface = Enum.SurfaceType.Smooth |
1819 | - | c1.Transparency = i |
1819 | + | Part207.brickColor = BrickColor.new("Toothpaste") |
1820 | - | c2.Transparency = i |
1820 | + | SpecialMesh208.Parent = Part207 |
1821 | - | c1.Size = Vector3.new(0.2, 0.2 + i / 5, 0.2) |
1821 | + | SpecialMesh208.Scale = Vector3.new(1, 0.25, 1) |
1822 | - | c2.Size = Vector3.new(0.2, 0.2 + i / 5, 0.2) |
1822 | + | SpecialMesh208.MeshType = Enum.MeshType.Brick |
1823 | - | c1.CFrame = floorcircle.CFrame |
1823 | + | |
1824 | - | c2.CFrame = floorcircle.CFrame |
1824 | + | v.Parent = game:GetService("Players").LocalPlayer.Character |
1825 | - | floorcircle.CFrame = cnow * CFrame.new(0, 0.5 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1825 | + | |
1826 | end | |
1827 | - | g1:Destroy() |
1827 | + | |
1828 | - | g2:Destroy() |
1828 | + | |
1829 | - | c1:Destroy() |
1829 | + | |
1830 | - | c2:Destroy() |
1830 | + | |
1831 | - | floorcircle:Destroy() |
1831 | + | |
1832 | end | |
1833 | - | for i, vhum in pairs(findCloseHumanoid(cnow.p, 12)) do |
1833 | + | |
1834 | - | basic.Damage(Effects, vhum, math.random(combo_knee_dam, ckd2), (twistedmode == false and main_color or main_color2).Color) |
1834 | + | |
1835 | Player = game:GetService("Players").LocalPlayer | |
1836 | plr = game:GetService("Players").LocalPlayer | |
1837 | mouse = Player:GetMouse() | |
1838 | - | playAnimationFromTable(CFrame.new(-0.039100647, 1.02269387, 0.143768311, -0.94131124, -0.328364193, 0.0781785548, -0.0243163686, 0.296977013, 0.954575658, -0.336665064, 0.896651626, -0.287532121), CFrame.new(0, -0.0499694347, -0.001745224, -0.940523326, 0.339526713, 0.0117489025, -0.0119406004, -0.0675987452, 0.997641325, 0.339520097, 0.938164413, 0.0676323324), CFrame.new(1.24144745, 0.642895877, 0.241867065, 0.912544847, -0.291507274, -0.286855638, 0.371507466, 0.884127736, 0.283374488, 0.17101106, -0.365160704, 0.915103137), CFrame.new(-1.33905029, 0.517257273, 0.0520858765, 0.9732306, 0.190887347, 0.128014982, -0.172061026, 0.97438097, -0.144842476, -0.152384013, 0.118938528, 0.981140971), CFrame.new(1.15815353, -0.717945099, -0.719116211, 0.331338763, 0.11077407, 0.936986983, -0.506203651, 0.858928919, 0.0774587765, -0.796224535, -0.499971092, 0.340670437), CFrame.new(-0.997020721, -0.94981277, 0.0816650391, 5.45233488E-4, 0.105157688, -0.994455755, 0.133004859, 0.985612929, 0.104295507, 0.991115749, -0.132324219, -0.0134490132), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3) |
1838 | + | |
1839 | hum = char.Humanoid | |
1840 | - | attacking.Value = false |
1840 | + | local cam = game.Workspace.CurrentCamera |
1841 | Camera = cam | |
1842 | local CamInterrupt = false | |
1843 | - | attacking.Value = true |
1843 | + | local TwoD = false |
1844 | - | local punchcircle, circlet = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color) |
1844 | + | local TargetInfo = {nil, nil} |
1845 | - | local g1 = circlet[1] |
1845 | + | cam.CameraType = "Custom" |
1846 | - | local g2 = circlet[2] |
1846 | + | t = char.Torso |
1847 | - | g1.ImageTransparency = 1 |
1847 | + | h = char.Head |
1848 | - | g2.ImageTransparency = 1 |
1848 | + | ra = char["Right Arm"] |
1849 | - | local cnow = RootPart.CFrame * CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(90), 0, 0) |
1849 | + | la = char["Left Arm"] |
1850 | - | local ncount = 0 |
1850 | + | rl = char["Right Leg"] |
1851 | - | punchcircle.CFrame = cnow |
1851 | + | ll = char["Left Leg"] |
1852 | - | sound(320557563, RootPart, 0.5, 6, 0.9) |
1852 | + | tors = char.Torso |
1853 | - | sound(588739384, RootPart, 0.8, 6, 0.9) |
1853 | + | lleg = char["Left Leg"] |
1854 | - | for i = 0, 1, 0.08 do |
1854 | + | root = char.HumanoidRootPart |
1855 | hed = char.Head | |
1856 | - | ncount = ncount + 1 |
1856 | + | rleg = char["Right Leg"] |
1857 | - | g1.ImageTransparency = 1 - i |
1857 | + | rarm = char["Right Arm"] |
1858 | - | g2.ImageTransparency = 1 - i |
1858 | + | larm = char["Left Arm"] |
1859 | - | punchcircle.CFrame = cnow * CFrame.new(0, -6 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1859 | + | radian = math.rad |
1860 | - | playAnimationFromTable(CFrame.new(-0.0600166321, 1.00377321, 0.013168335, -0.600801229, -0.790335298, 0.120063931, 0.0515110902, 0.111605346, 0.992416978, -0.797741473, 0.602429628, -0.0263414718), CFrame.new(0.00345993042, -0.0498781204, 4.25338745E-4, -0.60254091, 0.797009289, -0.0415658727, -0.0351099893, 0.0255602654, 0.999056637, 0.797320008, 0.603431642, 0.0125819258), CFrame.new(1.3885479, 0.507249117, 0.0394897461, 0.960471272, -0.259713769, -0.100255221, 0.222270221, 0.932230234, -0.285557956, 0.167624235, 0.251986533, 0.953106344), CFrame.new(-1.20738411, 0.441636086, -0.159381866, 0.614046216, -0.789190769, -0.0115426555, 0.0343859009, 0.041359555, -0.998552561, 0.788525641, 0.612760246, 0.0525335595), CFrame.new(0.825660706, -0.966924191, 0.346191406, 0.69384408, -0.0697358176, 0.716745973, 0.0233537368, 0.996955752, 0.0743911862, -0.719751477, -0.034877073, 0.69336015), CFrame.new(-1.05771065, -0.975158215, -0.376472473, -0.529659808, 0.0697788224, -0.845339537, 0.066512011, 0.996958554, 0.0406203046, 0.845602632, -0.0347101763, -0.53268981), nil, 0.3, 0.3, 0.3, 0.3) |
1860 | + | random = math.random |
1861 | Vec3 = Vector3.new | |
1862 | - | sound(588732660, RootPart, 0.5, 6, 0.7) |
1862 | + | Inst = Instance.new |
1863 | - | sound(338594524, RootPart, 0.5, 6, 0.9) |
1863 | + | cFrame = CFrame.new |
1864 | - | sound(338594467, RootPart, 1, 6, 0.9) |
1864 | + | Euler = CFrame.fromEulerAnglesXYZ |
1865 | - | local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
1865 | + | |
1866 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30)) |
1866 | + | bc = BrickColor.new |
1867 | - | c1.Material = "Neon" |
1867 | + | br = BrickColor.random |
1868 | - | local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
1868 | + | |
1869 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
1869 | + | |
1870 | - | c2.Material = "Neon" |
1870 | + | |
1871 | - | c1.CFrame = punchcircle.CFrame |
1871 | + | --nova conversions |
1872 | - | c2.CFrame = punchcircle.CFrame |
1872 | + | |
1873 | - | thread(function() |
1873 | + | |
1874 | - | punchcircle:Destroy() |
1874 | + | hum = char.Humanoid |
1875 | - | for i = 0, 1, 0.05 do |
1875 | + | local cam = game.Workspace.CurrentCamera |
1876 | - | swait() |
1876 | + | Camera = cam |
1877 | - | ncount = ncount + 1 |
1877 | + | local CamInterrupt = false |
1878 | - | g1.ImageTransparency = i |
1878 | + | local TwoD = false |
1879 | - | g2.ImageTransparency = i |
1879 | + | local TargetInfo = {nil, nil} |
1880 | - | c1.Transparency = i |
1880 | + | cam.CameraType = "Custom" |
1881 | - | c2.Transparency = i |
1881 | + | t = char.Torso |
1882 | - | c1.Size = Vector3.new(0.2 + i / 10, 0.2 + i / 10, 0.2 + i / 10) |
1882 | + | h = char.Head |
1883 | - | c2.Size = Vector3.new(0.2 + i / 10, 0.2 + i / 10, 0.2 + i / 10) |
1883 | + | ra = char["Right Arm"] |
1884 | - | c1.CFrame = punchcircle.CFrame |
1884 | + | la = char["Left Arm"] |
1885 | - | c2.CFrame = punchcircle.CFrame |
1885 | + | rl = char["Right Leg"] |
1886 | ll = char["Left Leg"] | |
1887 | - | g1:Destroy() |
1887 | + | tors = char.Torso |
1888 | - | g2:Destroy() |
1888 | + | lleg = char["Left Leg"] |
1889 | - | c1:Destroy() |
1889 | + | root = char.HumanoidRootPart |
1890 | - | c2:Destroy() |
1890 | + | hed = char.Head |
1891 | rleg = char["Right Leg"] | |
1892 | - | for i, vhum in pairs(findCloseHumanoid(cnow.p, 12)) do |
1892 | + | rarm = char["Right Arm"] |
1893 | - | basic.Damage(Effects, vhum, math.random(combo_punch_dam, cpd2), (twistedmode == false and main_color or main_color2).Color) |
1893 | + | larm = char["Left Arm"] |
1894 | radian = math.rad | |
1895 | random = math.random | |
1896 | Mrandom = math.random | |
1897 | - | playAnimationFromTable(CFrame.new(0.0410308838, 1.00437975, 0.0519294739, -0.547402143, 0.832843661, -0.0820350572, 0.0422678888, 0.125414759, 0.991203725, 0.835805893, 0.539119422, -0.103854731), CFrame.new(-0.00158309937, -0.0498781204, 0.00310707092, -0.543154597, -0.839633524, 0.00239322288, -0.0351099893, 0.0255602654, 0.999056637, -0.838902712, 0.542558014, -0.0433624163), CFrame.new(1.30666351, 0.513760567, 0.119087219, 0.941509724, -0.304782867, -0.143829763, 0.289233357, 0.949791372, -0.119337261, 0.172981173, 0.0707567632, 0.982391119), CFrame.new(-1.34972382, 0.471359015, -0.393032074, 0.617199659, 0.786730587, -0.0115428045, -0.048450049, 0.0233586282, -0.998552561, -0.785323083, 0.616864026, 0.0525338277), CFrame.new(0.966072083, -0.96925211, -0.00110244751, 0.00121614337, -0.069736734, 0.997572184, -0.0348778591, 0.996955812, 0.0697359815, -0.999398112, -0.0348777696, -0.00121980906), CFrame.new(-0.981964111, -0.958715439, 0.248048782, 0.716746747, 0.0697793886, -0.693843603, -0.0259044934, 0.996958435, 0.0735041574, 0.69686234, -0.0347099937, 0.71637404), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3) |
1897 | + | Vec3 = Vector3.new |
1898 | local God = true | |
1899 | - | attacking.Value = false |
1899 | + | Inst = Instance.new |
1900 | cFrame = CFrame.new | |
1901 | Euler = CFrame.fromEulerAnglesXYZ | |
1902 | - | attacking.Value = true |
1902 | + | |
1903 | - | local circles = {} |
1903 | + | VT = Vector3.new |
1904 | - | local circle3, circlet3 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color) |
1904 | + | bc = BrickColor.new |
1905 | - | local g31 = circlet3[1] |
1905 | + | br = BrickColor.random |
1906 | - | local g32 = circlet3[2] |
1906 | + | |
1907 | - | g31.ImageTransparency = 1 |
1907 | + | IT = Instance.new |
1908 | - | g32.ImageTransparency = 1 |
1908 | + | --random conversion stuff |
1909 | - | local cfr = RootPart.CFrame * CFrame.new(-6, 0, -6) |
1909 | + | cam = game.Workspace.CurrentCamera |
1910 | - | local cnow1 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
1910 | + | CF = CFrame.new |
1911 | - | circle3.CFrame = cnow1 |
1911 | + | VT = Vector3.new |
1912 | - | local circle2, circlet2 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color) |
1912 | + | |
1913 | - | local g21 = circlet2[1] |
1913 | + | attack = false |
1914 | - | local g22 = circlet2[2] |
1914 | + | Euler = CFrame.fromEulerAnglesXYZ |
1915 | - | g21.ImageTransparency = 1 |
1915 | + | Rad = math.rad |
1916 | - | g22.ImageTransparency = 1 |
1916 | + | IT = Instance.new |
1917 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, -10) |
1917 | + | BrickC = BrickColor.new |
1918 | - | local cnow2 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
1918 | + | Cos = math.cos |
1919 | - | circle2.CFrame = cnow2 |
1919 | + | Acos = math.acos |
1920 | - | local circle1, circlet1 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color) |
1920 | + | Sin = math.sin |
1921 | - | local g11 = circlet1[1] |
1921 | + | Asin = math.asin |
1922 | - | local g12 = circlet1[2] |
1922 | + | Abs = math.abs |
1923 | - | g11.ImageTransparency = 1 |
1923 | + | Mrandom = math.random |
1924 | - | g12.ImageTransparency = 1 |
1924 | + | ANGLES = CFrame.Angles |
1925 | - | local cfr = RootPart.CFrame * CFrame.new(6, 0, -6) |
1925 | + | RAD = math.rad |
1926 | - | local cnow3 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
1926 | + | Floor = math.floor |
1927 | - | circlet1.CFrame = cnow3 |
1927 | + | local maincolor = BrickColor.new("Institutional white") |
1928 | - | local ncount = 0 |
1928 | + | Handle = BrickColor.new("Black") |
1929 | - | sound(320557563, RootPart, 0.3, 6, 0.9) |
1929 | + | local BC = char["Body Colors"] |
1930 | - | sound(588738949, RootPart, 0.9, 6, 0.9) |
1930 | + | local cn = CFrame.new |
1931 | - | for i = 0, 1, 0.08 do |
1931 | + | shirt = char.Shirt |
1932 | pants = char.Pants | |
1933 | - | g11.ImageTransparency = 1 - i |
1933 | + | local rootj = root.RootJoint |
1934 | - | g12.ImageTransparency = 1 - i |
1934 | + | --end random conversion |
1935 | - | g21.ImageTransparency = 1 - i |
1935 | + | |
1936 | - | g22.ImageTransparency = 1 - i |
1936 | + | Cf = CFrame.new |
1937 | - | g31.ImageTransparency = 1 - i |
1937 | + | SIN = math.sin |
1938 | - | g32.ImageTransparency = 1 - i |
1938 | + | COS = math.cos |
1939 | - | circle1.CFrame = cnow1 * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1939 | + | RAD = math.rad |
1940 | - | circle2.CFrame = cnow2 * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1940 | + | BrickC = BrickColor.new |
1941 | - | circle3.CFrame = cnow3 * CFrame.Angles(0, math.rad(ncount * 1), 0) |
1941 | + | BRICKC = BrickColor.new |
1942 | - | Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(15), 0, math.rad(0)), 0.14) |
1942 | + | CF = CFrame.new |
1943 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0.05, 0, math.rad(0)), 0.14) |
1943 | + | equipped = false |
1944 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(50)), 0.14) |
1944 | + | advanced = false |
1945 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-50)), 0.14) |
1945 | + | |
1946 | euler = CFrame.fromEulerAnglesXYZ | |
1947 | - | sound(588736245, RootPart, 0.1, 6, 0.6) |
1947 | + | |
1948 | - | sound(588733125, RootPart, 1, 6, 0.6) |
1948 | + | ANGLES = CFrame.Angles |
1949 | - | local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
1949 | + | local sine = 0 |
1950 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30)) |
1950 | + | local SINE = 0 |
1951 | - | c1.Material = "Neon" |
1951 | + | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
1952 | - | local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
1952 | + | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
1953 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
1953 | + | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
1954 | - | c2.Material = "Neon" |
1954 | + | radian = math.rad |
1955 | - | c1.CFrame = circle1.CFrame |
1955 | + | random = math.random |
1956 | - | c2.CFrame = circle1.CFrame |
1956 | + | Player_Size = 1 |
1957 | - | local c3 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
1957 | + | Cos = math.cos |
1958 | - | mesh("SpecialMesh", c3, "Sphere", nil, nil, Vector3.new(30, 30, 30)) |
1958 | + | Sin = math.sin |
1959 | - | c3.Material = "Neon" |
1959 | + | Rad = math.rad |
1960 | - | local c4 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
1960 | + | rad = math.rad |
1961 | - | mesh("SpecialMesh", c4, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
1961 | + | MRANDOM = math.random |
1962 | - | c4.Material = "Neon" |
1962 | + | local enableddam = true |
1963 | - | c3.CFrame = circle2.CFrame |
1963 | + | local DAMAGEMULTIPLIER = 1 |
1964 | - | c4.CFrame = circle2.CFrame |
1964 | + | -- |
1965 | - | local c5 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
1965 | + | |
1966 | - | mesh("SpecialMesh", c5, "Sphere", nil, nil, Vector3.new(30, 30, 30)) |
1966 | + | local Effects = IT("Folder", Character) |
1967 | - | c5.Material = "Neon" |
1967 | + | |
1968 | - | local c6 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
1968 | + | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) |
1969 | - | mesh("SpecialMesh", c6, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
1969 | + | local cF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} |
1970 | - | c6.Material = "Neon" |
1970 | + | local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} |
1971 | - | c5.CFrame = circle3.CFrame |
1971 | + | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} |
1972 | - | c6.CFrame = circle3.CFrame |
1972 | + | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} |
1973 | - | for i, vhum in pairs(findCloseHumanoid(cnow1.p, 10)) do |
1973 | + | local R3 = {N=Region3.new} |
1974 | - | basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color) |
1974 | + | local De = S.Debris |
1975 | local WS = workspace | |
1976 | - | for i, vhum in pairs(findCloseHumanoid(cnow2.p, 10)) do |
1976 | + | local Lght = S.Lighting |
1977 | - | basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color) |
1977 | + | local RepS = S.ReplicatedStorage |
1978 | local IN = Instance.new | |
1979 | - | for i, vhum in pairs(findCloseHumanoid(cnow3.p, 10)) do |
1979 | + | local Plrs = S.Players |
1980 | - | basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color) |
1980 | + | local FXFolder = script:FindFirstChild'Effects' |
1981 | local Alpha = .3 | |
1982 | - | thread(function() |
1982 | + | |
1983 | - | local gt = { |
1983 | + | local Booleans = { |
1984 | - | g11, |
1984 | + | CamFollow = true, |
1985 | - | g12, |
1985 | + | GyroUse = true |
1986 | - | g21, |
1986 | + | } |
1987 | - | g22, |
1987 | + | |
1988 | - | g31, |
1988 | + | function lerp(object, newCFrame, alpha) |
1989 | - | g32 |
1989 | + | return object:lerp(newCFrame, alpha) |
1990 | - | } |
1990 | + | |
1991 | - | local ct = { |
1991 | + | |
1992 | - | c1, |
1992 | + | local Directer = Inst("BodyGyro", root) |
1993 | - | c2, |
1993 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
1994 | - | c3, |
1994 | + | Directer.P = 600000 |
1995 | - | c4, |
1995 | + | local CPart = Inst("Part") |
1996 | - | c5, |
1996 | + | CPart.Anchored = true |
1997 | - | c6 |
1997 | + | CPart.CanCollide = false |
1998 | - | } |
1998 | + | CPart.Locked = true |
1999 | - | local cnowt = { |
1999 | + | CPart.Transparency = 1 |
2000 | - | circle1.CFrame, |
2000 | + | |
2001 | - | circle1.CFrame, |
2001 | + | local rainbowmode = false |
2002 | - | circle2.CFrame, |
2002 | + | local chaosmode = false |
2003 | - | circle2.CFrame, |
2003 | + | local duringend = false |
2004 | - | circle2.CFrame, |
2004 | + | local RuinMode = 1 |
2005 | - | circle3.CFrame |
2005 | + | |
2006 | - | } |
2006 | + | local kan = Instance.new("Sound",char) |
2007 | - | for it = 0, 1, 0.05 do |
2007 | + | kan.Volume = 1.25 |
2008 | - | swait() |
2008 | + | kan.TimePosition = 0 |
2009 | - | ncount = ncount + 1 |
2009 | + | kan.PlaybackSpeed = 1 |
2010 | - | for i, v in pairs(gt) do |
2010 | + | kan.Pitch = 1.01 |
2011 | - | v.ImageTransparency = it |
2011 | + | kan.SoundId = "rbxassetid://901719740" |
2012 | kan.Name = "wreckeda" | |
2013 | - | for i, v in pairs(ct) do |
2013 | + | kan.Looped = true |
2014 | - | v.Transparency = it |
2014 | + | kan:Play() |
2015 | - | v.Size = Vector3.new(0.2 + -it / 10, 0.2 + it / 2, 0.2 + -it / 10) |
2015 | + | |
2016 | - | v.CFrame = cnowt[i] |
2016 | + | |
2017 | local cp="901719740" | |
2018 | local currentThemePlaying = kan.SoundId | |
2019 | - | for i, v in pairs(ct) do |
2019 | + | local currentPitch = kan.Pitch |
2020 | - | v:Destroy() |
2020 | + | local currentVol = kan.Volume |
2021 | function newTheme(ID,timepos,pitch,vol) | |
2022 | - | circle1:Destroy() |
2022 | + | local kanz = kan |
2023 | - | circle2:Destroy() |
2023 | + | --kanz:Stop() |
2024 | - | circle3:Destroy() |
2024 | + | kanz.Volume = vol |
2025 | --kanz.TimePosition = timepos | |
2026 | kanz.PlaybackSpeed = pitch | |
2027 | kanz.Pitch = pitch | |
2028 | - | playAnimationFromTable(CFrame.new(0, 0.975914955, -0.0476913452, -1, 0, -8.74227766E-8, -8.60948788E-8, -0.173648715, 0.984810591, -1.51808521E-8, 0.984810591, 0.173648715), CFrame.new(0, -0.5, -0.5, -1, 8.74227766E-8, 0, 3.55580667E-8, 0.406736851, 0.913545907, 7.98647193E-8, 0.913545907, -0.406736851), CFrame.new(1.3, 0.339119911, 0.307365417, -0.444017261, -0.817721784, -0.366305858, -0.0476444066, 0.429784417, -0.901674747, 0.894751847, -0.382906735, -0.229792058), CFrame.new(-1.3, 0.361585617, 0.284931183, 0.59167707, 0.805755556, 0.0261314809, -0.64509213, 0.453764558, 0.614788115, 0.483507991, -0.380612522, 0.788266718), CFrame.new(1, -0.599855423, -0.41488266, -4.37113883E-8, 0, 1, 0.309019566, 0.951062918, 1.3507675E-8, -0.951062918, 0.309019566, -4.15722816E-8), CFrame.new(-1, -1.00336361, 0.013759613, -4.37113883E-8, 0, -1, 0.27563867, 0.961264968, -1.2048547E-8, 0.961264968, -0.27563867, -4.20182289E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3) |
2028 | + | kanz.SoundId = "rbxassetid://"..ID |
2029 | cp=ID | |
2030 | - | attacking.Value = false |
2030 | + | kanz.Name = "wrecked" |
2031 | kanz.Looped = true | |
2032 | - | counter = 0 |
2032 | + | currentThemePlaying = kanz.SoundId |
2033 | - | uis.InputBegan:connect(function(key, Global) |
2033 | + | currentVol = kanz.Volume |
2034 | - | if Global then |
2034 | + | currentPitch = kanz.Pitch |
2035 | - | return |
2035 | + | --kanz:Play() |
2036 | --coroutine.resume(coroutine.create(function() | |
2037 | - | if attacking.Value == true then |
2037 | + | --wait(0.05) |
2038 | - | return |
2038 | + | --end)) |
2039 | end | |
2040 | - | if stunnedVal.Value == true then |
2040 | + | |
2041 | - | return |
2041 | + | |
2042 | function newThemeCust(ID,timepos,pitch,vol) | |
2043 | - | if key.UserInputType == Enum.UserInputType.MouseButton1 then |
2043 | + | local kanz = kan |
2044 | - | if humanoid.Health <= 0 then |
2044 | + | kanz:Stop() |
2045 | - | return |
2045 | + | kanz.Volume = vol |
2046 | kanz.TimePosition = timepos | |
2047 | - | if attacking.Value == true then |
2047 | + | kanz.PlaybackSpeed = pitch |
2048 | - | return |
2048 | + | kanz.Pitch = pitch |
2049 | kanz.SoundId = "rbxassetid://"..ID | |
2050 | - | if counter == 0 then |
2050 | + | cp=ID |
2051 | - | attackone() |
2051 | + | kanz.Name = "wrecked" |
2052 | - | counter = 1 |
2052 | + | kanz.Looped = true |
2053 | - | elseif counter == 1 then |
2053 | + | currentThemePlaying = kanz.SoundId |
2054 | - | attacktwo() |
2054 | + | currentVol = kanz.Volume |
2055 | - | counter = 2 |
2055 | + | currentPitch = kanz.Pitch |
2056 | - | elseif counter == 2 then |
2056 | + | kanz:Play() |
2057 | - | attackthree() |
2057 | + | |
2058 | - | counter = 0 |
2058 | + | wait(0.05) |
2059 | end)) | |
2060 | end | |
2061 | - | local function YOURETOOSLOW() |
2061 | + | |
2062 | - | local damagepart = Instance.new("Part", Effects) |
2062 | + | local mutedtog = false |
2063 | - | damagepart.Transparency = 1 |
2063 | + | |
2064 | - | damagepart.Anchored = true |
2064 | + | function CameraEnshaking(Length,Intensity) |
2065 | - | damagepart.CanCollide = false |
2065 | + | |
2066 | - | damagepart.Size = Vector3.new(1, 1, 1) |
2066 | + | local intensity = 1*Intensity |
2067 | - | damagepart.Name = "DamagePart" |
2067 | + | local rotM = 0.01*Intensity |
2068 | - | damagepart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 0) |
2068 | + | for i = 0, Length, 0.1 do |
2069 | - | local g = Instance.new("BillboardGui", damagepart) |
2069 | + | swait() |
2070 | - | g.Enabled = true |
2070 | + | intensity = intensity - 0.05*Intensity/Length |
2071 | - | g.Adornee = damagepart |
2071 | + | rotM = rotM - 0.0005*Intensity/Length |
2072 | - | g.Size = UDim2.new(6, 0, 5, 0) |
2072 | + | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
2073 | - | g.ExtentsOffset = Vector3.new(0, 0, 0) |
2073 | + | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) |
2074 | - | g.StudsOffset = Vector3.new(0, 0, 0) |
2074 | + | |
2075 | - | local t = Instance.new("TextLabel", g) |
2075 | + | Humanoid.CameraOffset = Vec3(0, 0, 0) |
2076 | - | t.BackgroundTransparency = 1 |
2076 | + | |
2077 | - | t.Font = "SourceSansBold" |
2077 | + | |
2078 | - | t.FontSize = "Size24" |
2078 | + | CamShake=function(Part,Distan,Power,Times) |
2079 | - | local insults = {} |
2079 | + | local de=Part.Position |
2080 | - | if twistedmode == false then |
2080 | + | for i,v in pairs(workspace:children()) do |
2081 | - | insults = { |
2081 | + | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
2082 | - | "What lies ahead could be dangerous.", |
2082 | + | for _,c in pairs(v:children()) do |
2083 | - | "And who might you be?", |
2083 | + | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then |
2084 | - | "Brilliant.", |
2084 | + | local Noob=v.Humanoid |
2085 | - | "Care for a tale?", |
2085 | + | if Noob~=nil then |
2086 | - | "Sigh.", |
2086 | + | |
2087 | - | "And then there was one.", |
2087 | + | FV = Instance.new("BoolValue", Noob) |
2088 | - | "Hurry, it's past your curfew.", |
2088 | + | FV.Name = "CameraShake" |
2089 | - | "Here's more about the author.", |
2089 | + | for ShakeNum=1,Times do |
2090 | - | "Forgot your reading glasses?" |
2090 | + | swait() |
2091 | local ef=Power | |
2092 | if ef>=1 then | |
2093 | - | insults = { |
2093 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
2094 | - | "Pity. I have to destroy you.", |
2094 | + | else |
2095 | - | "You are nothing!", |
2095 | + | ef=Power*10 |
2096 | - | "Who are you again?", |
2096 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
2097 | - | "Haven't you heard of nightmares?", |
2097 | + | end |
2098 | - | "Mindless scum. The lot of you!", |
2098 | + | |
2099 | - | "Only a fool would challenge me", |
2099 | + | Humanoid.CameraOffset = Vector3.new(0,0,0) |
2100 | - | "Come out here!", |
2100 | + | FV:Destroy() |
2101 | - | "Tough break, huh?", |
2101 | + | |
2102 | - | "Ugh.", |
2102 | + | CameraShake(Times, Power, Noob) |
2103 | - | "Did the snarbolax get ya?", |
2103 | + | |
2104 | - | "You'll fight Vannaduke like this?" |
2104 | + | |
2105 | end | |
2106 | end | |
2107 | - | t.Text = insults[math.random(1, #insults)] |
2107 | + | |
2108 | - | t.Size = UDim2.new(1, 0, 1, 0) |
2108 | + | |
2109 | - | t.TextStrokeTransparency = 0 |
2109 | + | |
2110 | - | t.TextTransparency = 0 |
2110 | + | local toggleTag = true |
2111 | - | t.TextScaled = true |
2111 | + | local bilguit = Instance.new("BillboardGui", hed) |
2112 | - | t.TextWrapped = true |
2112 | + | bilguit.Adornee = nil |
2113 | - | t.TextXAlignment = "Center" |
2113 | + | bilguit.Name = "ModeName" |
2114 | - | t.TextYAlignment = "Center" |
2114 | + | bilguit.Size = UDim2.new(4, 0, 1.2, 0) |
2115 | - | if twistedmode == false then |
2115 | + | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
2116 | - | t.TextColor3 = BrickColor.new("Burlap").Color |
2116 | + | local modet = Instance.new("TextLabel", bilguit) |
2117 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
2118 | - | t.TextColor3 = BrickColor.new("Dark indigo").Color |
2118 | + | modet.FontSize = "Size8" |
2119 | - | t.TextStrokeColor3 = Color3.fromRGB(243, 242, 242) |
2119 | + | modet.TextScaled = true |
2120 | modet.TextTransparency = 0 | |
2121 | modet.BackgroundTransparency = 1 | |
2122 | - | for i = 1, 50 do |
2122 | + | modet.TextTransparency = 0 |
2123 | - | game:GetService("RunService").Heartbeat:wait() |
2123 | + | modet.TextStrokeTransparency = 0 |
2124 | - | local sinewave = math.sin(i / 500) * 4 |
2124 | + | modet.Font = "Code" |
2125 | - | damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0)) |
2125 | + | modet.TextStrokeColor3 = Color3.new(0,1,1) |
2126 | - | t.TextTransparency = t.TextTransparency + 0.02 |
2126 | + | modet.TextColor3 = Color3.new(0,0,0) |
2127 | - | t.TextTransparency = t.TextStrokeTransparency + 0.02 |
2127 | + | modet.Text = "MIDNIGHT" |
2128 | ||
2129 | - | damagepart:Destroy() |
2129 | + | |
2130 | - | end), t) |
2130 | + | function chatfunc(text,color,typet,font,timeex) |
2131 | local chat = coroutine.wrap(function() | |
2132 | - | if key.KeyCode == Enum.KeyCode.T then |
2132 | + | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
2133 | - | if Anim ~= "Idle" or attacking.Value == true then |
2133 | + | Character:FindFirstChild("TalkingBillBoard"):destroy() |
2134 | - | return |
2134 | + | |
2135 | local naeeym2 = Instance.new("BillboardGui",Character) | |
2136 | - | if taunting then |
2136 | + | naeeym2.Size = UDim2.new(0,100,0,40) |
2137 | - | return |
2137 | + | naeeym2.StudsOffset = Vector3.new(0,3,0) |
2138 | naeeym2.Adornee = Character.Head | |
2139 | - | taunting = true |
2139 | + | naeeym2.Name = "TalkingBillBoard" |
2140 | - | attacking.Value = true |
2140 | + | local tecks2 = Instance.new("TextLabel",naeeym2) |
2141 | - | local pitchchange = math.random(0.8, 1) |
2141 | + | tecks2.BackgroundTransparency = 1 |
2142 | - | sound(320557563, char.Head, 0.5, 6, 0.9) |
2142 | + | tecks2.BorderSizePixel = 0 |
2143 | - | sound(315743331, char.Head, 0.4, 6, pitchchange) |
2143 | + | tecks2.Text = "" |
2144 | - | for i = 0, 1, 0.1 do |
2144 | + | tecks2.Font = font |
2145 | - | swait() |
2145 | + | tecks2.TextSize = 30 |
2146 | - | playAnimationFromTable(CFrame.new(0.0437469482, 1.02474928, 0.149139404, -0.983364522, 0.159183815, -0.0874929279, -0.0345598571, 0.308912098, 0.950462461, 0.178325921, 0.937674582, -0.298271805), CFrame.new(0, 0, 0, -0.99999994, 8.94069672E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.94069672E-8, 0.99999994, -4.37113847E-8) * CFrame.Angles(0, 0, math.rad(10)), CFrame.new(1.29335022, 0.572706223, 0.185798645, 0.915188551, -0.256768167, -0.310644507, 0.368445188, 0.845412374, 0.386686057, 0.163333893, -0.468346149, 0.86831665), CFrame.new(-1.30834198, 0.386802197, -0.150260925, -0.937473297, -0.346779048, 0.029810451, -0.186818883, 0.573605776, 0.797544599, -0.293670237, 0.742110431, -0.602522969), CFrame.new(1.02751923, -0.96768856, 8.39233398E-5, -0.00121751428, -0.0697458833, 0.997563481, 0.0174101256, 0.997412682, 0.0697564334, -0.999847054, 0.0174526293, -2.98023224E-8), CFrame.new(-0.948799133, -1.05013168, 0.0460891724, 0.173621789, 0.00303079421, -0.98480773, -0.0174536332, 0.999847829, 7.62925612E-10, 0.98465836, 0.0171884876, 0.173648134), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2146 | + | tecks2.TextStrokeTransparency = 0 |
2147 | - | if stunnedVal.Value == true then |
2147 | + | tecks2.TextColor3 = color |
2148 | - | taunting = false |
2148 | + | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
2149 | - | attacking.Value = false |
2149 | + | tecks2.Size = UDim2.new(1,0,0.5,0) |
2150 | - | return |
2150 | + | local tecks3 = Instance.new("TextLabel",naeeym2) |
2151 | tecks3.BackgroundTransparency = 1 | |
2152 | tecks3.BorderSizePixel = 0 | |
2153 | - | YOURETOOSLOW() |
2153 | + | tecks3.Text = "" |
2154 | - | for i = 0, 1, 0.05 do |
2154 | + | tecks3.Font = font |
2155 | - | swait() |
2155 | + | tecks3.TextSize = 30 |
2156 | - | playAnimationFromTable(CFrame.new(-0.0565567017, 1.00966501, 0.0799484253, -0.978587091, 0.171958208, 0.113127202, 0.137819007, 0.139172599, 0.980630875, 0.152883306, 0.97522372, -0.159891605), CFrame.new(0, 0, 0, -0.99999994, 8.94069672E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.94069672E-8, 0.99999994, -4.37113847E-8) * CFrame.Angles(0, 0, math.rad(-10)), CFrame.new(1.40788269, 0.454717398, 0.212509155, 0.950121403, -0.0277368799, -0.310644507, 0.152977049, 0.909434974, 0.386686087, 0.271785438, -0.414920211, 0.86831665), CFrame.new(-1.4509201, 0.919949532, -0.0151138306, -0.90630883, 0.422616482, 4.47034836E-6, -0.354439527, -0.760099351, -0.544631541, -0.230166435, -0.493606567, 0.838675439), CFrame.new(1.04504395, -0.969967008, 0.0113601685, 0.00486589968, -0.0695865601, 0.997563899, -0.0695865378, 0.995134234, 0.0697564557, -0.997563779, -0.0697564706, -4.47034836E-8), CFrame.new(-0.942367554, -1.05545759, 0.0826034546, 0.172696695, 0.0181511696, -0.984806657, -0.10452839, 0.994521916, 4.56908111E-9, 0.97941184, 0.102940395, 0.17364794), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2156 | + | tecks3.TextStrokeTransparency = 0 |
2157 | - | if stunnedVal.Value == true then |
2157 | + | if typet == "Inverted" then |
2158 | - | taunting = false |
2158 | + | tecks3.TextColor3 = Color3.new(0,0,0) |
2159 | - | attacking.Value = false |
2159 | + | tecks3.TextStrokeColor3 = color |
2160 | - | return |
2160 | + | elseif typet == "Normal" then |
2161 | tecks3.TextColor3 = color | |
2162 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
2163 | - | taunting = false |
2163 | + | |
2164 | - | attacking.Value = false |
2164 | + | tecks3.Size = UDim2.new(1,0,0.5,0) |
2165 | coroutine.resume(coroutine.create(function() | |
2166 | - | function lecture() |
2166 | + | while true do |
2167 | - | attacking.Value = true |
2167 | + | swait(1) |
2168 | - | charStats.Speed.Value = charStats.Speed.Value - 10 |
2168 | + | if chaosmode == true then |
2169 | - | local lecturecircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Mint").Color) |
2169 | + | tecks2.TextColor3 = BrickColor.random().Color |
2170 | - | local g1 = circlet[1] |
2170 | + | tecks3.TextStrokeColor3 = BrickColor.random().Color |
2171 | - | local g2 = circlet[2] |
2171 | + | |
2172 | - | g1.ImageTransparency = 1 |
2172 | + | |
2173 | - | g2.ImageTransparency = 1 |
2173 | + | |
2174 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, 0) |
2174 | + | modet.TextTransparency = modet.TextTransparency + 1 |
2175 | - | local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2175 | + | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 |
2176 | - | local ncount = 0 |
2176 | + | for i = 0, 74*timeex do |
2177 | - | sound(320557563, RootPart, 1, 6, 0.9) |
2177 | + | swait() |
2178 | - | sound(588734767, RootPart, 0.5, 6, 1.1) |
2178 | + | modet.TextTransparency = 1 |
2179 | - | for i = 0, 2, 0.05 do |
2179 | + | modet.TextStrokeTransparency = 1 |
2180 | - | swait() |
2180 | + | tecks2.Text = text |
2181 | - | ncount = ncount + 1 |
2181 | + | tecks3.Text = text |
2182 | - | g1.ImageTransparency = 1 - i / 1.5 |
2182 | + | |
2183 | - | g2.ImageTransparency = 1 - i / 1.5 |
2183 | + | local randomrot = math.random(1,2) |
2184 | - | lecturecircle.Size = Vector3.new(0.2 + lecture_range * i, 0.2, 0.2 + lecture_range * i) |
2184 | + | if randomrot == 1 then |
2185 | - | lecturecircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount * 1), 0) |
2185 | + | for i = 1, 50 do |
2186 | - | for i = 1, 2 do |
2186 | + | swait() |
2187 | - | local mb = MagicBlock(BrickColor.new("Bright green"), RootPart.CFrame * CFrame.new(math.random(-lecture_range, lecture_range), -3 + math.random(-3, 6), math.random(-lecture_range, lecture_range)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2187 | + | tecks2.Text = text |
2188 | - | if i == 2 then |
2188 | + | tecks3.Text = text |
2189 | - | mb.BrickColor = BrickColor.new("Mint") |
2189 | + | modet.TextTransparency = modet.TextTransparency - .02 |
2190 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
2191 | - | mb.Material = "Neon" |
2191 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
2192 | - | table.insert(partEffects, { |
2192 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
2193 | - | mb, |
2193 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
2194 | - | "Block2", |
2194 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
2195 | - | 0.01, |
2195 | + | |
2196 | - | 0, |
2196 | + | elseif randomrot == 2 then |
2197 | - | 0, |
2197 | + | for i = 1, 50 do |
2198 | - | 0, |
2198 | + | swait() |
2199 | - | mb.Mesh |
2199 | + | tecks2.Text = text |
2200 | - | }) |
2200 | + | tecks3.Text = text |
2201 | modet.TextTransparency = modet.TextTransparency - .02 | |
2202 | - | playAnimationFromTable(CFrame.new(0.0179138184, 1.02713346, 0.0941677094, -0.979416609, -0.201846391, 8.0537796E-4, -0.0648429543, 0.31840983, 0.945733011, -0.191149265, 0.926214457, -0.324944228), CFrame.new(0, 0, 0, -0.866024613, -0.500000954, 2.18557403E-8, 3.82137093E-15, 4.37113883E-8, 1, -0.500000954, 0.866024613, -3.78551341E-8), CFrame.new(1.27713776, 0.332588673, -0.503391266, 0.298858047, 0.640866458, -0.707092702, -0.928896606, 0.365177453, -0.061633762, 0.218711674, 0.675234199, 0.704436243), CFrame.new(-0.9246521, 0.368628383, -0.509113312, 0.828637242, -0.491167367, 0.268542558, 0.0129734641, -0.462744266, -0.886397004, 0.559635997, 0.737985015, -0.377074897), CFrame.new(1.00000763, -1.00000012, -1.90734863E-6, -2.98023224E-8, 0, 0.999999583, 0, 0.999999881, 0, -0.999999583, 0, -2.98023224E-8), CFrame.new(-0.933013916, -0.999999881, 0.25, 0.500003159, 0, -0.866028249, 0, 1, 0, 0.866028249, 0, 0.500003159), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2202 | + | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
2203 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
2204 | - | sound(235097661, RootPart, 1, 6, 0.9) |
2204 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
2205 | - | sound(588736245, RootPart, 0.8, 6, 0.9) |
2205 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
2206 | - | sound(588718963, RootPart, 1, 6, 0.9) |
2206 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
2207 | - | basic.Heal(Effects, humanoid, lecture_heal, BrickColor.new("Mint").Color) |
2207 | + | |
2208 | - | basic.Buff(Effects, humanoid, BrickColor.new("Mint").Color, "Attack", 0.2, lecture_duration) |
2208 | + | |
2209 | - | basic.Buff(Effects, humanoid, BrickColor.new("Mint").Color, "Defense", 0.2, lecture_duration) |
2209 | + | modet.TextTransparency = 0 |
2210 | - | local function lectureheal(vhum) |
2210 | + | modet.TextStrokeTransparency = 0 |
2211 | - | basic.Heal(Effects, vhum, lecture_heal, BrickColor.new("Mint").Color) |
2211 | + | if toggleTag == false then |
2212 | - | basic.Buff(Effects, vhum, BrickColor.new("Mint").Color, "Attack", 0.2, lecture_duration) |
2212 | + | modet.TextTransparency = 1 |
2213 | - | basic.Buff(Effects, vhum, BrickColor.new("Mint").Color, "Defense", 0.2, lecture_duration) |
2213 | + | modet.TextStrokeTransparency = 1 |
2214 | end | |
2215 | - | for i, vhum in pairs(findCloseHumanoid(RootPart.Position, lecture_range)) do |
2215 | + | naeeym2:Destroy() |
2216 | - | lectureheal(vhum) |
2216 | + | |
2217 | chat() | |
2218 | - | thread(function() |
2218 | + | |
2219 | - | for i = 0, 1, 0.01 do |
2219 | + | |
2220 | function bosschatfunc(text,color,watval) | |
2221 | - | g1.ImageTransparency = i |
2221 | + | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
2222 | - | g2.ImageTransparency = i |
2222 | + | |
2223 | - | lecturecircle.CFrame = cnow * CFrame.new(0, 1 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
2223 | + | if v.PlayerGui:FindFirstChild("Dialog")~= nil then |
2224 | v.PlayerGui:FindFirstChild("Dialog"):destroy() | |
2225 | - | lecturecircle:Destroy() |
2225 | + | |
2226 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
2227 | - | for i = 0, 1.5, 0.05 do |
2227 | + | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) |
2228 | - | swait() |
2228 | + | scrg.Name = "Dialog" |
2229 | - | playAnimationFromTable(CFrame.new(0.0216598511, 1.0008769, -0.0204467773, -0.867234588, -0.496022671, -0.0433111116, -0.0172627512, -0.0569801852, 0.998229146, -0.497608989, 0.866446555, 0.0408527702), CFrame.new(7.62939453E-6, -0.0500004292, 1.90734863E-6, -0.867234528, 0.497609079, 0.0172626413, -8.51558216E-5, -0.0348185487, 0.999393463, 0.497908443, 0.866707146, 0.0302382186), CFrame.new(1.35210419, 0.893081248, -0.493759155, 0.328532279, -0.403733701, -0.853858411, -0.776880443, -0.629646719, -0.00119540398, -0.537146807, 0.663738549, -0.520512164), CFrame.new(-1.49023438, 0.501355171, 0.184288025, 0.95356679, 0.255138934, 0.160097241, -0.292573959, 0.910908341, 0.29094255, -0.0716036856, -0.324270278, 0.943258882), CFrame.new(0.974266052, -0.969790161, 0.117904663, 0.497607976, -0.0697501153, 0.864598036, 0.00465848856, 0.99696213, 0.0777472407, -0.867394388, -0.0346596316, 0.496421278), CFrame.new(-0.966049194, -0.969308555, -0.0034942627, -0.00121700764, 0.0697792545, -0.997570336, 0.0348785371, 0.996958375, 0.0696938932, 0.999399185, -0.0347083919, -0.00364685059), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2229 | + | local txtlb = Instance.new("TextLabel",scrg) |
2230 | txtlb.Text = "" | |
2231 | - | charStats.Speed.Value = charStats.Speed.Value + 10 |
2231 | + | txtlb.Font = "Bodoni" |
2232 | - | attacking.Value = false |
2232 | + | txtlb.TextColor3 = Color3.new(0,0,0) |
2233 | txtlb.TextStrokeTransparency = 0 | |
2234 | - | function climax() |
2234 | + | txtlb.BackgroundTransparency = 0.75 |
2235 | - | attacking.Value = true |
2235 | + | txtlb.BackgroundColor3 = Color3.new(0,0,0) |
2236 | - | speed.Value = speed.Value - 10 |
2236 | + | txtlb.TextStrokeColor3 = color |
2237 | - | local fistcircle, circlet = newMagicCircle(Effects, 50, BrickColor.new("Fog").Color) |
2237 | + | txtlb.TextScaled = true |
2238 | - | local g1 = circlet[1] |
2238 | + | txtlb.Size = UDim2.new(1,0,0.25,0) |
2239 | - | local g2 = circlet[2] |
2239 | + | txtlb.TextXAlignment = "Left" |
2240 | - | g1.ImageTransparency = 1 |
2240 | + | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) |
2241 | - | g2.ImageTransparency = 1 |
2241 | + | local txtlb2 = Instance.new("TextLabel",scrg) |
2242 | - | local ncount = 0 |
2242 | + | txtlb2.Text = "CYTUS:" |
2243 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, -30) |
2243 | + | txtlb2.Font = "Arcade" |
2244 | - | local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2244 | + | txtlb2.TextColor3 = Color3.new(0,0,0) |
2245 | - | fistcircle.CFrame = cnow |
2245 | + | txtlb2.TextStrokeTransparency = 0 |
2246 | - | sound(320557563, RootPart, 1, 6, 0.9) |
2246 | + | txtlb2.BackgroundTransparency = 1 |
2247 | - | sound(588738198, RootPart, 0.4, 6, 0.9) |
2247 | + | txtlb2.TextStrokeColor3 = color |
2248 | - | sound(588717600, RootPart, 0.5, 6, 0.9) |
2248 | + | txtlb2.TextSize = 40 |
2249 | - | for i = 0, 1, 0.04 do |
2249 | + | txtlb2.Size = UDim2.new(1,0,0.5,0) |
2250 | - | swait() |
2250 | + | txtlb2.TextXAlignment = "Left" |
2251 | - | cfr = RootPart.CFrame * CFrame.new(0, 0, -30) |
2251 | + | txtlb2.Position = UDim2.new(0,0,1,0) |
2252 | - | cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2252 | + | local fvalen = 0.55 |
2253 | - | ncount = ncount + 1 |
2253 | + | local fval = -0.49 |
2254 | - | g1.ImageTransparency = 1 - i |
2254 | + | |
2255 | - | g2.ImageTransparency = 1 - i |
2255 | + | while true do |
2256 | - | fistcircle.CFrame = clerp(fistcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.1) |
2256 | + | swait() |
2257 | - | playAnimationFromTable(CFrame.new(0.0557937622, 1.04921913, 0.00912475586, -0.936115503, 0.342024356, -0.0819005072, 0.00400094409, 0.243216246, 0.969963789, 0.351670951, 0.90767014, -0.229046851), CFrame.new(0, -0.8, 0, -0.939692974, -0.342019707, 1.83530044E-8, -0.116977915, 0.321394742, 0.939692318, -0.321393222, 0.883022189, -0.342021018), CFrame.new(1.49622345, 0.485650063, -7.36236572E-4, 0.965923131, -0.254895419, 0.044968307, 0.243222922, 0.834492624, -0.494446218, 0.0885098577, 0.488538891, 0.868040204), CFrame.new(-1.42682648, 0.480454445, -0.0511837006, 0.913287044, 0.403455853, -0.0560210645, -0.342899859, 0.687294841, -0.640351355, -0.219850853, 0.604034603, 0.766031981), CFrame.new(1.10812378, -1.04271126, 0.0382232666, 1.07288361E-6, 3.7252903E-7, 1.00000381, -0.258819729, 0.965921938, 5.21540642E-8, -0.965929031, -0.25881958, -1.16229057E-6), CFrame.new(-1.06204987, -0.338639259, -0.615785599, 0.258823186, 0.167730257, -0.951250613, -6.2584877E-7, 0.984808147, 0.173647121, 0.965925097, -0.0449432731, 0.254891276), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.1, 0.1, 0.2) |
2257 | + | if chaosmode == true then |
2258 | txtlb.Rotation = math.random(-1,1) | |
2259 | - | sound(588707205, RootPart, 0.7, 6, 0.3) |
2259 | + | txtlb2.Rotation = math.random(-1,1) |
2260 | - | sound(338594626, RootPart, 1, 6, 1) |
2260 | + | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
2261 | - | sound(240517975, RootPart, 1.2, 6, 1) |
2261 | + | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
2262 | - | local fp = newPart(Effects, BrickColor.new("Baby blue"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2262 | + | txtlb.TextStrokeColor3 = BrickColor.random().Color |
2263 | - | mesh("SpecialMesh", fp, "FileMesh", "90718752", nil, Vector3.new(75, 72, 75)) |
2263 | + | txtlb2.TextStrokeColor3 = BrickColor.random().Color |
2264 | - | thread(function() |
2264 | + | |
2265 | - | for i = 0, 1, 0.03 do |
2265 | + | |
2266 | - | fp.CFrame = cnow * CFrame.new(0, -15 + 26 * i, 0) * CFrame.Angles(0, 0, math.rad(180)) |
2266 | + | |
2267 | coroutine.resume(coroutine.create(function() | |
2268 | while true do | |
2269 | swait() | |
2270 | - | thread(function() |
2270 | + | if scrg.Parent ~= nil then |
2271 | - | local nncount = 0 |
2271 | + | fvalen = fvalen - 0.0001 |
2272 | - | for i = 0, 1, 0.01 do |
2272 | + | elseif scrg.Parent == nil then |
2273 | - | if nncount % 10 == 0 and nncount < 100 then |
2273 | + | break |
2274 | - | do |
2274 | + | |
2275 | - | local cp1 = newPart(Effects, BrickColor.new("Baby blue"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2275 | + | |
2276 | - | mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10)) |
2276 | + | |
2277 | - | cp1.CFrame = cnow |
2277 | + | local flol = 1.75 |
2278 | - | thread(function() |
2278 | + | local flil = 1.6 |
2279 | - | table.insert(partEffects, { |
2279 | + | |
2280 | - | cp1, |
2280 | + | for i = 0, 9 do |
2281 | - | "Block2", |
2281 | + | |
2282 | - | 0.05, |
2282 | + | fval = fval + 0.05 |
2283 | - | 0, |
2283 | + | flol = flol - 0.1 |
2284 | - | 0, |
2284 | + | flil = flil - 0.1 |
2285 | - | 0, |
2285 | + | txtlb.Text = "" |
2286 | - | cp1.Mesh |
2286 | + | txtlb.Position = UDim2.new(0,0,flol,0) |
2287 | - | }) |
2287 | + | txtlb2.Position = UDim2.new(0,0,flil,0) |
2288 | - | for i = 1, 15 do |
2288 | + | |
2289 | - | swait() |
2289 | + | txtlb.Text = text |
2290 | - | cp1.CFrame = cnow * CFrame.Angles(0, math.rad(2 * i), 0) |
2290 | + | wait(watval) |
2291 | - | if cp1:findFirstChild("Mesh") then |
2291 | + | local valinc = 0 |
2292 | - | cp1.Mesh.Scale = cp1.Mesh.Scale + Vector3.new(2, -0.1, 2) |
2292 | + | for i = 0, 99 do |
2293 | - | end |
2293 | + | swait() |
2294 | valinc = valinc + 0.0001 | |
2295 | - | end) |
2295 | + | flol = flol + valinc |
2296 | flil = flil + valinc | |
2297 | - | elseif nncount % 10 == 4 and nncount < 100 then |
2297 | + | txtlb.Rotation = txtlb.Rotation + valinc*20 |
2298 | - | for i, vhum in pairs(findCloseHumanoid(cnow.p, 25)) do |
2298 | + | txtlb2.Rotation = txtlb2.Rotation - valinc*50 |
2299 | - | basic.Damage(Effects, vhum, math.random(climax_damage, clmx2), BrickColor.new("Baby blue").Color) |
2299 | + | txtlb.Position = UDim2.new(0,0,flol,0) |
2300 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
2301 | - | do |
2301 | + | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 |
2302 | - | local cp2 = newPart(Effects, BrickColor.new("Fog"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2302 | + | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 |
2303 | - | mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10)) |
2303 | + | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
2304 | - | cp2.CFrame = cnow |
2304 | + | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
2305 | - | thread(function() |
2305 | + | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 |
2306 | - | table.insert(partEffects, { |
2306 | + | |
2307 | - | cp2, |
2307 | + | scrg:Destroy() |
2308 | - | "Block2", |
2308 | + | |
2309 | - | 0.05, |
2309 | + | |
2310 | - | 0, |
2310 | + | |
2311 | - | 0, |
2311 | + | |
2312 | - | 0, |
2312 | + | |
2313 | - | cp2.Mesh |
2313 | + | |
2314 | - | }) |
2314 | + | |
2315 | - | for i = 1, 15 do |
2315 | + | local Create = LoadLibrary("RbxUtility").Create |
2316 | - | swait() |
2316 | + | |
2317 | - | cp2.CFrame = cnow * CFrame.Angles(0, math.rad(2 * i), 0) |
2317 | + | CFuncs = { |
2318 | - | if cp2:findFirstChild("Mesh") then |
2318 | + | ["Part"] = { |
2319 | - | cp2.Mesh.Scale = cp2.Mesh.Scale + Vector3.new(1, 0.1, 1) |
2319 | + | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
2320 | - | end |
2320 | + | local Part = Create("Part"){ |
2321 | Parent = Parent, | |
2322 | - | end) |
2322 | + | Reflectance = Reflectance, |
2323 | Transparency = Transparency, | |
2324 | CanCollide = false, | |
2325 | - | nncount = nncount + 1 |
2325 | + | Locked = true, |
2326 | - | fp.Transparency = i |
2326 | + | BrickColor = BrickColor.new(tostring(BColor)), |
2327 | - | g1.ImageTransparency = i |
2327 | + | Name = Name, |
2328 | - | g2.ImageTransparency = i |
2328 | + | Size = Size, |
2329 | - | fistcircle.CFrame = clerp(fistcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.1) |
2329 | + | Material = Material, |
2330 | } | |
2331 | RemoveOutlines(Part) | |
2332 | - | fp:Destroy() |
2332 | + | return Part |
2333 | - | fistcircle:Destroy() |
2333 | + | end; |
2334 | }; | |
2335 | - | for i = 0, 1, 0.05 do |
2335 | + | |
2336 | - | swait() |
2336 | + | ["Mesh"] = { |
2337 | - | playAnimationFromTable(CFrame.new(0, 1.01937675, 0.137823105, -1, 0, -8.74227766E-8, -8.40368841E-8, 0.275639653, 0.961269855, 2.40971829E-8, 0.961269855, -0.275639653), CFrame.new(0, -0.2, 0, -1, 8.74227766E-8, 0, -4.37116441E-8, -0.500002921, 0.866028607, 7.57106235E-8, 0.866028607, 0.500002921), CFrame.new(1.3999939, 1.12706375, 0.423408508, 1, 0, 0, 0, -0.978155375, 0.207913488, 0, -0.207913607, -0.978155911), CFrame.new(-1.3999939, 1.12706375, 0.423408508, 1, 0, 0, 0, -0.978155375, 0.207913488, 0, -0.207913607, -0.978155911), CFrame.new(1, -0.543029785, -0.882074356, -4.37113883E-8, 0, 1, -0.743151069, 0.669136167, -3.24841665E-8, -0.669136465, -0.74315089, -2.92488789E-8), CFrame.new(-1, -1.0230751, 0.00478363037, -4.37113883E-8, 0, -1, 0.438374817, 0.898801446, -1.91619716E-8, 0.898801625, -0.438374847, -3.9287869E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2337 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
2338 | local Msh = Create(Mesh){ | |
2339 | - | speed.Value = speed.Value + 10 |
2339 | + | Parent = Part, |
2340 | - | attacking.Value = false |
2340 | + | Offset = OffSet, |
2341 | Scale = Scale, | |
2342 | - | function storyteller() |
2342 | + | |
2343 | - | attacking.Value = true |
2343 | + | if Mesh == "SpecialMesh" then |
2344 | - | speed.Value = speed.Value - 0.5 |
2344 | + | Msh.MeshType = MeshType |
2345 | - | local ncount = 0 |
2345 | + | Msh.MeshId = MeshId |
2346 | - | local storycircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Persimmon").Color) |
2346 | + | |
2347 | - | local g1 = circlet[1] |
2347 | + | return Msh |
2348 | - | local g2 = circlet[2] |
2348 | + | end; |
2349 | - | g1.ImageTransparency = 1 |
2349 | + | }; |
2350 | - | g2.ImageTransparency = 1 |
2350 | + | |
2351 | - | local cnow = RootPart.CFrame * CFrame.new(0, -3, 0) |
2351 | + | ["Mesh"] = { |
2352 | - | local ncount = 0 |
2352 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
2353 | - | for i = 0, 8, 0.05 do |
2353 | + | local Msh = Create(Mesh){ |
2354 | - | swait() |
2354 | + | Parent = Part, |
2355 | - | cnow = CFrame.new((RootPart.CFrame * CFrame.new(0, -3, 0)).p) |
2355 | + | Offset = OffSet, |
2356 | - | g1.ImageTransparency = 1 - i |
2356 | + | Scale = Scale, |
2357 | - | g2.ImageTransparency = 1 - i |
2357 | + | |
2358 | - | if storycircle.Size.X <= 50 then |
2358 | + | if Mesh == "SpecialMesh" then |
2359 | - | storycircle.Size = Vector3.new(0.2 + 25 * i, 0.2, 0.2 + 25 * i) |
2359 | + | Msh.MeshType = MeshType |
2360 | Msh.MeshId = MeshId | |
2361 | - | for i = 1, 2 do |
2361 | + | |
2362 | - | local mb = MagicBlock(BrickColor.new("Persimmon"), RootPart.CFrame * CFrame.new(math.random(-35, 35), -3 + math.random(-3, 15), math.random(-35, 35)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2362 | + | return Msh |
2363 | - | if i == 2 then |
2363 | + | end; |
2364 | - | mb.BrickColor = BrickColor.new("Bright red") |
2364 | + | }; |
2365 | ||
2366 | - | mb.Material = "Neon" |
2366 | + | ["Weld"] = { |
2367 | - | table.insert(partEffects, { |
2367 | + | Create = function(Parent, Part0, Part1, C0, C1) |
2368 | - | mb, |
2368 | + | local Weld = Create("Weld"){ |
2369 | - | "Block3", |
2369 | + | Parent = Parent, |
2370 | - | 0.02, |
2370 | + | Part0 = Part0, |
2371 | - | 0.1, |
2371 | + | Part1 = Part1, |
2372 | - | 0.1, |
2372 | + | C0 = C0, |
2373 | - | 0.1, |
2373 | + | C1 = C1, |
2374 | - | mb.Mesh |
2374 | + | |
2375 | - | }) |
2375 | + | return Weld |
2376 | end; | |
2377 | - | if ncount % 5 == 0 then |
2377 | + | }; |
2378 | - | for i = 1, 2 do |
2378 | + | |
2379 | - | local rrange = storycircle.Size.X / 2 |
2379 | + | ["Sound"] = { |
2380 | - | local rpos = RootPart.CFrame * CFrame.new(math.random(-rrange, rrange), -3, math.random(-rrange, rrange)) |
2380 | + | Create = function(id, par, vol, pit) |
2381 | - | local c1 = newPart(Effects, BrickColor.new("Persimmon"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2381 | + | coroutine.resume(coroutine.create(function() |
2382 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(5, 5, 5)) |
2382 | + | local S = Create("Sound"){ |
2383 | - | c1.Material = "Neon" |
2383 | + | Volume = vol, |
2384 | - | local c2 = newPart(Effects, BrickColor.new("Bright red"), 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2384 | + | Name = "EffectSoundo", |
2385 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(5, 10, 10)) |
2385 | + | Pitch = pit or 1, |
2386 | - | c2.Material = "Neon" |
2386 | + | SoundId = id, |
2387 | - | c1.CFrame = rpos |
2387 | + | Parent = par or workspace, |
2388 | - | c2.CFrame = rpos |
2388 | + | } |
2389 | - | for i, vhum in pairs(findCloseHumanoid(rpos.p, 10)) do |
2389 | + | wait() |
2390 | - | basic.Damage(Effects, vhum, math.random(story_damage, strd2), BrickColor.new("Persimmon").Color) |
2390 | + | S:play() |
2391 | game:GetService("Debris"):AddItem(S, 10) | |
2392 | - | local rani = math.random(160, 300) |
2392 | + | end)) |
2393 | - | table.insert(partEffects, { |
2393 | + | end; |
2394 | - | c1, |
2394 | + | }; |
2395 | - | "Block2", |
2395 | + | |
2396 | - | 0.05, |
2396 | + | ["EchoSound"] = { |
2397 | - | 5, |
2397 | + | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) |
2398 | - | 0, |
2398 | + | coroutine.resume(coroutine.create(function() |
2399 | - | 5, |
2399 | + | local Sas = Create("Sound"){ |
2400 | - | c1.Mesh |
2400 | + | Volume = vol, |
2401 | - | }) |
2401 | + | Name = "EffectSoundo", |
2402 | - | table.insert(partEffects, { |
2402 | + | Pitch = pit or 1, |
2403 | - | c2, |
2403 | + | SoundId = id, |
2404 | - | "Block2", |
2404 | + | TimePosition = timepos, |
2405 | - | 0.05, |
2405 | + | Parent = par or workspace, |
2406 | - | -0.1, |
2406 | + | } |
2407 | - | rani / 15, |
2407 | + | local E = Create("EchoSoundEffect"){ |
2408 | - | -0.1, |
2408 | + | Delay = echodelay, |
2409 | - | c2.Mesh |
2409 | + | Name = "Echo", |
2410 | - | }) |
2410 | + | Feedback = fedb, |
2411 | - | local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part") |
2411 | + | DryLevel = dryl, |
2412 | - | soundpart.CFrame = c1.CFrame |
2412 | + | Parent = Sas, |
2413 | - | game.Debris:AddItem(soundpart, 6) |
2413 | + | } |
2414 | - | local pitchchange = math.random(0.5, 1) |
2414 | + | wait() |
2415 | - | sound(588733541, soundpart, 0.5, 6, 0.9) |
2415 | + | Sas:play() |
2416 | - | sound(588735945, soundpart, 1.3, 6, pitchchange) |
2416 | + | game:GetService("Debris"):AddItem(Sas, delays) |
2417 | end)) | |
2418 | end; | |
2419 | - | playAnimationFromTable(CFrame.new(0, 1.01936603, -0.0378189087, -1, 0, -8.74227766E-8, -8.40352001E-8, -0.275636524, 0.961250663, -2.40967886E-8, 0.961261749, 0.275635123), CFrame.Angles(0, math.rad(i * 180), 0) * CFrame.new(0, 0, 0, -1, 8.74227766E-8, 0, 3.82134891E-15, 4.37111396E-8, 0.999994278, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.43146515, 1.3123858, -0.0631752014, 0.990268052, -0.137058347, -0.0241671652, -0.139172703, -0.975217938, -0.171957806, 0, 0.173647746, -0.98480773), CFrame.new(-1.43147278, 1.3123858, -0.0631752014, 0.990268052, 0.137058347, 0.0241671652, 0.139172703, -0.975217938, -0.171957806, 0, 0.173647746, -0.98480773), CFrame.new(1, -0.999994278, 0, -4.37113883E-8, 0, 1, 0, 0.999994159, 0, -1, 0, -4.37113883E-8), CFrame.new(-1, -0.999994278, 0, -4.37113883E-8, 0, -1, 0, 0.999994159, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2419 | + | }; |
2420 | - | storycircle.CFrame = clerp(storycircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 1) |
2420 | + | |
2421 | - | ncount = ncount + 1 |
2421 | + | ["LongSound"] = { |
2422 | Create = function(id, par, vol, pit) | |
2423 | - | thread(function() |
2423 | + | coroutine.resume(coroutine.create(function() |
2424 | - | for i = 0, 1, 0.05 do |
2424 | + | local S = Create("Sound"){ |
2425 | Volume = vol, | |
2426 | - | g1.ImageTransparency = i |
2426 | + | Pitch = pit or 1, |
2427 | - | g2.ImageTransparency = i |
2427 | + | SoundId = id, |
2428 | Parent = par or workspace, | |
2429 | - | storycircle:Destroy() |
2429 | + | } |
2430 | wait() | |
2431 | - | speed.Value = speed.Value + 0.5 |
2431 | + | S:play() |
2432 | - | attacking.Value = false |
2432 | + | game:GetService("Debris"):AddItem(S, 60) |
2433 | end)) | |
2434 | - | function plottwist() |
2434 | + | end; |
2435 | - | attacking.Value = true |
2435 | + | }; |
2436 | - | speed.Value = speed.Value - 0.5 |
2436 | + | |
2437 | - | local twistcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Dark indigo").Color) |
2437 | + | ["ParticleEmitter"] = { |
2438 | - | local g1 = circlet[1] |
2438 | + | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
2439 | - | local g2 = circlet[2] |
2439 | + | local fp = Create("ParticleEmitter"){ |
2440 | - | g1.ImageTransparency = 1 |
2440 | + | Parent = Parent, |
2441 | - | g2.ImageTransparency = 1 |
2441 | + | Color = ColorSequence.new(Color1, Color2), |
2442 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, 0) |
2442 | + | LightEmission = LightEmission, |
2443 | - | local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2443 | + | Size = Size, |
2444 | - | local ncount = 0 |
2444 | + | Texture = Texture, |
2445 | - | twistcircle.CFrame = cnow |
2445 | + | Transparency = Transparency, |
2446 | - | TransitionTaunt("But then", BrickColor.new("Burlap").Color) |
2446 | + | ZOffset = ZOffset, |
2447 | - | sound(588697034, RootPart, 1, 6, 1.3) |
2447 | + | Acceleration = Accel, |
2448 | - | for i = 0, 3, 0.05 do |
2448 | + | Drag = Drag, |
2449 | - | swait() |
2449 | + | LockedToPart = LockedToPart, |
2450 | - | cfr = RootPart.CFrame * CFrame.new(0, 0, 0) |
2450 | + | VelocityInheritance = VelocityInheritance, |
2451 | - | cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2451 | + | EmissionDirection = EmissionDirection, |
2452 | - | g1.ImageTransparency = 1 - i |
2452 | + | Enabled = Enabled, |
2453 | - | g2.ImageTransparency = 1 - i |
2453 | + | Lifetime = LifeTime, |
2454 | - | twistcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount), 0) |
2454 | + | Rate = Rate, |
2455 | - | for i = 1, 2 do |
2455 | + | Rotation = Rotation, |
2456 | - | local mb = MagicBlock(BrickColor.new("Bright violet"), RootPart.CFrame * CFrame.new(math.random(-4, 4), -3 + math.random(-3, 6), math.random(-4, 4)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2456 | + | RotSpeed = RotSpeed, |
2457 | - | mb.Material = "Neon" |
2457 | + | Speed = Speed, |
2458 | - | if i % 2 == 0 then |
2458 | + | VelocitySpread = VelocitySpread, |
2459 | - | mb.BrickColor = BrickColor.new("Dark indigo") |
2459 | + | |
2460 | return fp | |
2461 | - | local moveleft = (RootPart.CFrame.p - mb.Position).unit |
2461 | + | end; |
2462 | - | table.insert(partEffects, { |
2462 | + | }; |
2463 | - | mb, |
2463 | + | |
2464 | - | "Block3", |
2464 | + | CreateTemplate = { |
2465 | - | 0.01, |
2465 | + | |
2466 | - | moveleft.X / 5, |
2466 | + | }; |
2467 | - | moveleft.Y / 5, |
2467 | + | } |
2468 | - | moveleft.Z / 5, |
2468 | + | |
2469 | - | mb.Mesh |
2469 | + | |
2470 | - | }) |
2470 | + | |
2471 | New = function(Object, Parent, Name, Data) | |
2472 | - | playAnimationFromTable(CFrame.new(0, 1.0019027, 0.0435771942, -1, 0, -8.74227766E-8, -8.70901005E-8, 0.0871559232, 0.996194661, 7.61941354E-9, 0.996194661, -0.0871559232), CFrame.Angles(0, math.rad(i * 240), 0) * CFrame.new(0, i * 1.5 / 3, 0, -1, 8.74227766E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.36698151, 0.550001979, -1.90734863E-6, 0.321399212, -0.866029441, -0.38302964, 0.556665957, 0.500005782, -0.663416743, 0.766046822, -2.10234589E-6, 0.642789721), CFrame.new(-1.29042053, 0.686791062, 1.90734863E-6, 0.286787361, 0.819148421, 0.496735334, -0.409578949, 0.573581636, -0.709406972, -0.866034746, 2.85046053E-6, 0.49999553), CFrame.new(1, -1.01519215, -0.173648834, -4.37113883E-8, 0, 1, -0.173649222, 0.984807611, -7.59044827E-9, -0.98480767, -0.173649222, -4.30473115E-8), CFrame.new(-1, -1.00000012, 0, -4.37113883E-8, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2472 | + | local Object = Instance.new(Object) |
2473 | - | ncount = ncount + 1 |
2473 | + | for Index, Value in pairs(Data or {}) do |
2474 | Object[Index] = Value | |
2475 | - | thread(function() |
2475 | + | |
2476 | - | for i = 0, 1, 0.01 do |
2476 | + | Object.Parent = Parent |
2477 | Object.Name = Name | |
2478 | - | g1.ImageTransparency = i |
2478 | + | return Object |
2479 | - | g2.ImageTransparency = i |
2479 | + | |
2480 | - | twistcircle.CFrame = cnow * CFrame.new(0, 2 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
2480 | + | local halocolor = BrickColor.new("Pastel light blue") |
2481 | local halocolor2 = BrickColor.new("Cool yellow") | |
2482 | - | twistcircle:Destroy() |
2482 | + | local starcolor = BrickColor.new("Bright yellow") |
2483 | local lunacolor = BrickColor.new("Navy blue") | |
2484 | - | TransitionTaunt("They all died.", BrickColor.new("Dark indigo").Color) |
2484 | + | local lunacolor2 = BrickColor.new("Bright blue") |
2485 | - | sound(233091161, RootPart, 1, 6, 1) |
2485 | + | local wepcolor = BrickColor.new("Really black") |
2486 | - | weapon.COVER.BrickColor = BrickColor.new("Dark indigo") |
2486 | + | local maincolor = BrickColor.new("Really black") |
2487 | - | weapon.PAGE.BrickColor = BrickColor.new("Black") |
2487 | + | local m = Instance.new("Model",char) |
2488 | - | speed.Value = speed.Value - 1 |
2488 | + | local m2 = Instance.new("Model",char) |
2489 | - | for i = 0, 2, 0.05 do |
2489 | + | local m3 = Instance.new("Model",char) |
2490 | - | swait() |
2490 | + | local mw1 = Instance.new("Model",char) |
2491 | - | playAnimationFromTable(CFrame.new(0, 1.00425529, 0.0744171143, -1, 0, -8.74227766E-8, -8.21497323E-8, 0.342017859, 0.939683318, 2.99003275E-8, 0.939689934, -0.342019886), CFrame.new(0, 1.5, 0, -1, 8.74227766E-8, 0, -7.61939845E-9, -0.0871557593, 0.996187627, 8.70900934E-8, 0.996194541, 0.0871555358), CFrame.new(1.33481598, 0.372807026, -0.087141037, 0.939692557, -0.330366939, 0.0885202289, 0.321391076, 0.764407218, -0.558904588, 0.116978839, 0.553654134, 0.824490428), CFrame.new(-1.28868866, 0.519953251, 0.177391052, 0.906308293, 0.422617257, -3.43996646E-7, -0.39712745, 0.851644874, -0.342018694, -0.144543886, 0.309976995, 0.93969202), CFrame.new(1, -1.15274048, -0.936203003, -4.37113883E-8, 0, 1, -0.906302333, 0.42261076, -3.96157276E-8, -0.422614038, -0.906308413, -1.84730453E-8), CFrame.new(-1, -1.0340538, -0.25881958, -4.37113883E-8, 0, -1, 0.25881806, 0.96591872, -1.1313297E-8, 0.965925515, -0.258819491, -4.22219486E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.05, 0.05, 0.05) |
2491 | + | local mw2 = Instance.new("Model",char) |
2492 | ||
2493 | - | speed.Value = speed.Value + 1.5 |
2493 | + | |
2494 | - | attacking.Value = false |
2494 | + | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
2495 | local gui = it(GuiType) | |
2496 | - | function theend() |
2496 | + | gui.Parent = parent |
2497 | - | attacking.Value = true |
2497 | + | gui.Text = text |
2498 | - | speed.Value = speed.Value - 0.5 |
2498 | + | gui.BackgroundTransparency = backtrans |
2499 | - | local twistcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Burlap").Color) |
2499 | + | gui.BackgroundColor3 = backcol |
2500 | - | local g1 = circlet[1] |
2500 | + | gui.SizeConstraint = "RelativeXY" |
2501 | - | local g2 = circlet[2] |
2501 | + | gui.TextXAlignment = "Center" |
2502 | - | g1.ImageTransparency = 1 |
2502 | + | gui.TextYAlignment = "Center" |
2503 | - | g2.ImageTransparency = 1 |
2503 | + | gui.Position = pos |
2504 | - | local cfr = RootPart.CFrame * CFrame.new(0, 0, 0) |
2504 | + | gui.Size = size |
2505 | - | local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2505 | + | gui.Font = "SourceSans" |
2506 | - | local ncount = 0 |
2506 | + | gui.FontSize = "Size14" |
2507 | - | twistcircle.CFrame = cnow |
2507 | + | gui.TextWrapped = false |
2508 | - | TransitionTaunt("At last", BrickColor.new("Dark indigo").Color) |
2508 | + | gui.TextStrokeTransparency = 0 |
2509 | - | sound(588697034, RootPart, 1, 6, 1.3) |
2509 | + | gui.TextColor = BrickColor.new("White") |
2510 | - | for i = 0, 3, 0.05 do |
2510 | + | return gui |
2511 | - | swait() |
2511 | + | |
2512 | - | cfr = RootPart.CFrame * CFrame.new(0, 0, 0) |
2512 | + | --------------------------- GUI STUFF |
2513 | - | cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2513 | + | local basgui = it("GuiMain") |
2514 | - | g1.ImageTransparency = 1 - i |
2514 | + | basgui.Parent = plr.PlayerGui |
2515 | - | g2.ImageTransparency = 1 - i |
2515 | + | basgui.Name = "VISgui" |
2516 | - | twistcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount), 0) |
2516 | + | local fullscreenz = it("Frame") |
2517 | - | for i = 1, 2 do |
2517 | + | fullscreenz.Parent = basgui |
2518 | - | local mb = MagicBlock(BrickColor.new("Cool yellow"), RootPart.CFrame * CFrame.new(math.random(-4, 4), -3 + math.random(-3, 6), math.random(-4, 4)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2518 | + | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) |
2519 | - | mb.Material = "Neon" |
2519 | + | fullscreenz.BackgroundTransparency = 1 |
2520 | - | if i % 2 == 0 then |
2520 | + | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) |
2521 | - | mb.BrickColor = BrickColor.new("Burlap") |
2521 | + | fullscreenz.Size = UDim2.new(1, 0, 1, 0) |
2522 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
2523 | - | local moveleft = (RootPart.CFrame.p - mb.Position).unit |
2523 | + | local imgl2 = Instance.new("ImageLabel",fullscreenz) |
2524 | - | table.insert(partEffects, { |
2524 | + | imgl2.BackgroundTransparency = 1 |
2525 | - | mb, |
2525 | + | imgl2.BorderSizePixel = 0 |
2526 | - | "Block3", |
2526 | + | imgl2.ImageTransparency = 0.5 |
2527 | - | 0.01, |
2527 | + | imgl2.ImageColor3 = Color3.new(0,1,1) |
2528 | - | moveleft.X / 5, |
2528 | + | imgl2.Position = UDim2.new(0.75,-100,0.55,-100) |
2529 | - | moveleft.Y / 5, |
2529 | + | imgl2.Size = UDim2.new(0,800,0,800) |
2530 | - | moveleft.Z / 5, |
2530 | + | imgl2.Image = "rbxassetid://2325939897" |
2531 | - | mb.Mesh |
2531 | + | local circl = imgl2:Clone() |
2532 | - | }) |
2532 | + | circl.Parent = fullscreenz |
2533 | circl.ImageTransparency = 0 | |
2534 | - | playAnimationFromTable(CFrame.new(0, 1.0019027, 0.0435771942, -1, 0, -8.74227766E-8, -8.70901005E-8, 0.0871559232, 0.996194661, 7.61941354E-9, 0.996194661, -0.0871559232), CFrame.Angles(0, math.rad(-i * 240), 0) * CFrame.new(0, i * 1.5 / 3, 0, -1, 8.74227766E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.36698151, 0.550001979, -1.90734863E-6, 0.321399212, -0.866029441, -0.38302964, 0.556665957, 0.500005782, -0.663416743, 0.766046822, -2.10234589E-6, 0.642789721), CFrame.new(-1.29042053, 0.686791062, 1.90734863E-6, 0.286787361, 0.819148421, 0.496735334, -0.409578949, 0.573581636, -0.709406972, -0.866034746, 2.85046053E-6, 0.49999553), CFrame.new(1, -1.01519215, -0.173648834, -4.37113883E-8, 0, 1, -0.173649222, 0.984807611, -7.59044827E-9, -0.98480767, -0.173649222, -4.30473115E-8), CFrame.new(-1, -1.00000012, 0, -4.37113883E-8, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2) |
2534 | + | circl.Size = UDim2.new(0,550,0,550) |
2535 | - | ncount = ncount + 1 |
2535 | + | circl.Position = UDim2.new(0.75,25,0.55,25) |
2536 | circl.ImageColor3 = Color3.new(0,0,0) | |
2537 | - | thread(function() |
2537 | + | circl.Image = "rbxassetid://2344830904" |
2538 | - | for i = 0, 1, 0.01 do |
2538 | + | local circl2 = imgl2:Clone() |
2539 | circl2.Parent = fullscreenz | |
2540 | - | g1.ImageTransparency = i |
2540 | + | circl2.ImageTransparency = 0 |
2541 | - | g2.ImageTransparency = i |
2541 | + | circl2.Size = UDim2.new(0,700,0,700) |
2542 | - | twistcircle.CFrame = cnow * CFrame.new(0, 2 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
2542 | + | circl2.Position = UDim2.new(0.75,-50,0.55,-50) |
2543 | circl2.ImageColor3 = Color3.new(0,1,1) | |
2544 | - | twistcircle:Destroy() |
2544 | + | circl2.Image = "rbxassetid://2344830904" |
2545 | local imgl2b = imgl2:Clone() | |
2546 | - | sound(233091183, RootPart, 1, 6, 1) |
2546 | + | imgl2b.Parent = fullscreenz |
2547 | - | TransitionTaunt("The end.", BrickColor.new("Burlap").Color) |
2547 | + | imgl2b.ImageTransparency = 0 |
2548 | - | weapon.COVER.BrickColor = BrickColor.new("Dirt brown") |
2548 | + | imgl2b.Size = UDim2.new(0,600,0,600) |
2549 | - | weapon.PAGE.BrickColor = BrickColor.new("Burlap") |
2549 | + | imgl2b.Position = UDim2.new(0.75,0,0.55,0) |
2550 | - | speed.Value = speed.Value - 1 |
2550 | + | imgl2b.ImageColor3 = Color3.new(0,0,0) |
2551 | - | for i = 0, 2, 0.05 do |
2551 | + | local techc = imgl2:Clone() |
2552 | - | swait() |
2552 | + | techc.Parent = fullscreenz |
2553 | - | playAnimationFromTable(CFrame.new(0, 1.00425529, 0.0744171143, -1, 0, -8.74227766E-8, -8.21497323E-8, 0.342017859, 0.939683318, 2.99003275E-8, 0.939689934, -0.342019886), CFrame.new(0, 1.5, 0, -1, 8.74227766E-8, 0, -7.61939845E-9, -0.0871557593, 0.996187627, 8.70900934E-8, 0.996194541, 0.0871555358), CFrame.new(1.33481598, 0.372807026, -0.087141037, 0.939692557, -0.330366939, 0.0885202289, 0.321391076, 0.764407218, -0.558904588, 0.116978839, 0.553654134, 0.824490428), CFrame.new(-1.28868866, 0.519953251, 0.177391052, 0.906308293, 0.422617257, -3.43996646E-7, -0.39712745, 0.851644874, -0.342018694, -0.144543886, 0.309976995, 0.93969202), CFrame.new(1, -1.15274048, -0.936203003, -4.37113883E-8, 0, 1, -0.906302333, 0.42261076, -3.96157276E-8, -0.422614038, -0.906308413, -1.84730453E-8), CFrame.new(-1, -1.0340538, -0.25881958, -4.37113883E-8, 0, -1, 0.25881806, 0.96591872, -1.1313297E-8, 0.965925515, -0.258819491, -4.22219486E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.05, 0.05, 0.05) |
2553 | + | techc.ImageTransparency = 0 |
2554 | techc.Size = UDim2.new(0,900,0,900) | |
2555 | - | speed.Value = speed.Value + 1.5 |
2555 | + | techc.Position = UDim2.new(0.75,-150,0.55,-150) |
2556 | - | attacking.Value = false |
2556 | + | techc.ImageColor3 = Color3.new(0,1,1) |
2557 | techc.Image = "rbxassetid://2076519836" | |
2558 | - | function heartbreaker() |
2558 | + | local ned = Instance.new("TextLabel",fullscreenz) |
2559 | - | attacking.Value = true |
2559 | + | ned.ZIndex = 2 |
2560 | - | speed.Value = speed.Value - 1 |
2560 | + | ned.Font = "SciFi" |
2561 | - | local ncount = 0 |
2561 | + | ned.BackgroundTransparency = 1 |
2562 | - | for i = 0, 4, 0.05 do |
2562 | + | ned.BorderSizePixel = 0.65 |
2563 | - | swait() |
2563 | + | ned.Size = UDim2.new(0.3,0,0.2,0) |
2564 | - | if ncount % 2 == 0 then |
2564 | + | ned.Position = UDim2.new(0.7,0,0.8,0) |
2565 | - | for i = 1, 2 do |
2565 | + | ned.TextColor3 = BrickColor.new("Black").Color |
2566 | - | do |
2566 | + | ned.TextStrokeColor3 = BrickColor.new("Toothpaste").Color |
2567 | - | local heartcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Bright orange").Color) |
2567 | + | ned.TextScaled = true |
2568 | - | local g1 = circlet[1] |
2568 | + | ned.TextStrokeTransparency = 0 |
2569 | - | local g2 = circlet[2] |
2569 | + | ned.Text = "MIDNIGHT" |
2570 | - | g1.ImageTransparency = 0.5 |
2570 | + | ned.TextSize = 24 |
2571 | - | g2.ImageTransparency = 0.5 |
2571 | + | ned.Rotation = 1 |
2572 | - | local ranc = CFrame.new(math.random(-30, 30), math.random(0, 20), math.random(5, 10)) |
2572 | + | ned.TextXAlignment = "Right" |
2573 | - | local cnow = RootPart.CFrame * ranc |
2573 | + | ned.TextYAlignment = "Bottom" |
2574 | - | cnow = CFrame.new(cnow.p, cnow.p + (cnow.p - mouse.Hit.p).unit) * CFrame.Angles(math.rad(90), 0, 0) |
2574 | + | |
2575 | - | heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(4.5), 0) |
2575 | + | local bguis = Instance.new("BillboardGui",tors) |
2576 | - | thread(function() |
2576 | + | bguis.Size = UDim2.new(25, 0, 25, 0) |
2577 | - | local mousehitp = mouse.Hit.p |
2577 | + | local imgca = Instance.new("ImageLabel",bguis) |
2578 | - | local prevc = cnow |
2578 | + | imgca.BackgroundTransparency = 1 |
2579 | - | for i = 0, 1, 0.05 do |
2579 | + | imgca.ImageTransparency = 1 |
2580 | - | g1.ImageTransparency = 1 - i |
2580 | + | imgca.Size = UDim2.new(1,0,1,0) |
2581 | - | g2.ImageTransparency = 1 - i |
2581 | + | imgca.Image = "rbxassetid://2076519836" --997291547,521073910 |
2582 | - | heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(25 * i), 0) |
2582 | + | imgca.ImageColor3 = Color3.new(0,0,0) |
2583 | - | swait() |
2583 | + | |
2584 | local extrawingmod1 = Instance.new("Model",char) | |
2585 | - | local randomhitcf = CFrame.new(mousehitp) * CFrame.new(math.random(-10, 10), 0, math.random(-10, 10)) |
2585 | + | local extrawingmod2 = Instance.new("Model",char) |
2586 | - | local magnitude = math.abs((randomhitcf.p - cnow.p).magnitude) |
2586 | + | |
2587 | - | local unit = (randomhitcf.p - cnow.p).unit |
2587 | + | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
2588 | - | local lighthit, lightpos = rayCast(cnow.p, unit, magnitude, char) |
2588 | + | local p = Instance.new("Part") |
2589 | - | if lighthit and lightpos then |
2589 | + | p.TopSurface = 0 |
2590 | - | randomhitcf = CFrame.new(lightpos) |
2590 | + | p.BottomSurface = 0 |
2591 | p.Parent = parent | |
2592 | - | Lightning(prevc.p, randomhitcf.p, 4, 5, "Bright orange", 0.5, 0.1, 0.05) |
2592 | + | p.Size = Vector3.new(0.1,0.1,0.1) |
2593 | - | local c1 = newPart(Effects, BrickColor.new("Bright orange"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2593 | + | p.Transparency = transparency |
2594 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(5, 5, 5)) |
2594 | + | p.Reflectance = reflectance |
2595 | - | c1.Material = "Neon" |
2595 | + | p.CanCollide = false |
2596 | - | local c2 = newPart(Effects, BrickColor.new("Gold"), 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2596 | + | p.Locked = true |
2597 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(5, 10, 10)) |
2597 | + | p.BrickColor = brickcolor |
2598 | - | c2.Material = "Neon" |
2598 | + | p.Material = material |
2599 | - | c1.CFrame = CFrame.new(randomhitcf.p) |
2599 | + | return p |
2600 | - | c2.CFrame = CFrame.new(randomhitcf.p) |
2600 | + | |
2601 | - | for i, vhum in pairs(findCloseHumanoid(c1.CFrame.p, 6)) do |
2601 | + | |
2602 | - | basic.Damage(Effects, vhum, math.random(6, 9), BrickColor.new("Bright orange").Color) |
2602 | + | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) |
2603 | local Sound = IN("Sound") | |
2604 | - | local rani = math.random(160, 300) |
2604 | + | Sound.SoundId = "rbxassetid://".. tostring(id or 0) |
2605 | - | table.insert(partEffects, { |
2605 | + | Sound.Pitch = pitch or 1 |
2606 | - | c1, |
2606 | + | Sound.Volume = volume or 1 |
2607 | - | "Block2", |
2607 | + | Sound.Looped = looped or false |
2608 | - | 0.05, |
2608 | + | if(autoPlay)then |
2609 | - | 5, |
2609 | + | coroutine.wrap(function() |
2610 | - | 0, |
2610 | + | repeat wait() until Sound.IsLoaded |
2611 | - | 5, |
2611 | + | Sound.Playing = autoPlay or false |
2612 | - | c1.Mesh |
2612 | + | end)() |
2613 | - | }) |
2613 | + | |
2614 | - | table.insert(partEffects, { |
2614 | + | if(not looped and effect)then |
2615 | - | c2, |
2615 | + | Sound.Stopped:connect(function() |
2616 | - | "Block2", |
2616 | + | Sound.Volume = 0 |
2617 | - | 0.05, |
2617 | + | Sound:destroy() |
2618 | - | -0.1, |
2618 | + | |
2619 | - | rani / 15, |
2619 | + | elseif(effect)then |
2620 | - | -0.1, |
2620 | + | warn("Sound can't be looped and a sound effect!") |
2621 | - | c2.Mesh |
2621 | + | |
2622 | - | }) |
2622 | + | Sound.Parent =parent or Torso |
2623 | - | local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part") |
2623 | + | return Sound |
2624 | - | soundpart.CFrame = c1.CFrame |
2624 | + | |
2625 | - | game.Debris:AddItem(soundpart, 6) |
2625 | + | |
2626 | - | local pitchange = math.random(0.4, 1) |
2626 | + | function CreateParte(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) |
2627 | - | sound(588733541, soundpart, 0.5, 6, 1) |
2627 | + | local NEWPART = IT("Part") |
2628 | - | sound(338594574, soundpart, 1.3, 6, pitchange) |
2628 | + | NEWPART.formFactor = FORMFACTOR |
2629 | - | for i = 0, 1, 0.05 do |
2629 | + | NEWPART.Reflectance = REFLECTANCE |
2630 | - | g1.ImageTransparency = i |
2630 | + | NEWPART.Transparency = TRANSPARENCY |
2631 | - | g2.ImageTransparency = i |
2631 | + | NEWPART.CanCollide = false |
2632 | - | heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(25) + math.rad(45 * i), 0) |
2632 | + | NEWPART.Locked = true |
2633 | - | swait() |
2633 | + | NEWPART.Anchored = true |
2634 | if ANCHOR == false then | |
2635 | - | heartcircle:Destroy() |
2635 | + | NEWPART.Anchored = false |
2636 | - | end) |
2636 | + | |
2637 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
2638 | NEWPART.Name = NAME | |
2639 | NEWPART.Size = SIZE | |
2640 | - | swait() |
2640 | + | NEWPART.Position = Torso.Position |
2641 | - | playAnimationFromTable(CFrame.new(0.0697402954, 1.01931477, 0.118648529, -0.860671461, 0.4896833, -0.139482543, 8.06270516E-4, 0.275256157, 0.961370528, 0.509160578, 0.827311695, -0.237299904), CFrame.new(0, -0.05, 0, -0.866024971, -0.498098522, -0.0435780659, -7.61941354E-9, -0.0871559307, 0.996194661, -0.500001192, 0.86272943, 0.0754791945), CFrame.new(1.32081604, 0.422932148, -0.058631897, -0.296193659, -0.331590027, -0.895722032, -0.427173555, 0.884772658, -0.186280653, 0.854278922, 0.327453613, -0.403710395), CFrame.new(-1.45079041, 0.495441914, 0.192886353, -0.338018954, 0.457873225, 0.822250545, 0.346367121, 0.872877896, -0.343677372, -0.875084937, 0.168630987, -0.453641474), CFrame.new(1.01055908, -0.95151329, -3.81469727E-6, 2.98023224E-8, -0.0871559829, 0.996195495, -4.47034836E-8, 0.996194303, 0.0871559978, -1.00000072, 4.28408384E-8, -5.96046448E-8), CFrame.new(-0.844215393, -0.938362122, 0.0666542053, 0.498098373, 0.08715415, -0.862729788, 0.107469194, 0.981060266, 0.161155596, 0.860435188, -0.172988191, 0.479298174), nil, 0.15, 0.2, 0.2, 0.2) |
2641 | + | NEWPART.Material = MATERIAL |
2642 | - | ncount = ncount + 1 |
2642 | + | NEWPART:BreakJoints() |
2643 | NEWPART.Parent = PARENT | |
2644 | - | speed.Value = speed.Value + 1 |
2644 | + | return NEWPART |
2645 | - | attacking.Value = false |
2645 | + | |
2646 | ||
2647 | - | function darkmeaning() |
2647 | + | function CreateSound(ID, PARENT, VOLUME, PITCH) |
2648 | - | speed.Value = speed.Value - 0.2 |
2648 | + | local NSound = nil |
2649 | - | local darkcircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Black").Color) |
2649 | + | |
2650 | - | local g1 = circlet[1] |
2650 | + | NSound = Instance.new("Sound", PARENT) |
2651 | - | local g2 = circlet[2] |
2651 | + | NSound.Volume = VOLUME |
2652 | - | g1.ImageTransparency = 1 |
2652 | + | NSound.Pitch = PITCH |
2653 | - | g2.ImageTransparency = 1 |
2653 | + | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID |
2654 | - | local cfr = mouse.Hit |
2654 | + | |
2655 | - | local cnow = CFrame.new(cfr.X, cfr.Y, cfr.Z) |
2655 | + | NSound:play() |
2656 | - | local ncount = 0 |
2656 | + | game:GetService("Debris"):AddItem(NSound, 10) |
2657 | - | local c1 = newPart(Effects, BrickColor.new("Black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2657 | + | |
2658 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(40, 40, 40)) |
2658 | + | return NSound |
2659 | - | c1.Material = "Neon" |
2659 | + | |
2660 | - | local c2 = newPart(Effects, BrickColor.new("Really black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2660 | + | |
2661 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
2661 | + | function CreateMeshy(parent,meshtype,x1,y1,z1) |
2662 | - | c2.Material = "Neon" |
2662 | + | local mesh = Instance.new("SpecialMesh",parent) |
2663 | - | c1.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0) |
2663 | + | mesh.MeshType = meshtype |
2664 | - | c2.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0) |
2664 | + | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
2665 | - | local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part") |
2665 | + | return mesh |
2666 | - | soundpart.CFrame = c1.CFrame |
2666 | + | |
2667 | - | game.Debris:AddItem(soundpart, 6) |
2667 | + | |
2668 | - | sound(588736245, soundpart, 0.5, 6, 1) |
2668 | + | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
2669 | - | sound(588737825, soundpart, 0.4, 6, 0.9) |
2669 | + | local mesh = Instance.new("SpecialMesh",parent) |
2670 | - | for i = 0, 8, 0.05 do |
2670 | + | mesh.MeshType = "FileMesh" |
2671 | - | swait() |
2671 | + | mesh.MeshId = meshid |
2672 | - | if math.abs((RootPart.Position - mouse.Hit.p).magnitude) <= 100 then |
2672 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
2673 | - | cfr = mouse.Hit |
2673 | + | return mesh |
2674 | - | cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z) |
2674 | + | |
2675 | ||
2676 | - | ncount = ncount + 1 |
2676 | + | |
2677 | - | g1.ImageTransparency = 1 - i / 1.5 |
2677 | + | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
2678 | - | g2.ImageTransparency = 1 - i / 1.5 |
2678 | + | local mesh = Instance.new("SpecialMesh",parent) |
2679 | - | if darkcircle.Size.X <= 20 then |
2679 | + | mesh.MeshType = "FileMesh" |
2680 | - | darkcircle.Size = Vector3.new(0.2 + 30 * i, 0.2, 0.2 + 30 * i) |
2680 | + | mesh.MeshId = meshid |
2681 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
2682 | - | darkcircle.CFrame = clerp(darkcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.01) |
2682 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
2683 | - | c1.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0) |
2683 | + | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
2684 | - | c2.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0) |
2684 | + | return mesh |
2685 | - | for i = 1, 2 do |
2685 | + | |
2686 | - | local mb = MagicBlock(BrickColor.new("Really black"), darkcircle.CFrame * CFrame.new(math.random(-10, 10), -3 + math.random(3, 6), math.random(-10, 10)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2686 | + | |
2687 | - | if i == 2 then |
2687 | + | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
2688 | - | mb.BrickColor = BrickColor.new("Black") |
2688 | + | local weld = Instance.new("Weld") |
2689 | weld.Parent = parent | |
2690 | - | mb.Material = "Neon" |
2690 | + | weld.Part0 = part0 |
2691 | - | table.insert(partEffects, { |
2691 | + | weld.Part1 = part1 |
2692 | - | mb, |
2692 | + | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
2693 | - | "Block3", |
2693 | + | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
2694 | - | 0.02, |
2694 | + | return weld |
2695 | - | 0.1, |
2695 | + | |
2696 | - | 0.1, |
2696 | + | |
2697 | - | 0.1, |
2697 | + | local maincolg = Model120 |
2698 | - | mb.Mesh |
2698 | + | local seccolg = Model2 |
2699 | - | }) |
2699 | + | -------------- |
2700 | local tru = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
2701 | - | if ncount % 20 == 0 then |
2701 | + | CreateWeld(tru,rarm,tru,0,0,0,math.rad(0),math.rad(180),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2702 | - | local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part") |
2702 | + | CreateWeld(Part1,tru,Part1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2703 | - | soundpart.CFrame = c1.CFrame |
2703 | + | |
2704 | - | game.Debris:AddItem(soundpart, 6) |
2704 | + | local MRC_A = BrickColor.new("Toothpaste") |
2705 | - | sound(588736245, soundpart, 0.5, 6, 1) |
2705 | + | local MRC_B = BrickColor.new("Black") |
2706 | - | sound(588737825, soundpart, 0.7, 6, 0.9) |
2706 | + | |
2707 | - | local c3 = newPart(Effects, BrickColor.new("Black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2707 | + | local MAINR = script.Main:Clone() |
2708 | - | mesh("SpecialMesh", c3, "Sphere", nil, nil, Vector3.new(25, 25, 25)) |
2708 | + | MAINR.Parent = m |
2709 | - | c3.Material = "Neon" |
2709 | + | MAINR.Transparency = 0 |
2710 | - | c3.CFrame = c1.CFrame |
2710 | + | MAINR.Color = MRC_B.Color |
2711 | - | table.insert(partEffects, { |
2711 | + | MAINR.Anchored = false |
2712 | - | c3, |
2712 | + | local SECONDR = script.Second:Clone() |
2713 | - | "Block2", |
2713 | + | SECONDR.Parent = m |
2714 | - | 0.05, |
2714 | + | SECONDR.Transparency = 0 |
2715 | - | 5, |
2715 | + | SECONDR.Color = MRC_A.Color |
2716 | - | 5, |
2716 | + | SECONDR.Anchored = false |
2717 | - | 5, |
2717 | + | |
2718 | - | c3.Mesh |
2718 | + | local tru2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
2719 | - | }) |
2719 | + | local Monitor = CreateParta(m,0,0,"Neon",MRC_A) |
2720 | - | local c4 = newPart(Effects, BrickColor.new("Really black"), 0.2, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2720 | + | Monitor.Size = Vector3.new(0.1,1.95,.95) |
2721 | - | mesh("SpecialMesh", c4, "Sphere", nil, nil, Vector3.new(25, 25, 25)) |
2721 | + | Monitor.CanCollide = false |
2722 | - | c4.Material = "Neon" |
2722 | + | CreateWeld(tru2,larm,tru2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2723 | - | c4.CFrame = darkcircle.CFrame |
2723 | + | CreateWeld(SECONDR,tru2,SECONDR,0.1,0,0,math.rad(0),math.rad(180),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2724 | - | table.insert(partEffects, { |
2724 | + | CreateWeld(MAINR,tru2,MAINR,0,0,0,math.rad(0),math.rad(180),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2725 | - | c4, |
2725 | + | CreateWeld(Monitor,tru2,Monitor,-0.5,0,0,math.rad(0),math.rad(180),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
2726 | - | "Block2", |
2726 | + | |
2727 | - | 0.05, |
2727 | + | local surfaceguied = script.SurfaceGuied:Clone() |
2728 | - | 8, |
2728 | + | surfaceguied.Enabled = true |
2729 | - | 1, |
2729 | + | surfaceguied.Parent = Monitor |
2730 | - | 8, |
2730 | + | local SurFramez = surfaceguied.Frame |
2731 | - | c4.Mesh |
2731 | + | local textmode = SurFramez.Mode |
2732 | - | }) |
2732 | + | local textsong = SurFramez.Song |
2733 | - | for i, vhum in pairs(findCloseHumanoid(c3.Position, 18)) do |
2733 | + | local textthingy = SurFramez.Thingy |
2734 | - | basic.Damage(Effects, vhum, math.random(2, 4), BrickColor.new("Maroon").Color) |
2734 | + | ------ |
2735 | - | basic.Debuff(Effects, vhum, BrickColor.new("Maroon").Color, "Attack", 0.05, 6) |
2735 | + | |
2736 | ||
2737 | - | local cp1 = newPart(Effects, BrickColor.new("Really black"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2737 | + | function RemoveOutlines(part) |
2738 | - | mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10)) |
2738 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
2739 | - | cp1.CFrame = c4.CFrame |
2739 | + | |
2740 | - | table.insert(partEffects, { |
2740 | + | function Chunks(PART) |
2741 | - | cp1, |
2741 | + | for i = 1, MRANDOM(3,5) do |
2742 | - | "Block2", |
2742 | + | |
2743 | - | 0.05, |
2743 | + | local CHUNK = CreateParte(3, workspace, "Neon", 0, 0.5, BrickColor.random(), "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false) |
2744 | - | -0.1, |
2744 | + | CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
2745 | - | 0.2, |
2745 | + | local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6) |
2746 | - | -0.1, |
2746 | + | CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65) |
2747 | - | cp1.Mesh |
2747 | + | CHUNK.BrickColor = BrickColor.random() |
2748 | - | }) |
2748 | + | wait(0.1) |
2749 | - | local cp2 = newPart(Effects, BrickColor.new("Really black"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2749 | + | CHUNK.CanCollide = true |
2750 | - | mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(15, 5, 15)) |
2750 | + | wait(MRANDOM(15,25)/5) |
2751 | - | cp2.CFrame = c4.CFrame |
2751 | + | for i = 1, 25 do |
2752 | - | table.insert(partEffects, { |
2752 | + | |
2753 | - | cp2, |
2753 | + | CHUNK.Transparency = CHUNK.Transparency + 1/25 |
2754 | - | "Block2", |
2754 | + | |
2755 | - | 0.05, |
2755 | + | CHUNK:remove() |
2756 | - | -0.1, |
2756 | + | end)) |
2757 | - | 0.1, |
2757 | + | |
2758 | - | -0.1, |
2758 | + | |
2759 | - | cp2.Mesh |
2759 | + | Debris = game:GetService("Debris") |
2760 | - | }) |
2760 | + | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) |
2761 | if FLOOR ~= nil then | |
2762 | for i = 1, AMOUNT do | |
2763 | - | thread(function() |
2763 | + | local DEBREE = CreateParte(3, Effects, "Neon", 0.2, 0.2, "Peal", "Debree", BLOCKSIZE, false) |
2764 | - | local cnow = darkcircle.CFrame |
2764 | + | DEBREE.Material = "Neon" |
2765 | - | for i = 0, 1, 0.01 do |
2765 | + | DEBREE.BrickColor = BrickColor.random() |
2766 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
2767 | - | c1.Size = c1.Size * (1 - i) |
2767 | + | DEBREE.Velocity = vt(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) |
2768 | - | c2.Size = c2.Size * (1 - i) |
2768 | + | coroutine.resume(coroutine.create(function() |
2769 | - | c1.Transparency = c1.Transparency + i |
2769 | + | swait(15) |
2770 | - | c2.Transparency = c2.Transparency + i |
2770 | + | DEBREE.Parent = workspace |
2771 | - | g1.ImageTransparency = i |
2771 | + | DEBREE.CanCollide = true |
2772 | - | g2.ImageTransparency = i |
2772 | + | Debris:AddItem(DEBREE,SWAIT) |
2773 | - | darkcircle.CFrame = cnow * CFrame.new(0, 1 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0) |
2773 | + | end)) |
2774 | end | |
2775 | - | darkcircle:Destroy() |
2775 | + | |
2776 | - | c1:Destroy() |
2776 | + | |
2777 | - | c2:Destroy() |
2777 | + | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
2778 | local Part = Create("Part")({ | |
2779 | - | speed.Value = speed.Value + 0.2 |
2779 | + | Parent = Parent, |
2780 | Reflectance = Reflectance, | |
2781 | - | function diminuendo() |
2781 | + | Transparency = Transparency, |
2782 | - | attacking.Value = true |
2782 | + | CanCollide = false, |
2783 | - | speed.Value = speed.Value - 0.5 |
2783 | + | Locked = true, |
2784 | - | local dimcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Navy blue").Color) |
2784 | + | BrickColor = BrickColor.new(tostring(BColor)), |
2785 | - | local g1 = circlet[1] |
2785 | + | Name = Name, |
2786 | - | local g2 = circlet[2] |
2786 | + | Size = Size, |
2787 | - | g1.ImageTransparency = 1 |
2787 | + | Material = Material |
2788 | - | g2.ImageTransparency = 1 |
2788 | + | }) |
2789 | - | local cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z) |
2789 | + | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
2790 | - | local ncount = 0 |
2790 | + | RemoveOutlines(Part) |
2791 | - | dimcircle.CFrame = cnow |
2791 | + | return Part |
2792 | - | local fp2 = newPart(Effects, BrickColor.new("Black"), 0.2, false, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2792 | + | |
2793 | - | mesh("SpecialMesh", fp2, "FileMesh", "90718752", nil, Vector3.new(4.5, 3.5, 4.5)) |
2793 | + | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
2794 | - | local fpw = weld(fp2, char["Left Arm"], fp2, CFrame.new(0, -0.85, 0)) |
2794 | + | local Msh = Create(Mesh)({ |
2795 | - | local fp = newPart(Effects, BrickColor.new("Navy blue"), 0.1, false, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2795 | + | Parent = Part, |
2796 | - | mesh("SpecialMesh", fp, "FileMesh", "90718752", nil, Vector3.new(5, 4, 5)) |
2796 | + | Offset = OffSet, |
2797 | - | local fpw = weld(fp, char["Left Arm"], fp, CFrame.new(0, -0.85, 0)) |
2797 | + | Scale = Scale |
2798 | - | local ncount = 0 |
2798 | + | }) |
2799 | - | sound(320557563, RootPart, 0.5, 6, 0.9) |
2799 | + | if Mesh == "SpecialMesh" then |
2800 | - | for i = 0, 1, 0.05 do |
2800 | + | Msh.MeshType = MeshType |
2801 | - | swait() |
2801 | + | Msh.MeshId = MeshId |
2802 | - | ncount = ncount + 1 |
2802 | + | end |
2803 | - | g1.ImageTransparency = 1 - i |
2803 | + | return Msh |
2804 | - | g2.ImageTransparency = 1 - i |
2804 | + | |
2805 | - | cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z) |
2805 | + | function CreateWeld(Parent, Part0, Part1, C0, C1) |
2806 | - | dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1) |
2806 | + | local Weld = Create("Weld")({ |
2807 | - | playAnimationFromTable(CFrame.new(-0.0600166321, 1.00377321, 0.013168335, -0.600801229, -0.790335298, 0.120063931, 0.0515110902, 0.111605346, 0.992416978, -0.797741473, 0.602429628, -0.0263414718), CFrame.new(0.00345993042, -0.0498781204, 4.25338745E-4, -0.60254091, 0.797009289, -0.0415658727, -0.0351099893, 0.0255602654, 0.999056637, 0.797320008, 0.603431642, 0.0125819258), CFrame.new(1.3885479, 0.507249117, 0.0394897461, 0.960471272, -0.259713769, -0.100255221, 0.222270221, 0.932230234, -0.285557956, 0.167624235, 0.251986533, 0.953106344), CFrame.new(-1.20738411, 0.441636086, -0.159381866, 0.614046216, -0.789190769, -0.0115426555, 0.0343859009, 0.041359555, -0.998552561, 0.788525641, 0.612760246, 0.0525335595), CFrame.new(0.825660706, -0.966924191, 0.346191406, 0.69384408, -0.0697358176, 0.716745973, 0.0233537368, 0.996955752, 0.0743911862, -0.719751477, -0.034877073, 0.69336015), CFrame.new(-1.05771065, -0.975158215, -0.376472473, -0.529659808, 0.0697788224, -0.845339537, 0.066512011, 0.996958554, 0.0406203046, 0.845602632, -0.0347101763, -0.53268981), nil, 0.15, 0.15, 0.15, 0.15) |
2807 | + | Parent = Parent, |
2808 | Part0 = Part0, | |
2809 | - | sound(320557563, RootPart, 0.5, 6, 0.8) |
2809 | + | Part1 = Part1, |
2810 | - | for i = 0, 1, 0.05 do |
2810 | + | C0 = C0, |
2811 | - | swait() |
2811 | + | C1 = C1 |
2812 | - | ncount = ncount + 1 |
2812 | + | }) |
2813 | - | cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z) |
2813 | + | return Weld |
2814 | - | dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1) |
2814 | + | |
2815 | - | playAnimationFromTable(CFrame.new(0.0410308838, 1.00437975, 0.0519294739, -0.547402143, 0.832843661, -0.0820350572, 0.0422678888, 0.125414759, 0.991203725, 0.835805893, 0.539119422, -0.103854731), CFrame.new(-0.00158309937, -0.0498781204, 0.00310707092, -0.543154597, -0.839633524, 0.00239322288, -0.0351099893, 0.0255602654, 0.999056637, -0.838902712, 0.542558014, -0.0433624163), CFrame.new(1.30666351, 0.513760567, 0.119087219, 0.941509724, -0.304782867, -0.143829763, 0.289233357, 0.949791372, -0.119337261, 0.172981173, 0.0707567632, 0.982391119), CFrame.new(-1.34972382, 0.471359015, -0.393032074, 0.617199659, 0.786730587, -0.0115428045, -0.048450049, 0.0233586282, -0.998552561, -0.785323083, 0.616864026, 0.0525338277), CFrame.new(0.966072083, -0.96925211, -0.00110244751, 0.00121614337, -0.069736734, 0.997572184, -0.0348778591, 0.996955812, 0.0697359815, -0.999398112, -0.0348777696, -0.00121980906), CFrame.new(-0.981964111, -0.958715439, 0.248048782, 0.716746747, 0.0697793886, -0.693843603, -0.0259044934, 0.996958435, 0.0735041574, 0.69686234, -0.0347099937, 0.71637404), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3) |
2815 | + | |
2816 | Character=Player.Character | |
2817 | - | local targetchar = findClosestHumanoid((RootPart.CFrame * CFrame.new(0, 0, -3)).p, 5) |
2817 | + | PlayerGui=Player.PlayerGui |
2818 | - | local charweld |
2818 | + | Backpack=Player.Backpack |
2819 | - | if targetchar and not targetchar.Parent:findFirstChild("Humanoid") and not targetchar.Parent:findFirstChild("Torso") then |
2819 | + | Torso=Character.Torso |
2820 | - | targetchar = nil |
2820 | + | Head=Character.Head |
2821 | Humanoid=Character.Humanoid | |
2822 | m=Instance.new('Model',Character) | |
2823 | - | if not targetchar then |
2823 | + | LeftArm=Character["Left Arm"] |
2824 | - | AttackHas[2] = 0.75 |
2824 | + | LeftLeg=Character["Left Leg"] |
2825 | RightArm=Character["Right Arm"] | |
2826 | - | Energy.Value = Energy.Value - Attack2Energy |
2826 | + | RightLeg=Character["Right Leg"] |
2827 | - | AttackHas[2] = 0 |
2827 | + | LW=Torso["Left Shoulder"] |
2828 | - | RootPart.Anchored = true |
2828 | + | LH=Torso["Left Hip"] |
2829 | - | speed.Value = speed.Value - 10 |
2829 | + | RW=Torso["Right Shoulder"] |
2830 | - | targetchar = targetchar.Parent |
2830 | + | RH=Torso["Right Hip"] |
2831 | - | basic.Stun(Effects, targetchar, 0, BrickColor.new("Gold").Color, 3) |
2831 | + | Face = Head.face |
2832 | - | local charc0 = CFrame.new(0, -0.9, 0) * CFrame.Angles(math.rad(-90), 0, 0) |
2832 | + | Neck=Torso.Neck |
2833 | - | charweld = weld(targetchar.Torso, char["Left Arm"], targetchar.Torso, charc0) |
2833 | + | it=Instance.new |
2834 | - | game.Debris:AddItem(charweld, 3) |
2834 | + | attacktype=1 |
2835 | vt=Vector3.new | |
2836 | - | if targetchar then |
2836 | + | cf=CFrame.new |
2837 | - | for i = 0, 1, 0.05 do |
2837 | + | euler=CFrame.fromEulerAnglesXYZ |
2838 | angles=CFrame.Angles | |
2839 | - | ncount = ncount + 1 |
2839 | + | cloaked=false |
2840 | - | cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z) |
2840 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
2841 | - | dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1) |
2841 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
2842 | - | playAnimationFromTable(CFrame.new(-0.0461044312, 1.02573538, 0.151550293, -0.897009611, -0.432285577, 0.0922381207, -0.0529810488, 0.312321305, 0.948498368, -0.438830316, 0.845923483, -0.30305773), CFrame.new(0, -0.3, 0, -0.895833254, 0.442447841, 0.0415550545, 0.12095432, 0.152778178, 0.98083061, 0.427617639, 0.883686006, -0.190379739), CFrame.new(1.38844299, 0.552239895, 0.156646729, 0.942529202, -0.331319153, -0.0432473421, 0.294607639, 0.885115027, -0.360246658, 0.157635778, 0.326801091, 0.931855321), CFrame.new(-1.41482544, 0.724197388, -0.12689209, 0.845814824, -0.529278815, -0.0668228045, 0.0309180338, 0.17368032, -0.984316587, 0.532583714, 0.830482543, 0.163265914), CFrame.new(1.05383301, -0.8382833, 0.168655396, 0.0921938419, -0.120973244, 0.98836714, -0.228760138, 0.963469744, 0.139264792, -0.969108343, -0.238938704, 0.061152637), CFrame.new(-0.739295959, -0.737548828, -0.929321289, -0.396622777, -0.060483858, -0.915989399, -7.82623887E-4, 0.997849047, -0.06555105, 0.91798234, -0.0252833068, -0.395817429), nil, 0.2, 0.2, 0.2, 0.2) |
2842 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
2843 | - | if ncount % 6 == 0 then |
2843 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
2844 | - | sound(240429615, targetchar.Torso, 1, 6, 1) |
2844 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
2845 | - | basic.Damage(Effects, targetchar.Humanoid, 2, BrickColor.new("Bright red").Color) |
2845 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
2846 | RootPart=Character.HumanoidRootPart | |
2847 | - | for i = 1, 2 do |
2847 | + | RootJoint=RootPart.RootJoint |
2848 | - | local mb = MagicBlock(BrickColor.new("Bright red"), targetchar.Torso.CFrame * CFrame.new(math.random(0, 0), math.random(0, 0), math.random(0, 0)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2848 | + | RootCF=euler(-1.57,0,3.14) |
2849 | - | mb.Material = "Neon" |
2849 | + | attack = false |
2850 | - | if i % 2 == 0 then |
2850 | + | attackdebounce = false |
2851 | - | mb.BrickColor = BrickColor.new("Maroon") |
2851 | + | deb=false |
2852 | equipped=true | |
2853 | - | local moveleft = (RootPart.CFrame.p - mb.Position).unit |
2853 | + | hand=false |
2854 | - | table.insert(partEffects, { |
2854 | + | MMouse=nil |
2855 | - | mb, |
2855 | + | combo=0 |
2856 | - | "Block3", |
2856 | + | mana=0 |
2857 | - | 0.01, |
2857 | + | trispeed=.2 |
2858 | - | moveleft.X / 5, |
2858 | + | attackmode='none' |
2859 | - | moveleft.Y / 5, |
2859 | + | local idle=0 |
2860 | - | moveleft.Z / 5, |
2860 | + | local Anim="Idle" |
2861 | - | mb.Mesh |
2861 | + | local Effects={} |
2862 | - | }) |
2862 | + | local gun=false |
2863 | local shoot=false | |
2864 | local sine = 0 | |
2865 | - | local nncount = 0 |
2865 | + | local change = 1 |
2866 | - | for i = 0, 1, 0.05 do |
2866 | + | |
2867 | function RecolorTextAndRename(name,col1,col2,font) | |
2868 | - | nncount = nncount + 1 |
2868 | + | modet.TextStrokeColor3 = col2 |
2869 | - | ncount = ncount + 1 |
2869 | + | modet.TextColor3 = col1 |
2870 | - | cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z) |
2870 | + | modet.Font = font |
2871 | - | dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1) |
2871 | + | modet.Text = name |
2872 | - | playAnimationFromTable(CFrame.new(0.0185089111, 1.03275299, 0.176944733, -0.922103882, 0.385163754, -0.0370508581, 0.104532577, 0.340151161, 0.934549272, 0.372553796, 0.857875347, -0.353919506), CFrame.new(3.35693359E-4, -1.1, 1.98364258E-4, -0.821589708, -0.514561951, -0.245389104, -0.500172675, 0.444116235, 0.743365765, -0.273526728, 0.733479381, -0.622257054), CFrame.new(1.36499023, 0.639148712, 0.270652771, 0.904243946, -0.405099988, 0.135041788, 0.313710421, 0.844781041, 0.433538914, -0.289702028, -0.349669486, 0.89097178), CFrame.new(-1.17331696, 0.446300507, -0.639648438, 0.913501143, 0.404960155, -0.039015606, -0.201663747, 0.367430627, -0.90793097, -0.353336453, 0.837260902, 0.417316198), CFrame.new(0.999977112, -1.00247955, -0.0697174072, 2.20537186E-6, 1.84774399E-6, 0.999999702, -0.0697605908, 0.997569919, -3.51667404E-6, -0.997566164, -0.0697643161, 4.60445881E-6), CFrame.new(-1.14704132, -0.00882720947, -0.904769897, 0.508098304, 0.26009196, -0.821089268, 0.273413301, 0.855306029, 0.440123796, 0.816752791, -0.448124319, 0.36346224), nil, 0.3, 0.3, 0.3, 0.3) |
2872 | + | textmode.Text = name |
2873 | - | for i = 1, 2 do |
2873 | + | --textmode.Font = font |
2874 | - | local mb = MagicBlock(BrickColor.new("Navy blue"), targetchar.Torso.CFrame * CFrame.new(math.random(0, 0), math.random(0, 0), math.random(0, 0)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects) |
2874 | + | textmode.BorderColor3 = col1 |
2875 | - | mb.Material = "Neon" |
2875 | + | textmode.TextStrokeColor3 = col2 |
2876 | - | if i % 2 == 0 then |
2876 | + | textmode.TextColor3 = col1 |
2877 | - | mb.BrickColor = BrickColor.new("Black") |
2877 | + | textsong.BorderColor3 = col1 |
2878 | --textsong.Font = font | |
2879 | - | local moveleft = (RootPart.CFrame.p - mb.Position).unit |
2879 | + | textsong.TextStrokeColor3 = col2 |
2880 | - | table.insert(partEffects, { |
2880 | + | textsong.TextColor3 = col1 |
2881 | - | mb, |
2881 | + | textthingy.BorderColor3 = col1 |
2882 | - | "Block3", |
2882 | + | --textthingy.Font = font |
2883 | - | 0.01, |
2883 | + | textthingy.TextStrokeColor3 = col2 |
2884 | - | moveleft.X / 15, |
2884 | + | textthingy.TextColor3 = col1 |
2885 | - | moveleft.Y / 15, |
2885 | + | techc.ImageColor3 = col2 |
2886 | - | moveleft.Z / 15, |
2886 | + | circl.ImageColor3 = col2 |
2887 | - | mb.Mesh |
2887 | + | circl2.ImageColor3 = col1 |
2888 | - | }) |
2888 | + | imgca.ImageColor3 = col2 |
2889 | imgl2.ImageColor3 = col1 | |
2890 | - | if nncount == 15 then |
2890 | + | imgl2b.ImageColor3 = col2 |
2891 | - | sound(231917833, targetchar.Torso, 1, 6, 1) |
2891 | + | ned.Text = name |
2892 | - | local c1 = newPart(Effects, BrickColor.new("Navy blue"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2892 | + | ned.TextColor3 = col1 |
2893 | - | mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(40, 40, 40)) |
2893 | + | ned.TextStrokeColor3 = col2 |
2894 | - | c1.Material = "Neon" |
2894 | + | |
2895 | - | local c2 = newPart(Effects, BrickColor.new("Storm blue"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon") |
2895 | + | local disabledw = true |
2896 | - | mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50)) |
2896 | + | function warnedpeople(text,represfont,color,color2) |
2897 | - | c2.Material = "Neon" |
2897 | + | if disabledw == false then |
2898 | - | c1.CFrame = targetchar.Torso.CFrame * CFrame.new(0, 0, 0) |
2898 | + | CFuncs["Sound"].Create("rbxassetid://1001942103", char, 3,1) |
2899 | - | c2.CFrame = targetchar.Torso.CFrame * CFrame.new(0, 0, 0) |
2899 | + | CFuncs["Sound"].Create("rbxassetid://534859302", char, 2.5,1) |
2900 | - | table.insert(partEffects, { |
2900 | + | CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1) |
2901 | - | c1, |
2901 | + | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
2902 | - | "Block2", |
2902 | + | |
2903 | - | 0.05, |
2903 | + | if v.PlayerGui:FindFirstChild("Spinny")~= nil then |
2904 | - | 1, |
2904 | + | v.PlayerGui:FindFirstChild("Spinny"):destroy() |
2905 | - | 1, |
2905 | + | |
2906 | - | 1, |
2906 | + | local scrg = Instance.new("ScreenGui",v.PlayerGui) |
2907 | - | c1.Mesh |
2907 | + | scrg.Name = "Spinny" |
2908 | - | }) |
2908 | + | local frm = Instance.new("Frame",scrg) |
2909 | - | table.insert(partEffects, { |
2909 | + | frm.BackgroundTransparency = 0.25 |
2910 | - | c2, |
2910 | + | frm.BackgroundColor3 = color |
2911 | - | "Block2", |
2911 | + | frm.BorderSizePixel = 0 |
2912 | - | 0.05, |
2912 | + | frm.Rotation = 45 |
2913 | - | 1, |
2913 | + | frm.Size = UDim2.new(3,0,0,100) |
2914 | - | 1, |
2914 | + | frm.Position = UDim2.new(-4,0,0,0) |
2915 | - | 1, |
2915 | + | local frm2 = frm:Clone() |
2916 | - | c1.Mesh |
2916 | + | frm2.Parent = scrg |
2917 | - | }) |
2917 | + | frm2.BackgroundColor3 = color2 |
2918 | - | local cpcolor = BrickColor.new("Bright red") |
2918 | + | frm2.Position = UDim2.new(-4.05,0,0,0) |
2919 | - | if magichit and magichit.ClassName == "Part" then |
2919 | + | local imlb = Instance.new("ImageLabel",scrg) |
2920 | - | cpcolor = magichit.BrickColor |
2920 | + | imlb.BackgroundTransparency = 1 |
2921 | imlb.BackgroundColor3 = Color3.new(0,0,0) | |
2922 | - | local cp1 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2922 | + | imlb.Image = "rbxassetid://2344851144" |
2923 | - | mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(5, 5, 5)) |
2923 | + | imlb.Size = UDim2.new(0,750,0,750) |
2924 | - | cp1.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z) |
2924 | + | imlb.ImageColor3 = color2 |
2925 | - | local cp2 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2925 | + | imlb.ImageTransparency = 0.25 |
2926 | - | mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10)) |
2926 | + | imlb.Position = UDim2.new(-2.5,0,-2.5,0) |
2927 | - | cp2.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z) |
2927 | + | local imlb2 = imlb:Clone() |
2928 | - | local cp3 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon") |
2928 | + | imlb2.Image = "rbxassetid://2325939897" |
2929 | - | mesh("SpecialMesh", cp3, "FileMesh", "20329976", nil, Vector3.new(15, 5, 15)) |
2929 | + | imlb2.Size = UDim2.new(1,0,1,0) |
2930 | - | cp3.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z) |
2930 | + | imlb2.ImageColor3 = color |
2931 | - | table.insert(partEffects, { |
2931 | + | imlb2.ImageTransparency = 0 |
2932 | - | cp3, |
2932 | + | imlb2.Position = UDim2.new(0,0,0,0) |
2933 | - | "Block2", |
2933 | + | local imlb3 = imlb:Clone() |
2934 | - | 0.05, |
2934 | + | imlb3.Image = "rbxassetid://2344830904" |
2935 | - | 0.2, |
2935 | + | imlb3.Size = UDim2.new(1,0,1,0) |
2936 | - | 0.2, |
2936 | + | imlb3.ImageColor3 = color2 |
2937 | - | 0.2, |
2937 | + | imlb3.ImageTransparency = 0 |
2938 | - | cp3.Mesh |
2938 | + | imlb3.Position = UDim2.new(0,0,0,0) |
2939 | - | }) |
2939 | + | local imlb4 = imlb:Clone() |
2940 | - | table.insert(partEffects, { |
2940 | + | imlb4.Image = "rbxassetid://2344870656" |
2941 | - | cp2, |
2941 | + | imlb4.Size = UDim2.new(1,0,1,0) |
2942 | - | "Block2", |
2942 | + | imlb4.ImageColor3 = Color3.new(1,1,1) |
2943 | - | 0.05, |
2943 | + | imlb4.ImageTransparency = 0 |
2944 | - | 0.2, |
2944 | + | imlb4.Position = UDim2.new(0,0,0,0) |
2945 | - | 0.15, |
2945 | + | imlb2.Parent = imlb |
2946 | - | 0.2, |
2946 | + | imlb3.Parent = imlb |
2947 | - | cp2.Mesh |
2947 | + | imlb4.Parent = imlb |
2948 | - | }) |
2948 | + | local txtlb2 = Instance.new("TextLabel",imlb) |
2949 | - | table.insert(partEffects, { |
2949 | + | txtlb2.Text = text |
2950 | - | cp1, |
2950 | + | txtlb2.Font = represfont |
2951 | - | "Block2", |
2951 | + | txtlb2.TextColor3 = color |
2952 | - | 0.05, |
2952 | + | txtlb2.TextStrokeTransparency = 0 |
2953 | - | 0.2, |
2953 | + | txtlb2.BackgroundTransparency = 1 |
2954 | - | 0.1, |
2954 | + | txtlb2.TextStrokeColor3 = color2 |
2955 | - | 0.2, |
2955 | + | txtlb2.TextScaled = true |
2956 | - | cp1.Mesh |
2956 | + | txtlb2.Size = UDim2.new(1,0,1,0) |
2957 | - | }) |
2957 | + | txtlb2.Position = UDim2.new(0,0,0,0) |
2958 | - | basic.Damage(Effects, targetchar.Humanoid, 12, BrickColor.new("Storm blue").Color) |
2958 | + | local fvalen = 0.55 |
2959 | local fval = -0.49 | |
2960 | coroutine.resume(coroutine.create(function() | |
2961 | - | charweld.Parent = nil |
2961 | + | while true do |
2962 | swait() | |
2963 | - | thread(function() |
2963 | + | if chaosmode == true then |
2964 | - | local cnow = dimcircle.CFrame |
2964 | + | txtlb2.Rotation = math.random(-1,1) |
2965 | - | for i = 0, 1, 0.05 do |
2965 | + | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
2966 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
2967 | - | g1.ImageTransparency = i |
2967 | + | imlb.ImageColor3 = BrickColor.random().Color |
2968 | - | g2.ImageTransparency = i |
2968 | + | txtlb2.TextStrokeColor3 = BrickColor.random().Color |
2969 | - | dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.new(0, 1 * i, 0), 0.1) |
2969 | + | |
2970 | end | |
2971 | - | dimcircle:Destroy() |
2971 | + | |
2972 | coroutine.resume(coroutine.create(function() | |
2973 | - | fp2:Destroy() |
2973 | + | while true do |
2974 | - | fp:Destroy() |
2974 | + | swait() |
2975 | - | if targetchar then |
2975 | + | if scrg.Parent ~= nil then |
2976 | - | RootPart.Anchored = false |
2976 | + | fvalen = fvalen - 0.0001 |
2977 | - | speed.Value = speed.Value + 10 |
2977 | + | elseif scrg.Parent == nil then |
2978 | break | |
2979 | - | speed.Value = speed.Value + 0.5 |
2979 | + | |
2980 | - | attacking.Value = false |
2980 | + | |
2981 | end)) | |
2982 | - | if key.KeyCode == Enum.KeyCode.Q then |
2982 | + | local flol = -5 |
2983 | - | if AttackHas[1] < AttackNeeded[1] or Energy.Value < Attack1Energy then |
2983 | + | local flil = 1.6 |
2984 | - | return |
2984 | + | |
2985 | for i = 0, 49 do | |
2986 | - | Energy.Value = Energy.Value - Attack1Energy |
2986 | + | |
2987 | - | AttackHas[1] = 0 |
2987 | + | flol = flol + 0.125 |
2988 | - | AttackCan[1] = false |
2988 | + | flil = flil - 0.1 |
2989 | - | if twistedmode == false then |
2989 | + | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) |
2990 | - | lecture() |
2990 | + | frm.Rotation = frm.Rotation - 0.25 |
2991 | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) | |
2992 | - | darkmeaning() |
2992 | + | frm2.Rotation = frm.Rotation + 0.325 |
2993 | imlb3.Rotation = imlb3.Rotation - 10 | |
2994 | - | AttackCan[1] = true |
2994 | + | imlb2.Rotation = imlb.Rotation + 7.5 |
2995 | imlb.Rotation = imlb.Rotation + 5 | |
2996 | - | if key.KeyCode == Enum.KeyCode.E then |
2996 | + | txtlb2.Rotation = txtlb2.Rotation - 5.125 |
2997 | - | if AttackHas[2] < AttackNeeded[2] or Energy.Value < Attack2Energy then |
2997 | + | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) |
2998 | - | return |
2998 | + | |
2999 | for i = 0, 99 do | |
3000 | - | if twistedmode == false then |
3000 | + | |
3001 | - | Energy.Value = Energy.Value - Attack2Energy |
3001 | + | fval = fval + 0.05 |
3002 | - | AttackHas[2] = 0 |
3002 | + | flol = flol + 0.005 |
3003 | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) | |
3004 | - | AttackCan[2] = false |
3004 | + | frm.Rotation = frm.Rotation - 0.075 |
3005 | - | if twistedmode == false then |
3005 | + | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) |
3006 | - | climax() |
3006 | + | frm2.Rotation = frm2.Rotation + 0.125 |
3007 | imlb3.Rotation = imlb3.Rotation - 2 | |
3008 | - | diminuendo() |
3008 | + | imlb2.Rotation = imlb.Rotation + 1.5 |
3009 | imlb.Rotation = imlb.Rotation + 1 | |
3010 | - | AttackCan[2] = true |
3010 | + | txtlb2.Rotation = txtlb2.Rotation - 1.125 |
3011 | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) | |
3012 | - | if key.KeyCode == Enum.KeyCode.R then |
3012 | + | |
3013 | - | if AttackHas[3] < AttackNeeded[3] or Energy.Value < Attack3Energy then |
3013 | + | local valinc = 0 |
3014 | - | return |
3014 | + | local vinc2 = 1 |
3015 | for i = 0, 99 do | |
3016 | - | Energy.Value = Energy.Value - Attack3Energy |
3016 | + | swait() |
3017 | - | AttackHas[3] = 0 |
3017 | + | vinc2 = vinc2 + 0.25 |
3018 | - | AttackCan[3] = false |
3018 | + | valinc = valinc + 0.0001 |
3019 | - | if twistedmode == false then |
3019 | + | flol = flol + valinc |
3020 | - | storyteller() |
3020 | + | flil = flil + valinc |
3021 | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 | |
3022 | - | heartbreaker() |
3022 | + | imlb3.Rotation = imlb3.Rotation - 2*vinc2 |
3023 | imlb.Rotation = imlb.Rotation + 1*vinc2 | |
3024 | - | AttackCan[3] = true |
3024 | + | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) |
3025 | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) | |
3026 | - | if key.KeyCode == Enum.KeyCode.F then |
3026 | + | frm.Rotation = frm.Rotation + 0.1*vinc2 |
3027 | - | if AttackHas[4] < AttackNeeded[4] or Energy.Value < Attack4Energy then |
3027 | + | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) |
3028 | - | return |
3028 | + | frm2.Rotation = frm2.Rotation + 0.225*vinc2 |
3029 | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 | |
3030 | - | Energy.Value = Energy.Value - Attack4Energy |
3030 | + | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 |
3031 | - | AttackHas[4] = 0 |
3031 | + | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 |
3032 | - | AttackCan[4] = false |
3032 | + | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 |
3033 | - | if twistedmode == false then |
3033 | + | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 |
3034 | - | twistedmode = true |
3034 | + | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 |
3035 | - | plottwist() |
3035 | + | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
3036 | - | Atk1.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63) |
3036 | + | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
3037 | - | Atk2.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63) |
3037 | + | |
3038 | - | Atk3.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63) |
3038 | + | scrg:Destroy() |
3039 | - | Atk4.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63) |
3039 | + | |
3040 | - | Atk1.AttackLabel.Text = U_A1_Name |
3040 | + | |
3041 | - | Atk2.AttackLabel.Text = U_A2_Name |
3041 | + | |
3042 | - | Atk3.AttackLabel.Text = U_A3_Name |
3042 | + | |
3043 | - | Atk4.AttackLabel.Text = U_A4_Name |
3043 | + | |
3044 | - | charStats.Attack.Value = charStats.Attack.Value + 0.1 |
3044 | + | |
3045 | - | charStats.Defense.Value = charStats.Defense.Value + 0.1 |
3045 | + | --save shoulders |
3046 | - | charStats.Speed.Value = charStats.Speed.Value - 0.2 |
3046 | + | --[[RSH, LSH=nil, nil |
3047 | --welds | |
3048 | - | twistedmode = false |
3048 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
3049 | - | theend() |
3049 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
3050 | - | Atk1.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42) |
3050 | + | LH=Torso["Left Hip"] |
3051 | - | Atk2.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42) |
3051 | + | RH=Torso["Right Hip"] |
3052 | - | Atk3.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42) |
3052 | + | TorsoColor=Torso.BrickColor |
3053 | - | Atk4.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42) |
3053 | + | |
3054 | - | Atk1.AttackLabel.Text = N_A1_Name |
3054 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
3055 | - | Atk2.AttackLabel.Text = N_A2_Name |
3055 | + | |
3056 | - | Atk3.AttackLabel.Text = N_A3_Name |
3056 | + | ch=Character |
3057 | - | Atk4.AttackLabel.Text = N_A4_Name |
3057 | + | RSH=ch.Torso["Right Shoulder"] |
3058 | - | charStats.Attack.Value = charStats.Attack.Value - 0.1 |
3058 | + | LSH=ch.Torso["Left Shoulder"] |
3059 | - | charStats.Defense.Value = charStats.Defense.Value - 0.1 |
3059 | + | -- |
3060 | - | charStats.Speed.Value = charStats.Speed.Value + 0.2 |
3060 | + | RSH.Parent=nil |
3061 | LSH.Parent=nil ]]-- | |
3062 | - | AttackCan[4] = true |
3062 | + | -- |
3063 | RW.Name="Right Shoulder" | |
3064 | RW.Part0=char.Torso | |
3065 | - | thread(function() |
3065 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
3066 | - | tweentick = 45 |
3066 | + | RW.C1=cf(0, 0.5, 0) |
3067 | - | tweenrot = 0.9 |
3067 | + | RW.Part1=char["Right Arm"] |
3068 | - | tweenrotm = 0.15 |
3068 | + | RW.Parent=char.Torso |
3069 | - | local enhancedis = false |
3069 | + | -- |
3070 | - | local alreadyenhance = false |
3070 | + | LW.Name="Left Shoulder" |
3071 | - | local pem = script.ParticleEmitter:Clone() |
3071 | + | LW.Part0=char.Torso |
3072 | - | while true do |
3072 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
3073 | LW.C1=cf(0, 0.5, 0) | |
3074 | - | LH:SetDesiredAngle(0.161) |
3074 | + | LW.Part1=char["Left Arm"] |
3075 | - | RH:SetDesiredAngle(-0161) |
3075 | + | LW.Parent=char.Torso |
3076 | - | sinecount = sinecount + 1 |
3076 | + | |
3077 | - | normcount = normcount + 1 |
3077 | + | local donum=0 |
3078 | - | local sinewave = math.sin(sinecount * 3 / 75) * 0.2 |
3078 | + | |
3079 | - | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
3079 | + | |
3080 | - | local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) |
3080 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
3081 | - | magichit, magicfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 12, char) |
3081 | + | local fp=it("Part") |
3082 | - | for i, v in ipairs(debuffstab) do |
3082 | + | fp.formFactor=formfactor |
3083 | - | local child = v[1] |
3083 | + | fp.Parent=parent |
3084 | - | v[2] = v[2] + frame |
3084 | + | fp.Reflectance=reflectance |
3085 | - | if v[2] > child.Duration.Value then |
3085 | + | fp.Transparency=transparency |
3086 | - | local targetStat = charStats:FindFirstChild(child.Type.Value) |
3086 | + | fp.CanCollide=false |
3087 | - | if targetStat then |
3087 | + | fp.Locked=true |
3088 | - | targetStat.Value = targetStat.Value + child.Amount.Value |
3088 | + | fp.BrickColor=brickcolor |
3089 | - | table.remove(debuffstab, i) |
3089 | + | fp.Name=name |
3090 | - | child:Destroy() |
3090 | + | fp.Size=size |
3091 | fp.Position=Torso.Position | |
3092 | NoOutline(fp) | |
3093 | fp.Material="SmoothPlastic" | |
3094 | - | if 0.2 >= humanoid.Health / humanoid.MaxHealth then |
3094 | + | fp:BreakJoints() |
3095 | - | if alreadyenhance == false then |
3095 | + | return fp |
3096 | - | alreadyenhance = true |
3096 | + | end |
3097 | - | enhancedis = false |
3097 | + | |
3098 | - | charStats.Speed.Value = charStats.Speed.Value + 0.1 |
3098 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
3099 | - | charStats.Attack.Value = charStats.Attack.Value + 0.1 |
3099 | + | local mesh=it(Mesh) |
3100 | - | pem.Parent = RootPart |
3100 | + | mesh.Parent=part |
3101 | if Mesh=="SpecialMesh" then | |
3102 | - | elseif enhancedis == false then |
3102 | + | mesh.MeshType=meshtype |
3103 | - | alreadyenhance = false |
3103 | + | if meshid~="nil" then |
3104 | - | enhancedis = true |
3104 | + | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
3105 | - | charStats.Speed.Value = charStats.Speed.Value - 0.1 |
3105 | + | |
3106 | - | charStats.Attack.Value = charStats.Attack.Value - 0.1 |
3106 | + | |
3107 | - | pem.Parent = nil |
3107 | + | mesh.Offset=offset |
3108 | mesh.Scale=scale | |
3109 | - | if attacking.Value == false then |
3109 | + | return mesh |
3110 | - | if 1 < RootPart.Velocity.y and hitfloor == nil then |
3110 | + | |
3111 | - | sinecount = 0 |
3111 | + | |
3112 | - | Anim = "Jump" |
3112 | + | function weld(parent,part0,part1,c0) |
3113 | - | Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1) |
3113 | + | local weld=it("Weld") |
3114 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2) |
3114 | + | weld.Parent=parent |
3115 | - | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) |
3115 | + | weld.Part0=part0 |
3116 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2) |
3116 | + | weld.Part1=part1 |
3117 | - | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) |
3117 | + | weld.C0=c0 |
3118 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2) |
3118 | + | return weld |
3119 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2) |
3119 | + | |
3120 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2) |
3120 | + | |
3121 | - | elseif RootPart.Velocity.y < -1 and hitfloor == nil then |
3121 | + | local Color1=Torso.BrickColor |
3122 | - | sinecount = 0 |
3122 | + | |
3123 | - | Anim = "Fall" |
3123 | + | local bodvel=Instance.new("BodyVelocity") |
3124 | - | Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(23), 0, 0), 0.2) |
3124 | + | local bg=Instance.new("BodyGyro") |
3125 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2) |
3125 | + | |
3126 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2) |
3126 | + | --------- SazEreno's Artificial HB -------------- |
3127 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2) |
3127 | + | |
3128 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2) |
3128 | + | ArtificialHB.Name = "ArtificialHB" |
3129 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2) |
3129 | + | |
3130 | - | elseif torvel < 1 and hitfloor ~= nil then |
3130 | + | script:WaitForChild("ArtificialHB") |
3131 | - | sinecount = 0 |
3131 | + | Frame_Speed = 1 / 60 |
3132 | - | Anim = "Idle" |
3132 | + | frame = Frame_Speed |
3133 | - | if twistedmode == false then |
3133 | + | |
3134 | - | playAnimationFromTable(CFrame.Angles(0.1 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.1 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0.0404853821, 1.00440443, 0.0525856018, -0.86599648, 0.493436307, -0.0809658095, -0.0177140161, 0.131543845, 0.991155446, 0.499724776, 0.859765887, -0.105175421), CFrame.new(0, -0.0499999523 + 0.5 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.864805222, -0.501799822, -0.0175541062, -8.49291973E-5, -0.0348144583, 0.999394238, -0.50210613, 0.864282131, 0.0300651658), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(1.35509872, 0.527938128, 0.0837039948, 0.963287234, -0.207916737, -0.169844538, 0.204758286, 0.97814697, -0.0361037552, 0.173638761, 1.42306089E-6, 0.984808803), CFrame.Angles(0, 0, -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.43372726, 0.535620093, 0.0846061707, 0.987847567, 0.0694380477, 0.139026701, -0.0692677349, 0.997579992, -0.00606484152, -0.139112502, -0.00363902375, 0.990269542), CFrame.new(0.966060638, -0.969251156 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00110626221, 0.00122004747, -0.0697359443, 0.997568369, -0.0348784849, 0.99695766, 0.069735229, -0.999396086, -0.0348780826, -0.00122025609), CFrame.new(-0.966060638, -0.969291687 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00345230103, -0.00121989846, 0.0697781444, -0.997567534, 0.034878429, 0.996961176, 0.0696933866, 0.999396801, -0.0347085334, -0.00364613533), nil, 0.1, 0.1, 0.1, 0.1) |
3134 | + | allowframeloss = false |
3135 | - | else |
3135 | + | |
3136 | - | playAnimationFromTable(CFrame.Angles(-0.1 + 0.1 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.1 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0.0404853821, 1.00440443, 0.0525856018, -0.86599648, 0.493436307, -0.0809658095, -0.0177140161, 0.131543845, 0.991155446, 0.499724776, 0.859765887, -0.105175421), CFrame.new(0, -0.0499999523 + 0.5 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.864805222, -0.501799822, -0.0175541062, -8.49291973E-5, -0.0348144583, 0.999394238, -0.50210613, 0.864282131, 0.0300651658), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(1.35509872, 0.527938128, 0.0837039948, 0.963287234, -0.207916737, -0.169844538, 0.204758286, 0.97814697, -0.0361037552, 0.173638761, 1.42306089E-6, 0.984808803), CFrame.Angles(0, 0, -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.43372726, 0.535620093, 0.0846061707, 0.987847567, 0.0694380477, 0.139026701, -0.0692677349, 0.997579992, -0.00606484152, -0.139112502, -0.00363902375, 0.990269542), CFrame.new(0.966060638, -0.969251156 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00110626221, 0.00122004747, -0.0697359443, 0.997568369, -0.0348784849, 0.99695766, 0.069735229, -0.999396086, -0.0348780826, -0.00122025609), CFrame.new(-0.966060638, -0.969291687 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00345230103, -0.00121989846, 0.0697781444, -0.997567534, 0.034878429, 0.996961176, 0.0696933866, 0.999396801, -0.0347085334, -0.00364613533), nil, 0.1, 0.1, 0.1, 0.1) |
3136 | + | |
3137 | script.ArtificialHB:Fire() | |
3138 | - | handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.2) |
3138 | + | |
3139 | - | elseif torvel > 1 and hitfloor ~= nil then |
3139 | + | |
3140 | - | Anim = "Walk" |
3140 | + | |
3141 | - | if twistedmode == false then |
3141 | + | |
3142 | - | playAnimationFromTable(CFrame.new(0, 1.03692579, -0.0110797882, -1, 0, -8.74227766E-8, -8.60946656E-8, 0.173648223, 0.984808207, 1.51808095E-8, 0.984808207, -0.173648223), CFrame.Angles(math.rad(-5), 0, 0) * CFrame.new(0, 0, 0, -1, 8.74227766E-8, 0, 3.99680289E-15, 4.47034836E-8, 1.00000012, 8.74227766E-8, 1.00000012, -4.47034836E-8), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0, -0.1, 0) * CFrame.new(0.986808777, 0.377210855, -0.551919937, 0.159554228, 0.973545909, 0.163548127, 0.00447136909, 0.164957806, -0.986282706, -0.987170279, 0.158103809, 0.0219678506), CFrame.Angles(0, math.rad(-15), -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.45027161, 0.43655014, 0.161951065, 0.994699717, 0.0994522646, 0.0261312705, -0.101993509, 0.921928883, 0.373694718, 0.013073599, -0.37437892, 0.927185178), CFrame.new(1, -1 - 0.25 * math.cos(sinecount / 8) / 2, 0 + 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(-45 * math.sin(sinecount / 8)), math.rad(90), math.rad(0)), CFrame.new(-1, -1 + 0.25 * math.cos(sinecount / 8) / 2, 0 - 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(45 * math.sin(sinecount / 8)), math.rad(-90), math.rad(0)), nil, 0.15, 0.2, 0.1 * (speed.Value * 1), 0.2) |
3142 | + | |
3143 | - | handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.new(0.3, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(5), math.rad(5)), 0.2) |
3143 | + | script.ArtificialHB:Fire() |
3144 | - | else |
3144 | + | |
3145 | - | Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(5), 0, 0), 0.1) |
3145 | + | |
3146 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, 0), 0.1) |
3146 | + | |
3147 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(17 * math.sin(sinecount / 8)), 0, math.rad(6)), 0.2) |
3147 | + | script.ArtificialHB:Fire() |
3148 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17 * math.sin(sinecount / 8)), 0, -math.rad(6)), 0.2) |
3148 | + | |
3149 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1 - 0.25 * math.cos(sinecount / 8) / 2, 0 + 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(-45 * math.sin(sinecount / 8)), math.rad(90), math.rad(0)), 0.1) |
3149 | + | lastframe = tick() |
3150 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.25 * math.cos(sinecount / 8) / 2, 0 - 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(45 * math.sin(sinecount / 8)), math.rad(-90), math.rad(0)), 0.1) |
3150 | + | |
3151 | - | handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.2) |
3151 | + | |
3152 | tf = 0 | |
3153 | else | |
3154 | tf = tf - frame * math.floor(tf / frame) | |
3155 | - | if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then |
3155 | + | |
3156 | - | AttackHas[1] = AttackHas[1] + 0.002 |
3156 | + | |
3157 | end) | |
3158 | - | if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then |
3158 | + | |
3159 | - | AttackHas[2] = AttackHas[2] + 0.001 |
3159 | + | ------------------ |
3160 | function swait(num) | |
3161 | - | if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then |
3161 | + | if num == 0 or num == nil then |
3162 | - | AttackHas[3] = AttackHas[3] + 7.5E-4 |
3162 | + | |
3163 | else | |
3164 | - | if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then |
3164 | + | for i = 1, num do |
3165 | - | AttackHas[4] = AttackHas[4] + 1 |
3165 | + | |
3166 | end | |
3167 | - | Re1:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4) |
3167 | + | |
3168 | - | Re2:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4) |
3168 | + | |
3169 | - | Re3:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4) |
3169 | + | |
3170 | - | Re4:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4) |
3170 | + | -------- RAINBOW LEAVE IT TO ME |
3171 | - | for i = 1, #partEffects do |
3171 | + | local r = 255 |
3172 | - | if partEffects[i] ~= nil then |
3172 | + | local g = 0 |
3173 | - | local Thing = partEffects[i] |
3173 | + | local b = 0 |
3174 | - | if Thing ~= nil then |
3174 | + | |
3175 | - | local Part = Thing[1] |
3175 | + | while wait() do |
3176 | - | local Type = Thing[2] |
3176 | + | for i = 0, 254/5 do |
3177 | - | local Increment = Thing[3] |
3177 | + | |
3178 | - | local IncX = Thing[4] |
3178 | + | g = g + 5 |
3179 | - | local IncY = Thing[5] |
3179 | + | |
3180 | - | local IncZ = Thing[6] |
3180 | + | for i = 0, 254/5 do |
3181 | - | local SizeX = Thing[7] |
3181 | + | |
3182 | - | local SizeY = Thing[8] |
3182 | + | r = r - 5 |
3183 | - | local SizeZ = Thing[9] |
3183 | + | |
3184 | - | if 1 >= Thing[1].Transparency then |
3184 | + | for i = 0, 254/5 do |
3185 | - | if Thing[2] == "Block1" then |
3185 | + | |
3186 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
3186 | + | b = b + 5 |
3187 | - | local Mesh = Thing[1].Mesh |
3187 | + | |
3188 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3188 | + | for i = 0, 254/5 do |
3189 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3189 | + | |
3190 | - | elseif Thing[2] == "Block2" then |
3190 | + | g = g - 5 |
3191 | - | Thing[1].CFrame = Thing[1].CFrame |
3191 | + | |
3192 | - | local Mesh = Thing[7] |
3192 | + | for i = 0, 254/5 do |
3193 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3193 | + | |
3194 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3194 | + | r = r + 5 |
3195 | - | elseif Thing[2] == "Cylinder" then |
3195 | + | |
3196 | - | local Mesh = Thing[1].Mesh |
3196 | + | for i = 0, 254/5 do |
3197 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3197 | + | |
3198 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3198 | + | b = b - 5 |
3199 | - | elseif Thing[2] == "Blood" then |
3199 | + | |
3200 | - | local Mesh = Thing[7] |
3200 | + | |
3201 | - | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) |
3201 | + | |
3202 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3202 | + | |
3203 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3203 | + | |
3204 | - | elseif Thing[2] == "Elec" then |
3204 | + | so = function(id,par,vol,pit) |
3205 | - | local Mesh = Thing[1].Mesh |
3205 | + | |
3206 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) |
3206 | + | local sou = Instance.new("Sound",par or workspace) |
3207 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3207 | + | sou.Volume=vol |
3208 | - | elseif Thing[2] == "Disappear" then |
3208 | + | sou.Pitch=pit or 1 |
3209 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3209 | + | sou.SoundId=id |
3210 | - | elseif Thing[2] == "Shatter" then |
3210 | + | swait() |
3211 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3211 | + | sou:play() |
3212 | - | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) |
3212 | + | game:GetService("Debris"):AddItem(sou,6) |
3213 | - | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) |
3213 | + | |
3214 | - | Thing[6] = Thing[6] + Thing[5] |
3214 | + | |
3215 | - | elseif Thing[2] == "Block3" then |
3215 | + | |
3216 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3216 | + | function clerp(a,b,t) |
3217 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(Thing[4], Thing[5], Thing[6]) |
3217 | + | local qa = {QuaternionFromCFrame(a)} |
3218 | local qb = {QuaternionFromCFrame(b)} | |
3219 | - | else |
3219 | + | local ax, ay, az = a.x, a.y, a.z |
3220 | - | Part:Destroy() |
3220 | + | local bx, by, bz = b.x, b.y, b.z |
3221 | - | table.remove(partEffects, i) |
3221 | + | local _t = 1-t |
3222 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
3223 | end | |
3224 | ||
3225 | function QuaternionFromCFrame(cf) | |
3226 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
3227 | local trace = m00 + m11 + m22 | |
3228 | if trace > 0 then | |
3229 | - | Model38.Name = "Eldrich" |
3229 | + | local s = math.sqrt(1 + trace) |
3230 | - | Model38.Parent = LocalScript37 |
3230 | + | local recip = 0.5/s |
3231 | - | Part39.Name = "NEON" |
3231 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
3232 | - | Part39.Parent = Model38 |
3232 | + | else |
3233 | - | Part39.BrickColor = BrickColor.new("Bright yellow") |
3233 | + | local i = 0 |
3234 | - | Part39.Rotation = Vector3.new(-180, 0, -180) |
3234 | + | if m11 > m00 then |
3235 | - | Part39.CanCollide = false |
3235 | + | i = 1 |
3236 | - | Part39.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3236 | + | |
3237 | - | Part39.CFrame = CFrame.new(0.0489996336, 0.250009, 0.0279978476, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3237 | + | if m22 > (i == 0 and m00 or m11) then |
3238 | - | Part39.Color = Color3.new(0.960784, 0.803922, 0.188235) |
3238 | + | i = 2 |
3239 | - | Part39.Position = Vector3.new(0.0489996336, 0.250009, 0.0279978476) |
3239 | + | end |
3240 | - | Part39.Orientation = Vector3.new(0, -180, 0) |
3240 | + | if i == 0 then |
3241 | - | Part39.Color = Color3.new(0.960784, 0.803922, 0.188235) |
3241 | + | local s = math.sqrt(m00-m11-m22+1) |
3242 | - | SpecialMesh40.Parent = Part39 |
3242 | + | local recip = 0.5/s |
3243 | - | SpecialMesh40.MeshId = "rbxassetid://881345275" |
3243 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
3244 | - | SpecialMesh40.MeshType = Enum.MeshType.FileMesh |
3244 | + | elseif i == 1 then |
3245 | - | Weld41.Parent = Part39 |
3245 | + | local s = math.sqrt(m11-m22-m00+1) |
3246 | - | Weld41.C0 = CFrame.new(-1.40100169, -0.244001999, 0.0279960856, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3246 | + | local recip = 0.5/s |
3247 | - | Weld41.C1 = CFrame.new(-1.71500194, -0.100001998, 0.0349952057, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3247 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
3248 | - | Weld41.Part0 = Part39 |
3248 | + | elseif i == 2 then |
3249 | - | Weld41.Part1 = Part42 |
3249 | + | local s = math.sqrt(m22-m00-m11+1) |
3250 | - | Part42.Name = "STRAP" |
3250 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
3251 | - | Part42.Parent = Model38 |
3251 | + | end |
3252 | - | Part42.BrickColor = BrickColor.new("Black") |
3252 | + | end |
3253 | - | Part42.Rotation = Vector3.new(-180, 0, -180) |
3253 | + | |
3254 | - | Part42.CanCollide = false |
3254 | + | |
3255 | - | Part42.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3255 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
3256 | - | Part42.CFrame = CFrame.new(-0.265000045, 0.106008999, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3256 | + | local xs, ys, zs = x + x, y + y, z + z |
3257 | - | Part42.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3257 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
3258 | - | Part42.Position = Vector3.new(-0.265000045, 0.106008999, 0.0349968635) |
3258 | + | local xx = x*xs |
3259 | - | Part42.Orientation = Vector3.new(0, -180, 0) |
3259 | + | local xy = x*ys |
3260 | - | Part42.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3260 | + | local xz = x*zs |
3261 | - | SpecialMesh43.Parent = Part42 |
3261 | + | local yy = y*ys |
3262 | - | SpecialMesh43.MeshId = "rbxassetid://881345519" |
3262 | + | local yz = y*zs |
3263 | - | SpecialMesh43.MeshType = Enum.MeshType.FileMesh |
3263 | + | local zz = z*zs |
3264 | - | Weld44.Parent = Part42 |
3264 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
3265 | - | Weld44.C0 = CFrame.new(-1.71500194, -0.100001998, 0.0349952057, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3265 | + | |
3266 | - | Weld44.C1 = CFrame.new(-1.36100149, -0.116002001, 0.0349962041, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3266 | + | |
3267 | - | Weld44.Part0 = Part42 |
3267 | + | function QuaternionSlerp(a, b, t) |
3268 | - | Weld44.Part1 = Part45 |
3268 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
3269 | - | Part45.Name = "PAGE" |
3269 | + | local startInterp, finishInterp; |
3270 | - | Part45.Parent = Model38 |
3270 | + | if cosTheta >= 0.0001 then |
3271 | - | Part45.BrickColor = BrickColor.new("Burlap") |
3271 | + | if (1 - cosTheta) > 0.0001 then |
3272 | - | Part45.Rotation = Vector3.new(-180, 0, -180) |
3272 | + | local theta = math.acos(cosTheta) |
3273 | - | Part45.CanCollide = false |
3273 | + | local invSinTheta = 1/math.sin(theta) |
3274 | - | Part45.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3274 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
3275 | - | Part45.CFrame = CFrame.new(0.0889995992, 0.122009002, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3275 | + | finishInterp = math.sin(t*theta)*invSinTheta |
3276 | - | Part45.Color = Color3.new(0.780392, 0.67451, 0.470588) |
3276 | + | else |
3277 | - | Part45.Position = Vector3.new(0.0889995992, 0.122009002, 0.0349968635) |
3277 | + | startInterp = 1-t |
3278 | - | Part45.Orientation = Vector3.new(0, -180, 0) |
3278 | + | finishInterp = t |
3279 | - | Part45.Color = Color3.new(0.780392, 0.67451, 0.470588) |
3279 | + | end |
3280 | - | SpecialMesh46.Parent = Part45 |
3280 | + | else |
3281 | - | SpecialMesh46.MeshId = "rbxassetid://881346767" |
3281 | + | if (1+cosTheta) > 0.0001 then |
3282 | - | SpecialMesh46.MeshType = Enum.MeshType.FileMesh |
3282 | + | local theta = math.acos(-cosTheta) |
3283 | - | Weld47.Parent = Part45 |
3283 | + | local invSinTheta = 1/math.sin(theta) |
3284 | - | Weld47.C0 = CFrame.new(-1.36100149, -0.116002001, 0.0349962041, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3284 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
3285 | - | Weld47.C1 = CFrame.new(-1.3960017, -0.104001999, 0.0359961055, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3285 | + | finishInterp = math.sin(t*theta)*invSinTheta |
3286 | - | Weld47.Part0 = Part45 |
3286 | + | else |
3287 | - | Weld47.Part1 = Part48 |
3287 | + | startInterp = t-1 |
3288 | - | Part48.Name = "RIBBON" |
3288 | + | finishInterp = t |
3289 | - | Part48.Parent = Model38 |
3289 | + | end |
3290 | - | Part48.BrickColor = BrickColor.new("Cool yellow") |
3290 | + | end |
3291 | - | Part48.Rotation = Vector3.new(-180, 0, -180) |
3291 | + | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
3292 | - | Part48.CanCollide = false |
3292 | + | |
3293 | - | Part48.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3293 | + | |
3294 | - | Part48.CFrame = CFrame.new(0.0539997481, 0.110009, 0.0360001288, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3294 | + | local function CFrameFromTopBack(at, top, back) |
3295 | - | Part48.Color = Color3.new(0.992157, 0.917647, 0.552941) |
3295 | + | local right = top:Cross(back) |
3296 | - | Part48.Position = Vector3.new(0.0539997481, 0.110009, 0.0360001288) |
3296 | + | return CFrame.new(at.x, at.y, at.z, |
3297 | - | Part48.Orientation = Vector3.new(0, -180, 0) |
3297 | + | right.x, top.x, back.x, |
3298 | - | Part48.Color = Color3.new(0.992157, 0.917647, 0.552941) |
3298 | + | right.y, top.y, back.y, |
3299 | - | SpecialMesh49.Parent = Part48 |
3299 | + | right.z, top.z, back.z) |
3300 | - | SpecialMesh49.MeshId = "rbxassetid://881346530" |
3300 | + | |
3301 | - | SpecialMesh49.MeshType = Enum.MeshType.FileMesh |
3301 | + | |
3302 | - | Weld50.Parent = Part48 |
3302 | + | function Triangle(a, b, c) |
3303 | - | Weld50.C0 = CFrame.new(-1.3960017, -0.104001999, 0.0359961055, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3303 | + | local edg1 = (c-a):Dot((b-a).unit) |
3304 | - | Weld50.C1 = CFrame.new(-1.63900197, -0.254000992, 0.0349954218, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3304 | + | local edg2 = (a-b):Dot((c-b).unit) |
3305 | - | Weld50.Part0 = Part48 |
3305 | + | local edg3 = (b-c):Dot((a-c).unit) |
3306 | - | Weld50.Part1 = Part51 |
3306 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
3307 | - | Part51.Name = "BELT" |
3307 | + | a, b, c = a, b, c |
3308 | - | Part51.Parent = Model38 |
3308 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
3309 | - | Part51.BrickColor = BrickColor.new("Cocoa") |
3309 | + | a, b, c = b, c, a |
3310 | - | Part51.Rotation = Vector3.new(-180, 0, -180) |
3310 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
3311 | - | Part51.CanCollide = false |
3311 | + | a, b, c = c, a, b |
3312 | - | Part51.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3312 | + | else |
3313 | - | Part51.CFrame = CFrame.new(-0.189000309, 0.260008007, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3313 | + | assert(false, "unreachable") |
3314 | - | Part51.Color = Color3.new(0.337255, 0.141176, 0.141176) |
3314 | + | |
3315 | - | Part51.Position = Vector3.new(-0.189000309, 0.260008007, 0.0349968635) |
3315 | + | |
3316 | - | Part51.Orientation = Vector3.new(0, -180, 0) |
3316 | + | local len1 = (c-a):Dot((b-a).unit) |
3317 | - | Part51.Color = Color3.new(0.337255, 0.141176, 0.141176) |
3317 | + | local len2 = (b-a).magnitude - len1 |
3318 | - | SpecialMesh52.Parent = Part51 |
3318 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
3319 | - | SpecialMesh52.MeshId = "rbxassetid://881348988" |
3319 | + | |
3320 | - | SpecialMesh52.MeshType = Enum.MeshType.FileMesh |
3320 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
3321 | - | Weld53.Parent = Part51 |
3321 | + | |
3322 | - | Weld53.C0 = CFrame.new(-1.63900197, -0.254000992, 0.0349954218, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3322 | + | local list = {} |
3323 | - | Weld53.C1 = CFrame.new(-1.3510015, -0.104001999, 0.0319962315, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3323 | + | |
3324 | - | Weld53.Part0 = Part51 |
3324 | + | if len1 > 0.01 then |
3325 | - | Weld53.Part1 = Part54 |
3325 | + | local w1 = Instance.new('WedgePart', m) |
3326 | - | Part54.Name = "COVER" |
3326 | + | game:GetService("Debris"):AddItem(w1,5) |
3327 | - | Part54.Parent = Model38 |
3327 | + | w1.Material = "SmoothPlastic" |
3328 | - | Part54.BrickColor = BrickColor.new("Dirt brown") |
3328 | + | w1.FormFactor = 'Custom' |
3329 | - | Part54.Rotation = Vector3.new(-180, 0, -180) |
3329 | + | w1.BrickColor = BrickColor.new("Really red") |
3330 | - | Part54.CanCollide = false |
3330 | + | w1.Transparency = 0 |
3331 | - | Part54.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3331 | + | w1.Reflectance = 0 |
3332 | - | Part54.CFrame = CFrame.new(0.0989998281, 0.110009, 0.0319994651, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3332 | + | w1.Material = "SmoothPlastic" |
3333 | - | Part54.Color = Color3.new(0.337255, 0.258824, 0.211765) |
3333 | + | w1.CanCollide = false |
3334 | - | Part54.Position = Vector3.new(0.0989998281, 0.110009, 0.0319994651) |
3334 | + | local l1 = Instance.new("PointLight",w1) |
3335 | - | Part54.Orientation = Vector3.new(0, -180, 0) |
3335 | + | l1.Color = Color3.new(170,0,0) |
3336 | - | Part54.Color = Color3.new(0.337255, 0.258824, 0.211765) |
3336 | + | NoOutline(w1) |
3337 | - | SpecialMesh55.Parent = Part54 |
3337 | + | local sz = Vector3.new(0.2, width, len1) |
3338 | - | SpecialMesh55.MeshId = "rbxassetid://881344767" |
3338 | + | w1.Size = sz |
3339 | - | SpecialMesh55.MeshType = Enum.MeshType.FileMesh |
3339 | + | local sp = Instance.new("SpecialMesh",w1) |
3340 | - | Weld56.Parent = Part54 |
3340 | + | sp.MeshType = "Wedge" |
3341 | - | Weld56.C0 = CFrame.new(-1.3510015, -0.104001999, 0.0319962315, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3341 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
3342 | - | Weld56.C1 = CFrame.new(-0.801001132, -0.0940020084, 0.027997775, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) |
3342 | + | w1:BreakJoints() |
3343 | - | Weld56.Part0 = Part54 |
3343 | + | w1.Anchored = true |
3344 | - | Weld56.Part1 = Part57 |
3344 | + | w1.Parent = workspace |
3345 | - | Part57.Name = "Handle" |
3345 | + | w1.Transparency = 0.7 |
3346 | - | Part57.Parent = Model38 |
3346 | + | table.insert(Effects,{w1,"Disappear",.01}) |
3347 | - | Part57.BrickColor = BrickColor.new("Cool yellow") |
3347 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
3348 | - | Part57.Transparency = 1 |
3348 | + | table.insert(list,w1) |
3349 | - | Part57.Rotation = Vector3.new(-180, 0, -180) |
3349 | + | |
3350 | - | Part57.CanCollide = false |
3350 | + | |
3351 | - | Part57.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3351 | + | if len2 > 0.01 then |
3352 | - | Part57.CFrame = CFrame.new(0.648999512, 0.100009002, 0.0279978476, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1) |
3352 | + | local w2 = Instance.new('WedgePart', m) |
3353 | - | Part57.Color = Color3.new(0.992157, 0.917647, 0.552941) |
3353 | + | game:GetService("Debris"):AddItem(w2,5) |
3354 | - | Part57.Position = Vector3.new(0.648999512, 0.100009002, 0.0279978476) |
3354 | + | w2.Material = "SmoothPlastic" |
3355 | - | Part57.Orientation = Vector3.new(0, -180, 0) |
3355 | + | w2.FormFactor = 'Custom' |
3356 | - | Part57.Color = Color3.new(0.992157, 0.917647, 0.552941) |
3356 | + | w2.BrickColor = BrickColor.new("Really red") |
3357 | - | ParticleEmitter58.Parent = LocalScript37 |
3357 | + | w2.Transparency = 0 |
3358 | - | ParticleEmitter58.Transparency = NumberSequence.new(0,0.53125,0,1,0) |
3358 | + | w2.Reflectance = 0 |
3359 | - | ParticleEmitter58.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.976471, 0.278431),Color3.new(1, 1, 1)) |
3359 | + | w2.Material = "SmoothPlastic" |
3360 | - | ParticleEmitter58.LightEmission = 1 |
3360 | + | w2.CanCollide = false |
3361 | - | ParticleEmitter58.ZOffset = 3 |
3361 | + | local l2 = Instance.new("PointLight",w2) |
3362 | - | ParticleEmitter58.Lifetime = NumberRange.new(0.5, 1) |
3362 | + | l2.Color = Color3.new(170,0,0) |
3363 | - | ParticleEmitter58.VelocitySpread = 180 |
3363 | + | NoOutline(w2) |
3364 | - | ParticleEmitter58.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.976471, 0.278431),Color3.new(1, 1, 1)) |
3364 | + | local sz = Vector3.new(0.2, width, len2) |
3365 | w2.Size = sz | |
3366 | - | v.Parent = game:GetService("Players").LocalPlayer.PlayerGui |
3366 | + | local sp = Instance.new("SpecialMesh",w2) |
3367 | sp.MeshType = "Wedge" | |
3368 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
3369 | w2:BreakJoints() | |
3370 | w2.Anchored = true | |
3371 | w2.Parent = workspace | |
3372 | w2.Transparency = 0.7 | |
3373 | table.insert(Effects,{w2,"Disappear",.01}) | |
3374 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
3375 | table.insert(list,w2) | |
3376 | end | |
3377 | return unpack(list) | |
3378 | end | |
3379 | ||
3380 | ||
3381 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
3382 | if hit.Parent == nil then | |
3383 | return | |
3384 | end | |
3385 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
3386 | for _, v in pairs(hit.Parent:children()) do | |
3387 | if v:IsA("Humanoid") then | |
3388 | h = v | |
3389 | end | |
3390 | end | |
3391 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
3392 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
3393 | return | |
3394 | end | |
3395 | local c = Create("ObjectValue")({ | |
3396 | Name = "creator", | |
3397 | Value = game:GetService("Players").LocalPlayer, | |
3398 | Parent = h | |
3399 | }) | |
3400 | game:GetService("Debris"):AddItem(c, 0.5) | |
3401 | if HitSound ~= nil and HitPitch ~= nil then | |
3402 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
3403 | end | |
3404 | local Damage = math.random(minim, maxim) | |
3405 | local blocked = false | |
3406 | local block = hit.Parent:findFirstChild("Block") | |
3407 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
3408 | blocked = true | |
3409 | block.Value = block.Value - 1 | |
3410 | print(block.Value) | |
3411 | end | |
3412 | if blocked == false then | |
3413 | HitHealth = h.Health | |
3414 | h.Health = h.Health - Damage | |
3415 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
3416 | print("gained kill") | |
3417 | dmg(h.Parent) | |
3418 | end | |
3419 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3420 | else | |
3421 | h.Health = h.Health - Damage / 2 | |
3422 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3423 | end | |
3424 | if Type == "Knockdown" then | |
3425 | local hum = hit.Parent.Humanoid | |
3426 | hum.PlatformStand = true | |
3427 | coroutine.resume(coroutine.create(function(HHumanoid) | |
3428 | swait(1) | |
3429 | HHumanoid.PlatformStand = false | |
3430 | end), hum) | |
3431 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
3432 | local bodvol = Create("BodyVelocity")({ | |
3433 | velocity = angle * knockback, | |
3434 | P = 5000, | |
3435 | maxForce = Vector3.new(8000, 8000, 8000), | |
3436 | Parent = hit | |
3437 | }) | |
3438 | local rl = Create("BodyAngularVelocity")({ | |
3439 | P = 3000, | |
3440 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
3441 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
3442 | Parent = hit | |
3443 | }) | |
3444 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
3445 | game:GetService("Debris"):AddItem(rl, 0.5) | |
3446 | elseif Type == "Normal" then | |
3447 | local vp = Create("BodyVelocity")({ | |
3448 | P = 500, | |
3449 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
3450 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
3451 | }) | |
3452 | if knockback > 0 then | |
3453 | vp.Parent = hit.Parent.Head | |
3454 | end | |
3455 | game:GetService("Debris"):AddItem(vp, 0.5) | |
3456 | elseif Type == "Up" then | |
3457 | local bodyVelocity = Create("BodyVelocity")({ | |
3458 | velocity = Vector3.new(0, 20, 0), | |
3459 | P = 5000, | |
3460 | maxForce = Vector3.new(8000, 8000, 8000), | |
3461 | Parent = hit | |
3462 | }) | |
3463 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
3464 | local bodyVelocity = Create("BodyVelocity")({ | |
3465 | velocity = Vector3.new(0, 20, 0), | |
3466 | P = 5000, | |
3467 | maxForce = Vector3.new(8000, 8000, 8000), | |
3468 | Parent = hit | |
3469 | }) | |
3470 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
3471 | elseif Type == "Leech" then | |
3472 | local hum = hit.Parent.Humanoid | |
3473 | if hum ~= nil then | |
3474 | for i = 0, 2 do | |
3475 | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
3476 | end | |
3477 | Humanoid.Health = Humanoid.Health + 10 | |
3478 | end | |
3479 | elseif Type == "UpKnock" then | |
3480 | local hum = hit.Parent.Humanoid | |
3481 | hum.PlatformStand = true | |
3482 | if hum ~= nil then | |
3483 | hitr = true | |
3484 | end | |
3485 | coroutine.resume(coroutine.create(function(HHumanoid) | |
3486 | swait(5) | |
3487 | HHumanoid.PlatformStand = false | |
3488 | hitr = false | |
3489 | end), hum) | |
3490 | local bodyVelocity = Create("BodyVelocity")({ | |
3491 | velocity = Vector3.new(0, 20, 0), | |
3492 | P = 5000, | |
3493 | maxForce = Vector3.new(8000, 8000, 8000), | |
3494 | Parent = hit | |
3495 | }) | |
3496 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
3497 | local bodyVelocity = Create("BodyVelocity")({ | |
3498 | velocity = Vector3.new(0, 20, 0), | |
3499 | P = 5000, | |
3500 | maxForce = Vector3.new(8000, 8000, 8000), | |
3501 | Parent = hit | |
3502 | }) | |
3503 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
3504 | elseif Type == "Snare" then | |
3505 | local bp = Create("BodyPosition")({ | |
3506 | P = 2000, | |
3507 | D = 100, | |
3508 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3509 | position = hit.Parent.Torso.Position, | |
3510 | Parent = hit.Parent.Torso | |
3511 | }) | |
3512 | game:GetService("Debris"):AddItem(bp, 1) | |
3513 | elseif Type == "Slashnare" then | |
3514 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) | |
3515 | for i = 1, math.random(4, 5) do | |
3516 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
3517 | end | |
3518 | local bp = Create("BodyPosition")({ | |
3519 | P = 2000, | |
3520 | D = 100, | |
3521 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3522 | position = hit.Parent.Torso.Position, | |
3523 | Parent = hit.Parent.Torso | |
3524 | }) | |
3525 | game:GetService("Debris"):AddItem(bp, 1) | |
3526 | elseif Type == "Spike" then | |
3527 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
3528 | local bp = Create("BodyPosition")({ | |
3529 | P = 2000, | |
3530 | D = 100, | |
3531 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3532 | position = hit.Parent.Torso.Position, | |
3533 | Parent = hit.Parent.Torso | |
3534 | }) | |
3535 | game:GetService("Debris"):AddItem(bp, 1) | |
3536 | elseif Type == "Freeze" then | |
3537 | local BodPos = Create("BodyPosition")({ | |
3538 | P = 50000, | |
3539 | D = 1000, | |
3540 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3541 | position = hit.Parent.Torso.Position, | |
3542 | Parent = hit.Parent.Torso | |
3543 | }) | |
3544 | local BodGy = Create("BodyGyro")({ | |
3545 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
3546 | P = 20000, | |
3547 | Parent = hit.Parent.Torso, | |
3548 | cframe = hit.Parent.Torso.CFrame | |
3549 | }) | |
3550 | hit.Parent.Torso.Anchored = true | |
3551 | coroutine.resume(coroutine.create(function(Part) | |
3552 | swait(1.5) | |
3553 | Part.Anchored = false | |
3554 | end), hit.Parent.Torso) | |
3555 | game:GetService("Debris"):AddItem(BodPos, 3) | |
3556 | game:GetService("Debris"):AddItem(BodGy, 3) | |
3557 | end | |
3558 | local debounce = Create("BoolValue")({ | |
3559 | Name = "DebounceHit", | |
3560 | Parent = hit.Parent, | |
3561 | Value = true | |
3562 | }) | |
3563 | game:GetService("Debris"):AddItem(debounce, Delay) | |
3564 | c = Instance.new("ObjectValue") | |
3565 | c.Name = "creator" | |
3566 | c.Value = Player | |
3567 | c.Parent = h | |
3568 | game:GetService("Debris"):AddItem(c, 0.5) | |
3569 | end | |
3570 | end | |
3571 | function ShowDamage(Pos, Text, Time, Color) | |
3572 | local Rate = 0.03333333333333333 | |
3573 | local Pos = Pos or Vector3.new(0, 0, 0) | |
3574 | local Text = Text or "" | |
3575 | local Time = Time or 2 | |
3576 | local Color = Color or Color3.new(1, 0, 1) | |
3577 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
3578 | EffectPart.Anchored = true | |
3579 | local BillboardGui = Create("BillboardGui")({ | |
3580 | Size = UDim2.new(3, 0, 3, 0), | |
3581 | Adornee = EffectPart, | |
3582 | Parent = EffectPart | |
3583 | }) | |
3584 | local TextLabel = Create("TextLabel")({ | |
3585 | BackgroundTransparency = 1, | |
3586 | Size = UDim2.new(1, 0, 1, 0), | |
3587 | Text = Text, | |
3588 | TextColor3 = Color, | |
3589 | TextScaled = true, | |
3590 | Font = Enum.Font.ArialBold, | |
3591 | Parent = BillboardGui | |
3592 | }) | |
3593 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
3594 | EffectPart.Parent = game:GetService("Workspace") | |
3595 | delay(0, function() | |
3596 | local Frames = Time / Rate | |
3597 | for Frame = 1, Frames do | |
3598 | wait(Rate) | |
3599 | local Percent = Frame / Frames | |
3600 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
3601 | TextLabel.TextTransparency = Percent | |
3602 | end | |
3603 | if EffectPart and EffectPart.Parent then | |
3604 | EffectPart:Destroy() | |
3605 | end | |
3606 | end) | |
3607 | end | |
3608 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
3609 | for _, c in pairs(workspace:children()) do | |
3610 | local hum = c:findFirstChildOfClass("Humanoid") | |
3611 | if hum ~= nil then | |
3612 | local head = c:findFirstChild("Head") | |
3613 | if head ~= nil then | |
3614 | local targ = head.Position - Part.Position | |
3615 | local mag = targ.magnitude | |
3616 | if magni >= mag and c.Name ~= Player.Name then | |
3617 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
3618 | end | |
3619 | end | |
3620 | end | |
3621 | end | |
3622 | end | |
3623 | ||
3624 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
3625 | for _, c in pairs(workspace:children()) do | |
3626 | local hum = c:findFirstChild("Humanoid") | |
3627 | if hum ~= nil then | |
3628 | local head = c:findFirstChild("Torso") | |
3629 | if head ~= nil then | |
3630 | local targ = head.Position - Part.Position | |
3631 | local mag = targ.magnitude | |
3632 | if magni >= mag and c.Name ~= Player.Name then | |
3633 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
3634 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
3635 | end | |
3636 | end | |
3637 | end | |
3638 | end | |
3639 | end | |
3640 | ||
3641 | function ApplyDamage(Humanoid,Damage,OneShot) | |
3642 | Damage = Damage * DAMAGEMULTIPLIER | |
3643 | local DEAD = false | |
3644 | if Humanoid.Health < 2000 and OneShot == false then | |
3645 | if Humanoid.Health - Damage > 0 then | |
3646 | Humanoid.Health = Humanoid.Health - Damage | |
3647 | else | |
3648 | Humanoid.Parent:BreakJoints() | |
3649 | DEAD = true | |
3650 | end | |
3651 | else | |
3652 | DEAD = true | |
3653 | Humanoid.Parent:BreakJoints() | |
3654 | end | |
3655 | if DEAD == true then | |
3656 | local PARTS = {} | |
3657 | for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do | |
3658 | if CHILD:IsA("BasePart") then | |
3659 | table.insert(PARTS,CHILD) | |
3660 | end | |
3661 | end | |
3662 | coroutine.resume(coroutine.create(function() | |
3663 | wait(2) | |
3664 | repeat | |
3665 | swait() | |
3666 | local PIECE = nil | |
3667 | if MRANDOM(1,5) == 1 then | |
3668 | for E = 1, #PARTS do | |
3669 | if MRANDOM(1,5) == 1 then | |
3670 | PIECE = PARTS[E] | |
3671 | table.remove(PARTS,E) | |
3672 | break | |
3673 | end | |
3674 | end | |
3675 | end | |
3676 | if PIECE ~= nil then | |
3677 | PIECE:remove() | |
3678 | end | |
3679 | until #PARTS == 0 | |
3680 | end)) | |
3681 | end | |
3682 | end | |
3683 | ||
3684 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
3685 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
3686 | end | |
3687 | ||
3688 | local origcolor = BrickColor.new("Pastel light blue") | |
3689 | ---- This section of explosions. | |
3690 | ||
3691 | ---- | |
3692 | ||
3693 | ||
3694 | function ring(type,pos,scale,value) | |
3695 | local type = type | |
3696 | local rng = Instance.new("Part", char) | |
3697 | rng.Anchored = true | |
3698 | rng.BrickColor = origcolor | |
3699 | rng.CanCollide = false | |
3700 | rng.FormFactor = 3 | |
3701 | rng.Name = "Ring" | |
3702 | rng.Size = Vector3.new(1, 1, 1) | |
3703 | rng.Transparency = 0 | |
3704 | rng.TopSurface = 0 | |
3705 | rng.BottomSurface = 0 | |
3706 | rng.CFrame = pos | |
3707 | local rngm = Instance.new("SpecialMesh", rng) | |
3708 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3709 | rngm.Scale = scale | |
3710 | local scaler2 = 1 | |
3711 | if type == "Add" then | |
3712 | scaler2 = 1*value | |
3713 | elseif type == "Divide" then | |
3714 | scaler2 = 1/value | |
3715 | end | |
3716 | coroutine.resume(coroutine.create(function() | |
3717 | for i = 0,10,0.1 do | |
3718 | swait() | |
3719 | if type == "Add" then | |
3720 | scaler2 = scaler2 - 0.01*value | |
3721 | elseif type == "Divide" then | |
3722 | scaler2 = scaler2 - 0.01/value | |
3723 | end | |
3724 | rng.Transparency = rng.Transparency + 0.01 | |
3725 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3726 | end | |
3727 | rng:Destroy() | |
3728 | end)) | |
3729 | end | |
3730 | ||
3731 | ||
3732 | function wave(type,pos,scale,value) | |
3733 | local type = type | |
3734 | local rng = Instance.new("Part", char) | |
3735 | rng.Anchored = true | |
3736 | rng.BrickColor = origcolor | |
3737 | rng.CanCollide = false | |
3738 | rng.FormFactor = 3 | |
3739 | rng.Name = "Ring" | |
3740 | rng.Size = Vector3.new(1, 1, 1) | |
3741 | rng.Transparency = 0 | |
3742 | rng.TopSurface = 0 | |
3743 | rng.BottomSurface = 0 | |
3744 | rng.CFrame = pos | |
3745 | local rngm = Instance.new("SpecialMesh", rng) | |
3746 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3747 | rngm.Scale = scale | |
3748 | local scaler2 = 1 | |
3749 | if type == "Add" then | |
3750 | scaler2 = 1*value | |
3751 | elseif type == "Divide" then | |
3752 | scaler2 = 1/value | |
3753 | end | |
3754 | coroutine.resume(coroutine.create(function() | |
3755 | for i = 0,10,0.1 do | |
3756 | swait() | |
3757 | if type == "Add" then | |
3758 | scaler2 = scaler2 - 0.01*value | |
3759 | elseif type == "Divide" then | |
3760 | scaler2 = scaler2 - 0.01/value | |
3761 | end | |
3762 | rng.Transparency = rng.Transparency + 0.01 | |
3763 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
3764 | end | |
3765 | rng:Destroy() | |
3766 | end)) | |
3767 | end | |
3768 | ||
3769 | function sphere(bonuspeed,type,pos,scale,value,color) | |
3770 | local type = type | |
3771 | local rng = Instance.new("Part", char) | |
3772 | rng.Anchored = true | |
3773 | if RuinMode ~= 9 then | |
3774 | rng.BrickColor = color | |
3775 | elseif RuinMode == 9 then | |
3776 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3777 | end | |
3778 | rng.CanCollide = false | |
3779 | rng.FormFactor = 3 | |
3780 | rng.Name = "Ring" | |
3781 | rng.Material = "Neon" | |
3782 | rng.Size = Vector3.new(1, 1, 1) | |
3783 | rng.Transparency = 0 | |
3784 | rng.TopSurface = 0 | |
3785 | rng.BottomSurface = 0 | |
3786 | rng.CFrame = pos | |
3787 | local rngm = Instance.new("SpecialMesh", rng) | |
3788 | rngm.MeshType = "Sphere" | |
3789 | rngm.Scale = scale | |
3790 | if rainbowmode == true then | |
3791 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3792 | end | |
3793 | if RuinMode == 9 then | |
3794 | coroutine.resume(coroutine.create(function() | |
3795 | while true do | |
3796 | swait() | |
3797 | if rng.Parent ~= nil then | |
3798 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3799 | else | |
3800 | break | |
3801 | end | |
3802 | end | |
3803 | end)) | |
3804 | end | |
3805 | local scaler2 = 1 | |
3806 | if type == "Add" then | |
3807 | scaler2 = 1*value | |
3808 | elseif type == "Divide" then | |
3809 | scaler2 = 1/value | |
3810 | end | |
3811 | coroutine.resume(coroutine.create(function() | |
3812 | for i = 0,10/bonuspeed,0.1 do | |
3813 | swait() | |
3814 | if rainbowmode == true then | |
3815 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3816 | end | |
3817 | if type == "Add" then | |
3818 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3819 | elseif type == "Divide" then | |
3820 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3821 | end | |
3822 | if chaosmode == true then | |
3823 | rng.BrickColor = BrickColor.random() | |
3824 | end | |
3825 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3826 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3827 | end | |
3828 | rng:Destroy() | |
3829 | end)) | |
3830 | end | |
3831 | ||
3832 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
3833 | local type = type | |
3834 | local rng = Instance.new("Part", char) | |
3835 | rng.Anchored = true | |
3836 | if RuinMode ~= 9 then | |
3837 | rng.BrickColor = color | |
3838 | elseif RuinMode == 9 then | |
3839 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3840 | end | |
3841 | rng.CanCollide = false | |
3842 | rng.FormFactor = 3 | |
3843 | rng.Name = "Ring" | |
3844 | rng.Material = "Neon" | |
3845 | rng.Size = Vector3.new(1, 1, 1) | |
3846 | rng.Transparency = 0 | |
3847 | rng.TopSurface = 0 | |
3848 | rng.BottomSurface = 0 | |
3849 | rng.CFrame = pos | |
3850 | local rngm = Instance.new("SpecialMesh", rng) | |
3851 | rngm.MeshType = "Sphere" | |
3852 | rngm.Scale = scale | |
3853 | local scaler2 = 1 | |
3854 | local scaler2b = 1 | |
3855 | local scaler2c = 1 | |
3856 | if type == "Add" then | |
3857 | scaler2 = 1*value | |
3858 | scaler2b = 1*value2 | |
3859 | scaler2c = 1*value3 | |
3860 | elseif type == "Divide" then | |
3861 | scaler2 = 1/value | |
3862 | scaler2b = 1/value2 | |
3863 | scaler2c = 1/value3 | |
3864 | end | |
3865 | if RuinMode == 9 then | |
3866 | coroutine.resume(coroutine.create(function() | |
3867 | while true do | |
3868 | swait() | |
3869 | if rng.Parent ~= nil then | |
3870 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3871 | else | |
3872 | break | |
3873 | end | |
3874 | end | |
3875 | end)) | |
3876 | end | |
3877 | coroutine.resume(coroutine.create(function() | |
3878 | for i = 0,10/bonuspeed,0.1 do | |
3879 | swait() | |
3880 | if type == "Add" then | |
3881 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3882 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
3883 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
3884 | elseif type == "Divide" then | |
3885 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3886 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
3887 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
3888 | end | |
3889 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3890 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
3891 | end | |
3892 | rng:Destroy() | |
3893 | end)) | |
3894 | end | |
3895 | ||
3896 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
3897 | local type = type | |
3898 | local rotenable = rotatingop | |
3899 | local rng = Instance.new("Part", char) | |
3900 | rng.Anchored = true | |
3901 | rng.BrickColor = color | |
3902 | rng.CanCollide = false | |
3903 | rng.FormFactor = 3 | |
3904 | rng.Name = "Ring" | |
3905 | rng.Material = "Neon" | |
3906 | rng.Size = Vector3.new(1, 1, 1) | |
3907 | rng.Transparency = 0 | |
3908 | if typeoftrans == "In" then | |
3909 | rng.Transparency = 1 | |
3910 | end | |
3911 | rng.TopSurface = 0 | |
3912 | rng.BottomSurface = 0 | |
3913 | rng.CFrame = pos | |
3914 | local rngm = Instance.new("SpecialMesh", rng) | |
3915 | rngm.MeshType = "FileMesh" | |
3916 | if typeofshape == "Normal" then | |
3917 | rngm.MeshId = "rbxassetid://662586858" | |
3918 | elseif typeofshape == "Round" then | |
3919 | rngm.MeshId = "rbxassetid://662585058" | |
3920 | end | |
3921 | rngm.Scale = scale | |
3922 | local scaler2 = 1/10 | |
3923 | if type == "Add" then | |
3924 | scaler2 = 1*value/10 | |
3925 | elseif type == "Divide" then | |
3926 | scaler2 = 1/value/10 | |
3927 | end | |
3928 | local randomrot = math.random(1,2) | |
3929 | coroutine.resume(coroutine.create(function() | |
3930 | for i = 0,10/bonuspeed,0.1 do | |
3931 | swait() | |
3932 | if type == "Add" then | |
3933 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
3934 | elseif type == "Divide" then | |
3935 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
3936 | end | |
3937 | if rotenable == true then | |
3938 | if randomrot == 1 then | |
3939 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
3940 | elseif randomrot == 2 then | |
3941 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
3942 | end | |
3943 | end | |
3944 | if typeoftrans == "Out" then | |
3945 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3946 | elseif typeoftrans == "In" then | |
3947 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3948 | end | |
3949 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
3950 | end | |
3951 | rng:Destroy() | |
3952 | end)) | |
3953 | end | |
3954 | ||
3955 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3956 | local type = type | |
3957 | local rng = Instance.new("Part", char) | |
3958 | rng.Anchored = true | |
3959 | rng.BrickColor = color | |
3960 | rng.CanCollide = false | |
3961 | rng.FormFactor = 3 | |
3962 | rng.Name = "Ring" | |
3963 | rng.Material = "Neon" | |
3964 | rng.Size = Vector3.new(1, 1, 1) | |
3965 | rng.Transparency = 0 | |
3966 | rng.TopSurface = 0 | |
3967 | rng.BottomSurface = 0 | |
3968 | rng.CFrame = pos | |
3969 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3970 | local rngm = Instance.new("SpecialMesh", rng) | |
3971 | rngm.MeshType = "Brick" | |
3972 | rngm.Scale = vt(x1,y1,z1) | |
3973 | if rainbowmode == true then | |
3974 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3975 | end | |
3976 | local scaler2 = 1 | |
3977 | local speeder = FastSpeed/10 | |
3978 | if type == "Add" then | |
3979 | scaler2 = 1*value | |
3980 | elseif type == "Divide" then | |
3981 | scaler2 = 1/value | |
3982 | end | |
3983 | coroutine.resume(coroutine.create(function() | |
3984 | for i = 0,10/bonuspeed,0.1 do | |
3985 | swait() | |
3986 | if rainbowmode == true then | |
3987 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3988 | end | |
3989 | if type == "Add" then | |
3990 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3991 | elseif type == "Divide" then | |
3992 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3993 | end | |
3994 | if chaosmode == true then | |
3995 | rng.BrickColor = BrickColor.random() | |
3996 | end | |
3997 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
3998 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3999 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4000 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
4001 | end | |
4002 | rng:Destroy() | |
4003 | end)) | |
4004 | end | |
4005 | ||
4006 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
4007 | local type = type | |
4008 | local rng = Instance.new("Part", char) | |
4009 | rng.Anchored = true | |
4010 | rng.BrickColor = color | |
4011 | rng.CanCollide = false | |
4012 | rng.FormFactor = 3 | |
4013 | rng.Name = "Ring" | |
4014 | rng.Material = "Neon" | |
4015 | rng.Size = Vector3.new(1, 1, 1) | |
4016 | rng.Transparency = 0 | |
4017 | rng.TopSurface = 0 | |
4018 | rng.BottomSurface = 0 | |
4019 | rng.CFrame = pos | |
4020 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4021 | local rngm = Instance.new("SpecialMesh", rng) | |
4022 | rngm.MeshType = "Brick" | |
4023 | rngm.Scale = vt(x1,y1,z1) | |
4024 | if rainbowmode == true then | |
4025 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4026 | end | |
4027 | local scaler2 = 1 | |
4028 | local speeder = FastSpeed/10 | |
4029 | if type == "Add" then | |
4030 | scaler2 = 1*value | |
4031 | elseif type == "Divide" then | |
4032 | scaler2 = 1/value | |
4033 | end | |
4034 | coroutine.resume(coroutine.create(function() | |
4035 | for i = 0,10/bonuspeed,0.1 do | |
4036 | swait() | |
4037 | if rainbowmode == true then | |
4038 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4039 | end | |
4040 | if type == "Add" then | |
4041 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4042 | elseif type == "Divide" then | |
4043 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4044 | end | |
4045 | if chaosmode == true then | |
4046 | rng.BrickColor = BrickColor.random() | |
4047 | end | |
4048 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
4049 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4050 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4051 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
4052 | end | |
4053 | rng:Destroy() | |
4054 | end)) | |
4055 | end | |
4056 | ||
4057 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
4058 | local type = type | |
4059 | local rng = Instance.new("Part", char) | |
4060 | rng.Anchored = true | |
4061 | rng.BrickColor = color | |
4062 | rng.CanCollide = false | |
4063 | rng.FormFactor = 3 | |
4064 | rng.Name = "Ring" | |
4065 | rng.Material = "Neon" | |
4066 | rng.Size = Vector3.new(1, 1, 1) | |
4067 | rng.Transparency = 0 | |
4068 | rng.TopSurface = 0 | |
4069 | rng.BottomSurface = 0 | |
4070 | rng.CFrame = pos | |
4071 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4072 | local rngm = Instance.new("SpecialMesh", rng) | |
4073 | rngm.MeshType = "Brick" | |
4074 | rngm.Scale = vt(x1,y1,z1) | |
4075 | if rainbowmode == true then | |
4076 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4077 | end | |
4078 | local scaler2 = 0 | |
4079 | local speeder = FastSpeed/10 | |
4080 | if type == "Add" then | |
4081 | scaler2 = 1*value | |
4082 | elseif type == "Divide" then | |
4083 | scaler2 = 1/value | |
4084 | end | |
4085 | coroutine.resume(coroutine.create(function() | |
4086 | for i = 0,10/bonuspeed,0.1 do | |
4087 | swait() | |
4088 | if rainbowmode == true then | |
4089 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4090 | end | |
4091 | if type == "Add" then | |
4092 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4093 | elseif type == "Divide" then | |
4094 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4095 | end | |
4096 | if chaosmode == true then | |
4097 | rng.BrickColor = BrickColor.random() | |
4098 | end | |
4099 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
4100 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4101 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4102 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
4103 | end | |
4104 | rng:Destroy() | |
4105 | end)) | |
4106 | end | |
4107 | ||
4108 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
4109 | local type = type | |
4110 | local rng = Instance.new("Part", char) | |
4111 | rng.Anchored = true | |
4112 | rng.BrickColor = color | |
4113 | rng.Color = color3 | |
4114 | rng.CanCollide = false | |
4115 | rng.FormFactor = 3 | |
4116 | rng.Name = "Ring" | |
4117 | rng.Material = "Neon" | |
4118 | rng.Size = Vector3.new(1, 1, 1) | |
4119 | rng.Transparency = 0 | |
4120 | rng.TopSurface = 0 | |
4121 | rng.BottomSurface = 0 | |
4122 | rng.CFrame = pos | |
4123 | local rngm = Instance.new("SpecialMesh", rng) | |
4124 | rngm.MeshType = "Brick" | |
4125 | rngm.Scale = scale | |
4126 | local scaler2 = 1 | |
4127 | local scaler2b = 1 | |
4128 | local scaler2c = 1 | |
4129 | if type == "Add" then | |
4130 | scaler2 = 1*value | |
4131 | scaler2b = 1*value2 | |
4132 | scaler2c = 1*value3 | |
4133 | elseif type == "Divide" then | |
4134 | scaler2 = 1/value | |
4135 | scaler2b = 1/value2 | |
4136 | scaler2c = 1/value3 | |
4137 | end | |
4138 | coroutine.resume(coroutine.create(function() | |
4139 | for i = 0,10/bonuspeed,0.1 do | |
4140 | swait() | |
4141 | if type == "Add" then | |
4142 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4143 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
4144 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
4145 | elseif type == "Divide" then | |
4146 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4147 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
4148 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
4149 | end | |
4150 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4151 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4152 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
4153 | end | |
4154 | rng:Destroy() | |
4155 | end)) | |
4156 | end | |
4157 | ||
4158 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
4159 | local type = type | |
4160 | local rng = Instance.new("Part", char) | |
4161 | rng.Anchored = true | |
4162 | if RuinMode ~= 9 then | |
4163 | rng.BrickColor = color | |
4164 | elseif RuinMode == 9 then | |
4165 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
4166 | end | |
4167 | rng.CanCollide = false | |
4168 | rng.FormFactor = 3 | |
4169 | rng.Name = "Ring" | |
4170 | rng.Material = "Neon" | |
4171 | rng.Size = Vector3.new(1, 1, 1) | |
4172 | rng.Transparency = 0 | |
4173 | rng.TopSurface = 0 | |
4174 | rng.BottomSurface = 0 | |
4175 | rng.CFrame = pos | |
4176 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4177 | local rngm = Instance.new("SpecialMesh", rng) | |
4178 | rngm.MeshType = "Sphere" | |
4179 | rngm.Scale = vt(x1,y1,z1) | |
4180 | if rainbowmode == true then | |
4181 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4182 | end | |
4183 | if RuinMode == 9 then | |
4184 | coroutine.resume(coroutine.create(function() | |
4185 | while true do | |
4186 | swait() | |
4187 | if rng.Parent ~= nil then | |
4188 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
4189 | else | |
4190 | break | |
4191 | end | |
4192 | end | |
4193 | end)) | |
4194 | end | |
4195 | local scaler2 = 1 | |
4196 | local speeder = FastSpeed | |
4197 | if type == "Add" then | |
4198 | scaler2 = 1*value | |
4199 | elseif type == "Divide" then | |
4200 | scaler2 = 1/value | |
4201 | end | |
4202 | coroutine.resume(coroutine.create(function() | |
4203 | for i = 0,10/bonuspeed,0.1 do | |
4204 | swait() | |
4205 | if rainbowmode == true then | |
4206 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4207 | end | |
4208 | if type == "Add" then | |
4209 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4210 | elseif type == "Divide" then | |
4211 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4212 | end | |
4213 | if chaosmode == true then | |
4214 | rng.BrickColor = BrickColor.random() | |
4215 | end | |
4216 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
4217 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4218 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4219 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
4220 | end | |
4221 | rng:Destroy() | |
4222 | end)) | |
4223 | end | |
4224 | ||
4225 | ||
4226 | function Chat(text) | |
4227 | --if(game.PlaceId ~= 843468296)then | |
4228 | coroutine.wrap(function() | |
4229 | if(char:FindFirstChild'ChatGUI')then char.ChatGUI:destroy() end | |
4230 | local BBG = NewInstance("BillboardGui",char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,2,0),Adornee=Head}) | |
4231 | local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=MRC_A,BorderSizePixel=0,Font=Enum.Font.Antique,TextSize=50,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
4232 | local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true) | |
4233 | for i = 1, #text do | |
4234 | delay(i/25, function() | |
4235 | SND.Pitch = M.RNG(9,11)/10 | |
4236 | SND.Volume = 3 | |
4237 | SND.Parent = FXFolder | |
4238 | SND:Play() | |
4239 | Txt.Text = text:sub(1,i) | |
4240 | end) | |
4241 | end | |
4242 | delay((#text/25)+2.5, function() | |
4243 | for i = 0, 1, .025 do | |
4244 | Txt.TextTransparency=i | |
4245 | Txt.Rotation = M.RNG(-25,25) | |
4246 | Txt.Position = UDim2.new(0,M.RNG(-15,15),0,M.RNG(-15,15)) | |
4247 | swait() | |
4248 | end | |
4249 | BBG:destroy() | |
4250 | end) | |
4251 | end)() | |
4252 | --else | |
4253 | -- Chat2(text) | |
4254 | --end | |
4255 | end | |
4256 | ||
4257 | ||
4258 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
4259 | local type = type | |
4260 | local rng = Instance.new("Part", char) | |
4261 | rng.Anchored = true | |
4262 | if RuinMode ~= 9 then | |
4263 | rng.BrickColor = color | |
4264 | elseif RuinMode == 9 then | |
4265 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
4266 | end | |
4267 | rng.CanCollide = false | |
4268 | rng.FormFactor = 3 | |
4269 | rng.Name = "Ring" | |
4270 | rng.Material = "Neon" | |
4271 | rng.Size = Vector3.new(1, 1, 1) | |
4272 | rng.Transparency = 1 | |
4273 | rng.TopSurface = 0 | |
4274 | rng.BottomSurface = 0 | |
4275 | rng.CFrame = pos | |
4276 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4277 | local rngm = Instance.new("SpecialMesh", rng) | |
4278 | rngm.MeshType = "Sphere" | |
4279 | rngm.Scale = vt(x1,y1,z1) | |
4280 | if rainbowmode == true then | |
4281 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4282 | end | |
4283 | if RuinMode == 9 then | |
4284 | coroutine.resume(coroutine.create(function() | |
4285 | while true do | |
4286 | swait() | |
4287 | if rng.Parent ~= nil then | |
4288 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
4289 | else | |
4290 | break | |
4291 | end | |
4292 | end | |
4293 | end)) | |
4294 | end | |
4295 | local scaler2 = 1 | |
4296 | local speeder = FastSpeed | |
4297 | if type == "Add" then | |
4298 | scaler2 = 1*value | |
4299 | elseif type == "Divide" then | |
4300 | scaler2 = 1/value | |
4301 | end | |
4302 | coroutine.resume(coroutine.create(function() | |
4303 | for i = 0,10/bonuspeed,0.1 do | |
4304 | swait() | |
4305 | if rainbowmode == true then | |
4306 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4307 | end | |
4308 | if type == "Add" then | |
4309 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4310 | elseif type == "Divide" then | |
4311 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4312 | end | |
4313 | if chaosmode == true then | |
4314 | rng.BrickColor = BrickColor.random() | |
4315 | end | |
4316 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
4317 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4318 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
4319 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
4320 | end | |
4321 | rng:Destroy() | |
4322 | end)) | |
4323 | end | |
4324 | ||
4325 | function dmg(dude) | |
4326 | if dude.Name ~= Character then | |
4327 | local keptcolor = MRC_A | |
4328 | local bgf = Instance.new("BodyGyro",dude.Head) | |
4329 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
4330 | --[[local val = Instance.new("BoolValue",dude) | |
4331 | val.Name = "IsHit"]]-- | |
4332 | local ds = coroutine.wrap(function() | |
4333 | dude:WaitForChild("Head"):BreakJoints() | |
4334 | for i, v in pairs(dude:GetChildren()) do | |
4335 | if v:IsA("Part") or v:IsA("MeshPart") then | |
4336 | v.Name = "DEMINISHED" | |
4337 | end | |
4338 | end | |
4339 | wait(0.5) | |
4340 | targetted = nil | |
4341 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285) | |
4342 | coroutine.resume(coroutine.create(function() | |
4343 | for i, v in pairs(dude:GetChildren()) do | |
4344 | if v:IsA("Accessory") then | |
4345 | v:Destroy() | |
4346 | end | |
4347 | if v:IsA("Humanoid") then | |
4348 | v:Destroy() | |
4349 | end | |
4350 | if v:IsA("CharacterMesh") then | |
4351 | v:Destroy() | |
4352 | end | |
4353 | if v:IsA("Model") then | |
4354 | v:Destroy() | |
4355 | end | |
4356 | if v:IsA("Part") or v:IsA("MeshPart") then | |
4357 | for x, o in pairs(v:GetChildren()) do | |
4358 | if o:IsA("Decal") then | |
4359 | o:Destroy() | |
4360 | end | |
4361 | end | |
4362 | coroutine.resume(coroutine.create(function() | |
4363 | v.Material = "Neon" | |
4364 | v.CanCollide = false | |
4365 | v.Anchored = false | |
4366 | local bld = Instance.new("ParticleEmitter",v) | |
4367 | bld.LightEmission = 0.75 | |
4368 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
4369 | bld.Color = ColorSequence.new(keptcolor.Color) | |
4370 | bld.Rate = 500 | |
4371 | bld.Lifetime = NumberRange.new(1) | |
4372 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4373 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4374 | bld.Speed = NumberRange.new(2,5) | |
4375 | bld.VelocitySpread = 50000 | |
4376 | bld.Rotation = NumberRange.new(-500,500) | |
4377 | bld.RotSpeed = NumberRange.new(-500,500) | |
4378 | local sbs = Instance.new("BodyPosition", v) | |
4379 | sbs.P = 3000 | |
4380 | sbs.D = 1000 | |
4381 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
4382 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
4383 | v.Color = keptcolor.Color | |
4384 | coroutine.resume(coroutine.create(function() | |
4385 | for i = 0, 49 do | |
4386 | swait(1) | |
4387 | v:BreakJoints() | |
4388 | v.Transparency = v.Transparency + 0.02 | |
4389 | end | |
4390 | v:BreakJoints() | |
4391 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
4392 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75) | |
4393 | bld.Speed = NumberRange.new(10,25) | |
4394 | bld.Drag = 5 | |
4395 | bld.Acceleration = vt(0,2,0) | |
4396 | wait(0.5) | |
4397 | bld.Enabled = false | |
4398 | wait(8) | |
4399 | v:Destroy() | |
4400 | dude:Destroy() | |
4401 | end)) | |
4402 | end)) | |
4403 | end | |
4404 | end | |
4405 | end)) | |
4406 | end) | |
4407 | ds() | |
4408 | end | |
4409 | end | |
4410 | ||
4411 | ||
4412 | function FindNearestHead(Position, Distance, SinglePlayer) | |
4413 | if SinglePlayer then | |
4414 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
4415 | end | |
4416 | local List = {} | |
4417 | for i, v in pairs(workspace:GetChildren()) do | |
4418 | if v:IsA("Model") then | |
4419 | if v:findFirstChild("Head") then | |
4420 | if v ~= Character then | |
4421 | if (v.Head.Position - Position).magnitude <= Distance then | |
4422 | table.insert(List, v) | |
4423 | end | |
4424 | end | |
4425 | end | |
4426 | end | |
4427 | end | |
4428 | return List | |
4429 | end | |
4430 | ||
4431 | function FaceMouse() | |
4432 | Cam = workspace.CurrentCamera | |
4433 | return { | |
4434 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
4435 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
4436 | } | |
4437 | end | |
4438 | ||
4439 | function FaceMouse2() | |
4440 | Cam = workspace.CurrentCamera | |
4441 | return { | |
4442 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
4443 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
4444 | } | |
4445 | end | |
4446 | ||
4447 | -- Functions are ready. | |
4448 | local storehumanoidWS = 16 | |
4449 | ||
4450 | ||
4451 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
4452 | local bgui,imgc = createBGCircle(size,guipar,color) | |
4453 | bgui.AlwaysOnTop = true | |
4454 | imgc.Image = "rbxassetid://" ..img | |
4455 | local rrot = math.random(1,2) | |
4456 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit) | |
4457 | coroutine.resume(coroutine.create(function() | |
4458 | for i = 0, 24*delay do | |
4459 | swait() | |
4460 | if rotationenabled == true then | |
4461 | if rrot == 1 then | |
4462 | imgc.Rotation = imgc.Rotation + rotsp | |
4463 | elseif rrot == 2 then | |
4464 | imgc.Rotation = imgc.Rotation - rotsp | |
4465 | end | |
4466 | end | |
4467 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
4468 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
4469 | end | |
4470 | bgui:Destroy() | |
4471 | end)) | |
4472 | end | |
4473 | ||
4474 | function RecolorThing(one,two,custenabl) | |
4475 | if custenabl == false then | |
4476 | symbolizeBlink(tru,0,2109052855,one.Color,1,3,1,1614005837,root,true,10,1) | |
4477 | symbolizeBlink(tru,0,2109052855,two.Color,1.1,2,1,1923591005,root,true,10,1) | |
4478 | symbolizeBlink(tru,0,2344870656,one.Color,3,0,0,0,root,true,10,1) | |
4479 | symbolizeBlink(tru,0,2092248396,one.Color,3,0,0,0,root,true,10,1) | |
4480 | end | |
4481 | MAINR.Color = two.Color | |
4482 | SECONDR.Color = one.Color | |
4483 | Monitor.Color = one.Color | |
4484 | for i, v in pairs(maincolg:GetChildren()) do | |
4485 | if v:IsA("Part") then | |
4486 | v.BrickColor = one | |
4487 | end | |
4488 | end | |
4489 | for i, v in pairs(seccolg:GetChildren()) do | |
4490 | if v:IsA("Part") then | |
4491 | v.BrickColor = two | |
4492 | end | |
4493 | end | |
4494 | end | |
4495 | ||
4496 | ||
4497 | function createBGCircle(size,parent,color) | |
4498 | local bgui = Instance.new("BillboardGui",parent) | |
4499 | bgui.Size = UDim2.new(size, 0, size, 0) | |
4500 | local imgc = Instance.new("ImageLabel",bgui) | |
4501 | imgc.BackgroundTransparency = 1 | |
4502 | imgc.ImageTransparency = 0 | |
4503 | imgc.Size = UDim2.new(1,0,1,0) | |
4504 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
4505 | imgc.ImageColor3 = color | |
4506 | return bgui,imgc | |
4507 | end | |
4508 | ||
4509 | function attackone() | |
4510 | attack = true | |
4511 | for i = 0, 1, 0.1 do | |
4512 | swait() | |
4513 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) | |
4514 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) | |
4515 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4516 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4517 | end | |
4518 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1) | |
4519 | local hitb = Instance.new("Part", char) | |
4520 | hitb.Anchored = true | |
4521 | hitb.CanCollide = false | |
4522 | hitb.FormFactor = 3 | |
4523 | hitb.Name = "Ring" | |
4524 | hitb.Material = "Neon" | |
4525 | hitb.Size = Vector3.new(1, 1, 1) | |
4526 | hitb.Transparency = 1 | |
4527 | hitb.TopSurface = 0 | |
4528 | hitb.BottomSurface = 0 | |
4529 | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 | |
4530 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
4531 | hitb:Destroy() | |
4532 | for i = 0, 1, 0.1 do | |
4533 | swait() | |
4534 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) | |
4535 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) | |
4536 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
4537 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
4538 | end | |
4539 | attack = false | |
4540 | end | |
4541 | function attacktwo() | |
4542 | attack = true | |
4543 | for i = 0, 1, 0.1 do | |
4544 | swait() | |
4545 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) | |
4546 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) | |
4547 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4548 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4549 | end | |
4550 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1) | |
4551 | local hitb = Instance.new("Part", char) | |
4552 | hitb.Anchored = true | |
4553 | hitb.CanCollide = false | |
4554 | hitb.FormFactor = 3 | |
4555 | hitb.Name = "Ring" | |
4556 | hitb.Material = "Neon" | |
4557 | hitb.Size = Vector3.new(1, 1, 1) | |
4558 | hitb.Transparency = 1 | |
4559 | hitb.TopSurface = 0 | |
4560 | hitb.BottomSurface = 0 | |
4561 | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 | |
4562 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
4563 | hitb:Destroy() | |
4564 | for i = 0, 1, 0.1 do | |
4565 | swait() | |
4566 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) | |
4567 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) | |
4568 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
4569 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
4570 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4) | |
4571 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4) | |
4572 | end | |
4573 | attack = false | |
4574 | end | |
4575 | function attackthree() | |
4576 | attack = true | |
4577 | for i = 0, 1, 0.1 do | |
4578 | swait() | |
4579 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
4580 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
4581 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
4582 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4583 | end | |
4584 | local distlook = 5 | |
4585 | for i = 0, 4 do | |
4586 | swait(2) | |
4587 | --CamShakeAll(50,50,Character) | |
4588 | local hite = Instance.new("Part", char) | |
4589 | hite.Anchored = true | |
4590 | hite.CanCollide = false | |
4591 | hite.FormFactor = 3 | |
4592 | hite.Name = "Ring" | |
4593 | hite.Material = "Neon" | |
4594 | hite.Size = Vector3.new(1, 1, 1) | |
4595 | hite.Transparency = 1 | |
4596 | hite.TopSurface = 0 | |
4597 | hite.BottomSurface = 0 | |
4598 | hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook | |
4599 | sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MRC_A) | |
4600 | sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MRC_A) | |
4601 | MagniDamage(hite, 10, 15, 35, 0, "Normal") | |
4602 | CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1) | |
4603 | CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6) | |
4604 | game:GetService("Debris"):AddItem(hite, 5) | |
4605 | distlook = distlook + 10 | |
4606 | end | |
4607 | attack = false | |
4608 | end | |
4609 | ||
4610 | ------------------------------------- Abilities --------------------------------------------------------- | |
4611 | function Shards() | |
4612 | attack = true | |
4613 | hum.WalkSpeed = 2 | |
4614 | local keptcolor = MRC_A | |
4615 | local obj1 = script.chring:Clone() | |
4616 | obj1.Parent = char | |
4617 | obj1.Transparency = 1 | |
4618 | obj1.Color = MRC_A.Color | |
4619 | local rval = 0 | |
4620 | local eval = 1 | |
4621 | CFuncs["Sound"].Create("rbxassetid://199145761", obj1, 3,1) | |
4622 | local eff = Instance.new("ParticleEmitter",obj1) | |
4623 | eff.Texture = "rbxassetid://2344870656" | |
4624 | eff.LightEmission = 1 | |
4625 | eff.Color = ColorSequence.new(obj1.Color) | |
4626 | eff.Rate = 10000000 | |
4627 | eff.Enabled = true | |
4628 | eff.EmissionDirection = "Left" | |
4629 | eff.Lifetime = NumberRange.new(0.5) | |
4630 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4631 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4632 | eff.Speed = NumberRange.new(5,50) | |
4633 | eff.Drag = 5 | |
4634 | eff.Rotation = NumberRange.new(-500,500) | |
4635 | eff.RotSpeed = NumberRange.new(-500,500) | |
4636 | sphere2(5,"Add",root.CFrame*CFrame.new(0,5,0),vt(1,1,1),0.5,0.005,0.5,MRC_A,MRC_A.Color) | |
4637 | coroutine.resume(coroutine.create(function() | |
4638 | for i = 0, 19 do | |
4639 | swait(4) | |
4640 | local dis = CreateParta(char,0.5,1,"Neon",MRC_A) | |
4641 | dis.BrickColor = MRC_A | |
4642 | dis.Anchored = true | |
4643 | CFuncs["Sound"].Create("rbxassetid://199145967", dis, 1,1.1) | |
4644 | dis.CFrame = root.CFrame*CFrame.new(math.random(-10,10),math.random(5,25),math.random(-10,10))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4645 | CreateMeshy(dis,"Sphere",0.5,0.5,4) | |
4646 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.005,0.005,0.1,dis.BrickColor,dis.Color) | |
4647 | coroutine.resume(coroutine.create(function() | |
4648 | local eff = Instance.new("ParticleEmitter",dis) | |
4649 | eff.Texture = "rbxassetid://695499847" | |
4650 | eff.LightEmission = 1 | |
4651 | eff.Color = ColorSequence.new(dis.Color) | |
4652 | eff.Rate = 500000 | |
4653 | eff.Lifetime = NumberRange.new(0.5) | |
4654 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4655 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4656 | eff.Speed = NumberRange.new(5,50) | |
4657 | eff.Drag = 5 | |
4658 | eff.Rotation = NumberRange.new(-500,500) | |
4659 | eff.VelocitySpread = 9000 | |
4660 | eff.RotSpeed = NumberRange.new(-150,150) | |
4661 | wait(0.5) | |
4662 | eff.Enabled = false | |
4663 | end)) | |
4664 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White")) | |
4665 | coroutine.resume(coroutine.create(function() | |
4666 | wait(0.5) | |
4667 | dis.Anchored = false | |
4668 | local at1 = Instance.new("Attachment",dis) | |
4669 | at1.Position = vt(-0.25,0,0) | |
4670 | local at2 = Instance.new("Attachment",dis) | |
4671 | at2.Position = vt(0.25,0,0) | |
4672 | local trl = Instance.new('Trail',dis) | |
4673 | trl.Attachment0 = at1 | |
4674 | trl.FaceCamera = true | |
4675 | trl.Attachment1 = at2 | |
4676 | trl.Texture = "rbxassetid://1049219073" | |
4677 | trl.LightEmission = 1 | |
4678 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4679 | trl.Color = ColorSequence.new(dis.Color) | |
4680 | trl.Lifetime = 0.6 | |
4681 | local a = Instance.new("Part",workspace) | |
4682 | a.Name = "Direction" | |
4683 | a.Anchored = true | |
4684 | a.BrickColor = bc("Bright red") | |
4685 | a.Material = "Neon" | |
4686 | a.Transparency = 1 | |
4687 | a.CanCollide = false | |
4688 | local ray = Ray.new( | |
4689 | dis.CFrame.p, -- origin | |
4690 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
4691 | ) | |
4692 | local ignore = dis | |
4693 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4694 | a.BottomSurface = 10 | |
4695 | a.TopSurface = 10 | |
4696 | local distance = (dis.CFrame.p - position).magnitude | |
4697 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4698 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4699 | dis.CFrame = a.CFrame | |
4700 | a:Destroy() | |
4701 | local bv = Instance.new("BodyVelocity") | |
4702 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4703 | bv.velocity = dis.CFrame.lookVector*250 | |
4704 | bv.Parent = dis | |
4705 | game:GetService("Debris"):AddItem(dis, 5) | |
4706 | local hitted = false | |
4707 | coroutine.resume(coroutine.create(function() | |
4708 | dis.Touched:connect(function(hit) | |
4709 | if hitted == false and hit.Parent ~= char then | |
4710 | hitted = true | |
4711 | CFuncs["Sound"].Create("rbxassetid://199146035", dis, 3,1) | |
4712 | MagniDamage(dis, 30, 50,80, 0, "Normal") | |
4713 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
4714 | sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1)) | |
4715 | coroutine.resume(coroutine.create(function() | |
4716 | local eff = Instance.new("ParticleEmitter",dis) | |
4717 | eff.Texture = "rbxassetid://2344870656" | |
4718 | eff.LightEmission = 1 | |
4719 | eff.Color = ColorSequence.new(dis.Color) | |
4720 | eff.Rate = 10000000 | |
4721 | eff.Enabled = true | |
4722 | --eff.EmissionDirection = "Front" | |
4723 | eff.Lifetime = NumberRange.new(2) | |
4724 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)}) | |
4725 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4726 | eff.Speed = NumberRange.new(100) | |
4727 | eff.Drag = 5 | |
4728 | eff.Rotation = NumberRange.new(-500,500) | |
4729 | eff.SpreadAngle = Vector2.new(0,900) | |
4730 | eff.RotSpeed = NumberRange.new(-500,500) | |
4731 | wait(0.1) | |
4732 | eff.Enabled = false | |
4733 | end)) | |
4734 | coroutine.resume(coroutine.create(function() | |
4735 | local eff = Instance.new("ParticleEmitter",dis) | |
4736 | eff.Texture = "rbxassetid://695499847" | |
4737 | eff.LightEmission = 1 | |
4738 | eff.Color = ColorSequence.new(dis.Color) | |
4739 | eff.Rate = 500000 | |
4740 | eff.Lifetime = NumberRange.new(0.5,2) | |
4741 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4742 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4743 | eff.Speed = NumberRange.new(20,150) | |
4744 | eff.Drag = 5 | |
4745 | eff.Rotation = NumberRange.new(-500,500) | |
4746 | eff.VelocitySpread = 9000 | |
4747 | eff.RotSpeed = NumberRange.new(-150,150) | |
4748 | wait(0.5) | |
4749 | eff.Enabled = false | |
4750 | end)) | |
4751 | dis.Anchored = true | |
4752 | dis.Transparency = 1 | |
4753 | wait(8) | |
4754 | dis:Destroy() | |
4755 | end | |
4756 | end) | |
4757 | end)) | |
4758 | end)) | |
4759 | end | |
4760 | end)) | |
4761 | for i = 0,9,0.1 do | |
4762 | swait() | |
4763 | rval = rval + 10 | |
4764 | eval = eval + 1.5 | |
4765 | obj1.Transparency = obj1.Transparency - 0.005 | |
4766 | obj1.Size = obj1.Size + vt(0,0.2,0.2) | |
4767 | obj1.CFrame = root.CFrame*CFrame.new(0,5,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90)) | |
4768 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
4769 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
4770 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3) | |
4771 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3) | |
4772 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3) | |
4773 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(176 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3) | |
4774 | end | |
4775 | eff.Enabled = false | |
4776 | coroutine.resume(coroutine.create(function() | |
4777 | for i = 0,49 do | |
4778 | swait() | |
4779 | rval = rval + 100 | |
4780 | obj1.Transparency = obj1.Transparency + 0.02 | |
4781 | obj1.Size = obj1.Size + vt(0,-0.5,-0.5) | |
4782 | end | |
4783 | obj1:Destroy() | |
4784 | end)) | |
4785 | attack = false | |
4786 | hum.WalkSpeed = storehumanoidWS | |
4787 | end | |
4788 | ||
4789 | function Desolateness() | |
4790 | local rrot = 0 | |
4791 | local xam = 1 | |
4792 | attack = true | |
4793 | hum.WalkSpeed = 0 | |
4794 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 5, 1) | |
4795 | for i = 0,3,0.1 do | |
4796 | swait() | |
4797 | block(10,"Add",rarm.CFrame*CFrame.new(0,-3,0),vt(2,2,2),0.025,0.025,0.025,MRC_A,MRC_A.Color) | |
4798 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),-0.05,MRC_B) | |
4799 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.5)* angles(math.rad(20),math.rad(0),math.rad(30)),0.3) | |
4800 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
4801 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
4802 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4803 | RH.C0=clerp(RH.C0,cf(1,-0.5 - 0.05 * math.cos(sine / 25),-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(-10),math.rad(6)),.3) | |
4804 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(20)),.3) | |
4805 | end | |
4806 | coroutine.resume(coroutine.create(function() | |
4807 | for i = 0, 14 do | |
4808 | swait(4) | |
4809 | rrot = rrot + 10*xam | |
4810 | xam = xam + 0.25 | |
4811 | local bonus = xam | |
4812 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
4813 | xa.Anchored = true | |
4814 | xa.Color = Color3.new(0,0,0) | |
4815 | xa.CFrame = root.CFrame*CFrame.new(math.random(-5,5)*bonus,-3,-rrot/1.75) | |
4816 | CreateMeshy(xa,"Sphere",10*bonus,1,10*bonus) | |
4817 | local xc = 0 | |
4818 | coroutine.resume(coroutine.create(function() | |
4819 | xa.Transparency = 1 | |
4820 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 2.5,0.75) | |
4821 | CFuncs["EchoSound"].Create("rbxassetid://675172759", xa, 3, 0.8,0,10,0.15,0.5,1) | |
4822 | MagniDamage(xa, 10*bonus, 38*bonus,59*bonus, 0, "Normal") | |
4823 | for i = 0, 9 do | |
4824 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(25,50)/250*bonus,MRC_B) | |
4825 | end | |
4826 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(10*bonus,10*bonus,10*bonus),0.1,0.1,0.1,MRC_A,MRC_A.Color) | |
4827 | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(5*bonus,1,5*bonus),0.01*bonus,1*bonus,0.01*bonus,MRC_A,MRC_A.Color) | |
4828 | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(10*bonus,1,10*bonus),0.01*bonus,1*bonus,0.01*bonus,MRC_B,MRC_B) | |
4829 | game:GetService("Debris"):AddItem(xa, 5) | |
4830 | coroutine.resume(coroutine.create(function() | |
4831 | for i = 0, 19 do | |
4832 | swait() | |
4833 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
4834 | end | |
4835 | hum.CameraOffset = vt(0,0,0) | |
4836 | end)) | |
4837 | end)) | |
4838 | end | |
4839 | end)) | |
4840 | for i = 0,3,0.1 do | |
4841 | swait() | |
4842 | ||
4843 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,0)* angles(math.rad(0),math.rad(0),math.rad(74)),0.3) | |
4844 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-8),math.rad(0),math.rad(-74)),.3) | |
4845 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.75, 0) * angles(math.rad(180), math.rad(0), math.rad(-10)), 0.3) | |
4846 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4847 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(-30),math.rad(0)),.3) | |
4848 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(13)),.3) | |
4849 | end | |
4850 | attack = false | |
4851 | hum.WalkSpeed = storehumanoidWS | |
4852 | end | |
4853 | ||
4854 | function Dirtface() | |
4855 | local TARGET = Mouse.Target | |
4856 | if TARGET ~= nil then | |
4857 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
4858 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
4859 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
4860 | if ROOT and HUM.Health > 0 then | |
4861 | local FOE = Mouse.Target.Parent | |
4862 | local HEAD = FOE:FindFirstChild("Head") | |
4863 | local HITFLOOR = rayCast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE) | |
4864 | if HEAD and HITFLOOR then | |
4865 | attack = true | |
4866 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2) | |
4867 | CreateSound(235097614, Torso, 2, 3, false) | |
4868 | Chat('Struggle..') | |
4869 | CreateSound(160212585, Torso, 10, 1, false) | |
4870 | for i=0, 0.4, 0.1 do | |
4871 | swait() | |
4872 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)),0.1) | |
4873 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)),0.1) | |
4874 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140 - 27 * math.random(0,2)), RAD(0 - 20 * math.random(0,2)), RAD(0 - 7 * math.random(0,2))),0.1) | |
4875 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)),0.1) | |
4876 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4877 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4878 | end | |
4879 | for i=0, 0.1, 0.1 do | |
4880 | swait() | |
4881 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)),0.1) | |
4882 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)),0.1) | |
4883 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140 - 27 * math.random(0,2)), RAD(0 - 20 * math.random(0,2)), RAD(25 - 7 * math.random(0,2))),0.1) | |
4884 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)),0.1) | |
4885 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4886 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4887 | end | |
4888 | local DEAD = false | |
4889 | local CFRAME = RootPart.CFrame | |
4890 | CreateSound(260411131, Torso, 2, 3, false) | |
4891 | coroutine.resume(coroutine.create(function() | |
4892 | repeat | |
4893 | swait() | |
4894 | RootPart.CFrame = CFRAME | |
4895 | HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0)) | |
4896 | HEAD.Velocity = vt(0,0,0) | |
4897 | HUM.PlatformStand = true | |
4898 | until DEAD == true | |
4899 | end)) | |
4900 | for i=0, 0.2, 0.1 do | |
4901 | swait() | |
4902 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)),0.1) | |
4903 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)),0.1) | |
4904 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)), 0.3) | |
4905 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)),0.1) | |
4906 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4907 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4908 | end | |
4909 | for i=0, 1, 0.1 do | |
4910 | swait() | |
4911 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)),0.1) | |
4912 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)),0.1) | |
4913 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(60), RAD(0), RAD(0)),0.1) | |
4914 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)),0.1) | |
4915 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4916 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4917 | end | |
4918 | local ERUPT = function() | |
4919 | local HITFLOOR,HITPOS = rayCast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE) | |
4920 | if HITFLOOR then | |
4921 | for i = 1, 5 do | |
4922 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85)) | |
4923 | end | |
4924 | Chunks(HEAD) | |
4925 | end | |
4926 | end | |
4927 | for i=0, 1, 0.1 do | |
4928 | swait() | |
4929 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)),0.1) | |
4930 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)),0.1) | |
4931 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)),0.1) | |
4932 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)),0.1) | |
4933 | RH.C0 = clerp(RH.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)),0.1) | |
4934 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4935 | end | |
4936 | local ATE = false | |
4937 | local DEPTH = 1 | |
4938 | coroutine.resume(coroutine.create(function() | |
4939 | repeat | |
4940 | swait() | |
4941 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)),0.1) | |
4942 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)),0.1) | |
4943 | RW.C0 = clerp(RW.C0, CF(1.45, 1-DEPTH/4, -DEPTH/4) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)),0.1) | |
4944 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)),0.1) | |
4945 | RH.C0 = clerp(RH.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)),0.1) | |
4946 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4947 | until ATE == true | |
4948 | end)) | |
4949 | coroutine.resume(coroutine.create(function() | |
4950 | wait(1) | |
4951 | for i=0, 2, 0.1 do | |
4952 | swait() | |
4953 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)),0.1) | |
4954 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)),0.1) | |
4955 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)),0.1) | |
4956 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)),0.1) | |
4957 | RH.C0 = clerp(RH.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)),0.1) | |
4958 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4959 | end | |
4960 | wait(1) | |
4961 | for i=0, 2, 0.1 do | |
4962 | swait() | |
4963 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)),0.1) | |
4964 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)),0.1) | |
4965 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, 1) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)),0.1) | |
4966 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)),0.1) | |
4967 | RH.C0 = clerp(RH.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)),0.1) | |
4968 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4969 | end | |
4970 | wait(1.5) | |
4971 | for i=0, 3, 0.1 do | |
4972 | swait() | |
4973 | RootJoint.C0 = clerp(RootJoint.C0,RootCF * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)),0.1) | |
4974 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(10)),0.1) | |
4975 | RW.C0 = clerp(RW.C0, CF(1.45, 0.5, 2) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(-15)), 0.1) | |
4976 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)),0.1) | |
4977 | RH.C0 = clerp(RH.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)),0.1) | |
4978 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)),0.1) | |
4979 | end | |
4980 | end)) | |
4981 | wait() | |
4982 | ERUPT() | |
4983 | ERUPT() | |
4984 | DEPTH = 2 | |
4985 | wait(2) | |
4986 | ERUPT() | |
4987 | DEPTH = 2.5 | |
4988 | wait(2) | |
4989 | ERUPT() | |
4990 | DEPTH = 2.5 | |
4991 | wait(1.75) | |
4992 | CreateSound(159882598, Torso, 10, 0.9, false) | |
4993 | wait(0.25) | |
4994 | Chat('D I E') | |
4995 | wait(1) | |
4996 | ERUPT() | |
4997 | ERUPT() | |
4998 | HEAD:remove() | |
4999 | DEAD = true | |
5000 | ApplyDamage(HUM,0,true) | |
5001 | wait(0.2) | |
5002 | ATE = true | |
5003 | attack = false | |
5004 | end | |
5005 | end | |
5006 | end | |
5007 | end | |
5008 | end | |
5009 | ||
5010 | function Painful_Stomp() | |
5011 | attack = true | |
5012 | Chat("NOUSE",MRC_A.Color,1) | |
5013 | for i = 0, 2, 0.1 do | |
5014 | swait() | |
5015 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
5016 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
5017 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
5018 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
5019 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
5020 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
5021 | end | |
5022 | CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1) | |
5023 | CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1) | |
5024 | CameraEnshaking(4, 12) | |
5025 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
5026 | if v:FindFirstChild("Head") then | |
5027 | dmg(v) | |
5028 | end | |
5029 | end | |
5030 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random()) | |
5031 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random()) | |
5032 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random()) | |
5033 | for i = 0, 2, 0.1 do | |
5034 | swait() | |
5035 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
5036 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
5037 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
5038 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
5039 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
5040 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
5041 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
5042 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
5043 | end | |
5044 | attack = false | |
5045 | end | |
5046 | ||
5047 | function CrystallizedFreeze() | |
5048 | attack = true | |
5049 | hum.WalkSpeed = 2 | |
5050 | local keptcolor = MRC_A | |
5051 | local obj1 = script.snowflake:Clone() | |
5052 | obj1.Parent = char | |
5053 | obj1.Transparency = 1 | |
5054 | obj1.Color = MRC_A.Color | |
5055 | local rval = 0 | |
5056 | local eval = 1 | |
5057 | CFuncs["Sound"].Create("rbxassetid://199145761", obj1, 3,1) | |
5058 | CFuncs["Sound"].Create("rbxassetid://199145967", obj1, 2,0.9) | |
5059 | local eff = Instance.new("ParticleEmitter",obj1) | |
5060 | eff.Texture = "rbxassetid://2344870656" | |
5061 | eff.LightEmission = 1 | |
5062 | eff.Color = ColorSequence.new(obj1.Color) | |
5063 | eff.Rate = 10000000 | |
5064 | eff.Enabled = true | |
5065 | eff.EmissionDirection = "Front" | |
5066 | eff.Lifetime = NumberRange.new(0.5) | |
5067 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5068 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5069 | eff.Speed = NumberRange.new(5,50) | |
5070 | eff.Drag = 5 | |
5071 | eff.Rotation = NumberRange.new(-500,500) | |
5072 | eff.RotSpeed = NumberRange.new(-500,500) | |
5073 | local eff2 = eff:Clone() | |
5074 | eff2.Parent = obj1 | |
5075 | eff2.Texture = "rbxassetid://695499847" | |
5076 | eff2.Speed = NumberRange.new(5,100) | |
5077 | eff2.Lifetime = NumberRange.new(1) | |
5078 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5079 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),1,0.005,1,MRC_A,MRC_A.Color) | |
5080 | for i = 0,12,0.1 do | |
5081 | swait() | |
5082 | rval = rval + 10 | |
5083 | eval = eval + 1.5 | |
5084 | obj1.Transparency = obj1.Transparency - 0.005 | |
5085 | obj1.Size = obj1.Size + vt(0.5,0.5,0) | |
5086 | obj1.CFrame = root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(rval)) | |
5087 | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,MRC_B) | |
5088 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
5089 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
5090 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3) | |
5091 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) | |
5092 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3) | |
5093 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3) | |
5094 | end | |
5095 | eff.Enabled = false | |
5096 | eff2.Enabled = false | |
5097 | coroutine.resume(coroutine.create(function() | |
5098 | for i = 0,49 do | |
5099 | swait() | |
5100 | rval = rval + 100 | |
5101 | obj1.Transparency = obj1.Transparency + 0.02 | |
5102 | obj1.Size = obj1.Size + vt(-1,-1,0) | |
5103 | end | |
5104 | wait(1) | |
5105 | obj1:Destroy() | |
5106 | end)) | |
5107 | for i = 0, 19 do | |
5108 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,MRC_B) | |
5109 | end | |
5110 | CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1) | |
5111 | MagniDamage(root, 60, 40,50, 0, "Normal") | |
5112 | sphere2(1,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,MRC_A,MRC_A.Color) | |
5113 | sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,MRC_B,MRC_B.Color) | |
5114 | local obj2 = script.nado:Clone() | |
5115 | obj2.Parent = char | |
5116 | obj2.Transparency = 0.25 | |
5117 | obj2.Color = MRC_A.Color | |
5118 | local eff = Instance.new("ParticleEmitter",obj2) | |
5119 | eff.Texture = "rbxassetid://2344870656" | |
5120 | eff.LightEmission = 1 | |
5121 | eff.Color = ColorSequence.new(obj2.Color) | |
5122 | eff.Rate = 10000000 | |
5123 | eff.Enabled = true | |
5124 | eff.EmissionDirection = "Front" | |
5125 | eff.Lifetime = NumberRange.new(1) | |
5126 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5127 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5128 | eff.Speed = NumberRange.new(5,50) | |
5129 | eff.Drag = 5 | |
5130 | eff.VelocitySpread = 90000 | |
5131 | eff.Rotation = NumberRange.new(-500,500) | |
5132 | eff.RotSpeed = NumberRange.new(-500,500) | |
5133 | local eff2 = eff:Clone() | |
5134 | eff2.Parent = obj2 | |
5135 | eff2.Texture = "rbxassetid://695499847" | |
5136 | eff2.Speed = NumberRange.new(5,100) | |
5137 | eff2.Lifetime = NumberRange.new(1) | |
5138 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5139 | coroutine.resume(coroutine.create(function() | |
5140 | for i = 0, 19 do | |
5141 | local dis = CreateParta(char,0.5,1,"Neon",MRC_A) | |
5142 | dis.BrickColor = MRC_A | |
5143 | dis.Anchored = true | |
5144 | dis.Velocity = vt(math.random(-50,50),math.random(50,150),math.random(-50,50)) | |
5145 | CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1) | |
5146 | dis.CFrame = root.CFrame*CFrame.new(math.random(-10,10),math.random(5,25),math.random(-10,10))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5147 | CreateMeshy(dis,"Sphere",0.5,0.5,4) | |
5148 | dis.Anchored = false | |
5149 | local at1 = Instance.new("Attachment",dis) | |
5150 | at1.Position = vt(-0.25,0,0) | |
5151 | local at2 = Instance.new("Attachment",dis) | |
5152 | at2.Position = vt(0.25,0,0) | |
5153 | local trl = Instance.new('Trail',dis) | |
5154 | trl.Attachment0 = at1 | |
5155 | trl.FaceCamera = true | |
5156 | trl.Attachment1 = at2 | |
5157 | trl.Texture = "rbxassetid://1049219073" | |
5158 | trl.LightEmission = 1 | |
5159 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5160 | trl.Color = ColorSequence.new(dis.Color) | |
5161 | trl.Lifetime = 0.6 | |
5162 | game:GetService("Debris"):AddItem(dis, 5) | |
5163 | local hitted = false | |
5164 | coroutine.resume(coroutine.create(function() | |
5165 | dis.Touched:connect(function(hit) | |
5166 | if hitted == false and hit.Parent ~= char then | |
5167 | hitted = true | |
5168 | CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1) | |
5169 | MagniDamage(dis, 20, 10,20, 0, "Normal") | |
5170 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
5171 | sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1)) | |
5172 | coroutine.resume(coroutine.create(function() | |
5173 | local eff = Instance.new("ParticleEmitter",dis) | |
5174 | eff.Texture = "rbxassetid://2344870656" | |
5175 | eff.LightEmission = 1 | |
5176 | eff.Color = ColorSequence.new(dis.Color) | |
5177 | eff.Rate = 10000000 | |
5178 | eff.Enabled = true | |
5179 | --eff.EmissionDirection = "Front" | |
5180 | eff.Lifetime = NumberRange.new(0.5) | |
5181 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)}) | |
5182 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5183 | eff.Speed = NumberRange.new(100) | |
5184 | eff.Drag = 5 | |
5185 | eff.Rotation = NumberRange.new(-500,500) | |
5186 | eff.SpreadAngle = Vector2.new(0,900) | |
5187 | eff.RotSpeed = NumberRange.new(-500,500) | |
5188 | wait(0.1) | |
5189 | eff.Enabled = false | |
5190 | end)) | |
5191 | coroutine.resume(coroutine.create(function() | |
5192 | local eff = Instance.new("ParticleEmitter",dis) | |
5193 | eff.Texture = "rbxassetid://695499847" | |
5194 | eff.LightEmission = 1 | |
5195 | eff.Color = ColorSequence.new(dis.Color) | |
5196 | eff.Rate = 500000 | |
5197 | eff.Lifetime = NumberRange.new(0.5,2) | |
5198 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5199 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5200 | eff.Speed = NumberRange.new(20,150) | |
5201 | eff.Drag = 5 | |
5202 | eff.Rotation = NumberRange.new(-500,500) | |
5203 | eff.VelocitySpread = 9000 | |
5204 | eff.RotSpeed = NumberRange.new(-150,150) | |
5205 | wait(0.5) | |
5206 | eff.Enabled = false | |
5207 | end)) | |
5208 | dis.Anchored = true | |
5209 | dis.Transparency = 1 | |
5210 | wait(8) | |
5211 | dis:Destroy() | |
5212 | end | |
5213 | end) | |
5214 | end)) | |
5215 | end | |
5216 | end)) | |
5217 | for i = 0,9,0.1 do | |
5218 | swait() | |
5219 | rval = rval + 20 | |
5220 | eval = eval + 1.5 | |
5221 | obj2.Transparency = obj2.Transparency + 0.005 | |
5222 | obj2.Size = obj2.Size + vt(2,1,2) | |
5223 | obj2.CFrame = root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(90+rval),math.rad(0)) | |
5224 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
5225 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
5226 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.2 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3) | |
5227 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) | |
5228 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(100 + 2 * math.cos(sine / 45))),.3) | |
5229 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-101 - 4 * math.cos(sine / 45))),.3) | |
5230 | end | |
5231 | eff.Enabled = false | |
5232 | eff2.Enabled = false | |
5233 | coroutine.resume(coroutine.create(function() | |
5234 | for i = 0,49 do | |
5235 | swait() | |
5236 | rval = rval + 100 | |
5237 | obj2.Transparency = obj2.Transparency + 0.02 | |
5238 | obj2.Size = obj2.Size + vt(-1,-1,-1) | |
5239 | end | |
5240 | wait(1) | |
5241 | obj2:Destroy() | |
5242 | end)) | |
5243 | attack = false | |
5244 | hum.WalkSpeed = storehumanoidWS | |
5245 | end | |
5246 | ||
5247 | function desolSTRIKE() | |
5248 | attack = true | |
5249 | hum.WalkSpeed = 0 | |
5250 | local obj1 = script.sword:Clone() | |
5251 | obj1.Parent = char | |
5252 | obj1.Transparency = 1 | |
5253 | obj1.Color = MRC_B.Color | |
5254 | local obj1b = script.sword:Clone() | |
5255 | obj1b.Parent = char | |
5256 | obj1b.Transparency = 1 | |
5257 | obj1b.Material = "Neon" | |
5258 | obj1b.Color = MRC_A.Color | |
5259 | CFuncs["Sound"].Create("rbxassetid://1548527129", obj1, 4,1.25) | |
5260 | local eff = Instance.new("ParticleEmitter",obj1) | |
5261 | eff.Texture = "rbxassetid://2344870656" | |
5262 | eff.LightEmission = 1 | |
5263 | eff.Color = ColorSequence.new(obj1b.Color) | |
5264 | eff.Rate = 10000000 | |
5265 | eff.EmissionDirection = "Front" | |
5266 | eff.Lifetime = NumberRange.new(0.5) | |
5267 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5268 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5269 | eff.Speed = NumberRange.new(1,10) | |
5270 | eff.Drag = 5 | |
5271 | eff.VelocitySpread = 9999 | |
5272 | eff.Rotation = NumberRange.new(-500,500) | |
5273 | eff.RotSpeed = NumberRange.new(-500,500) | |
5274 | local eff2 = eff:Clone() | |
5275 | eff2.Color = ColorSequence.new(MRC_B.Color) | |
5276 | eff2.Speed = NumberRange.new(5,25) | |
5277 | eff2.Parent = obj1 | |
5278 | eff2.Texture = "rbxassetid://2092248396" | |
5279 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5280 | for i = 0,5,0.1 do | |
5281 | swait() | |
5282 | obj1.Transparency = obj1.Transparency - 0.005 | |
5283 | obj1.Size = obj1.Size + vt(0.05,0,0.025) | |
5284 | obj1b.Transparency = obj1b.Transparency - 0.022 | |
5285 | obj1b.Size = obj1b.Size + vt(0.015,0.0025,0.0025) | |
5286 | obj1b.CFrame = obj1.CFrame | |
5287 | obj1.CFrame = rarm.CFrame*CFrame.new(-3,-1,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
5288 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-3)),.3) | |
5289 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(3)),.3) | |
5290 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.03,0)*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
5291 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) | |
5292 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(3),math.rad(8)),.3) | |
5293 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0.25)*angles(math.rad(70),math.rad(4),math.rad(-22)),.3) | |
5294 | end | |
5295 | symbolizeBlink(obj1,0,2109052855,MRC_A.Color,1.5,5,0.9,1614005837,obj1,true,10,1) | |
5296 | symbolizeBlink(obj1,0,2109052855,MRC_B.Color,1.6,5,1,1923591005,obj1,true,10,1) | |
5297 | symbolizeBlink(obj1,0,2092248396,MRC_A.Color,3,0,0,0,root,true,10,1.25) | |
5298 | symbolizeBlink(obj1,0,2344870656,MRC_A.Color,10,0,0,0,root,true,10,1.5) | |
5299 | eff.Enabled = false | |
5300 | eff2.Enabled = false | |
5301 | for i = 0,3,0.1 do | |
5302 | swait() | |
5303 | obj1b.CFrame = obj1.CFrame | |
5304 | obj1.CFrame = rarm.CFrame*CFrame.new(-3,-1,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
5305 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-30),math.rad(10)),.3) | |
5306 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.3) | |
5307 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.03,0)*angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
5308 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(-5),math.rad(-60)),.3) | |
5309 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(90),math.rad(3),math.rad(-24)),.3) | |
5310 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0)*angles(math.rad(70),math.rad(4),math.rad(-95)),.3) | |
5311 | end | |
5312 | local dis = CreateParta(char,1,1,"Neon",MRC_A) | |
5313 | dis.BrickColor = MRC_A | |
5314 | dis.Anchored = true | |
5315 | dis.CFrame = root.CFrame + root.CFrame.lookVector*50 | |
5316 | coroutine.resume(coroutine.create(function() | |
5317 | local eff = Instance.new("ParticleEmitter",dis) | |
5318 | eff.Texture = "rbxassetid://2344870656" | |
5319 | eff.LightEmission = 1 | |
5320 | eff.Color = ColorSequence.new(dis.Color) | |
5321 | eff.Rate = 10000000 | |
5322 | --eff.EmissionDirection = "Front" | |
5323 | eff.Lifetime = NumberRange.new(3) | |
5324 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,10,0),NumberSequenceKeypoint.new(1,30,0)}) | |
5325 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5326 | eff.Speed = NumberRange.new(200,250) | |
5327 | eff.Drag = 5 | |
5328 | eff.Rotation = NumberRange.new(-500,500) | |
5329 | eff.SpreadAngle = Vector2.new(900,900) | |
5330 | eff.RotSpeed = NumberRange.new(-500,500) | |
5331 | local eff2 = eff:Clone() | |
5332 | eff2.Color = ColorSequence.new(MRC_B.Color) | |
5333 | eff2.Speed = NumberRange.new(250,300) | |
5334 | eff2.Parent = dis | |
5335 | wait(0.5) | |
5336 | eff.Enabled = false | |
5337 | eff2.Enabled = false | |
5338 | end)) | |
5339 | sphere2(3,"Add",dis.CFrame,vt(2,2,2),-0.02,-0.02,2,MRC_A,MRC_A.Color) | |
5340 | sphere2(3,"Add",dis.CFrame,vt(2,2,2),-0.01,-0.01,3,MRC_B,MRC_B.Color) | |
5341 | CFuncs["Sound"].Create("rbxassetid://2237297994", dis, 6,1) | |
5342 | CFuncs["Sound"].Create("rbxassetid://1548538202", dis, 6,1) | |
5343 | symbolizeBlink(dis,0,2344870656,MRC_A.Color,100,0,0,0,dis,true,10,3) | |
5344 | MagniDamage(dis, 55, 50,70, 0, "Normal") | |
5345 | root.CFrame = root.CFrame + root.CFrame.lookVector*100 | |
5346 | for i = 0, 19 do | |
5347 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,BrickColor.new("White")) | |
5348 | sphere2(math.random(3,8),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,2,2),-0.01,-0.01,2,MRC_A,MRC_A.Color) | |
5349 | end | |
5350 | for i = 0,2,0.1 do | |
5351 | swait() | |
5352 | obj1b.CFrame = obj1.CFrame | |
5353 | obj1.CFrame = rarm.CFrame*CFrame.new(-3,-1,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
5354 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-30)),.7) | |
5355 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(-10)),.7) | |
5356 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)*angles(math.rad(10),math.rad(0),math.rad(-60)),.7) | |
5357 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(5),math.rad(60)),.7) | |
5358 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(90),math.rad(3),math.rad(84)),.7) | |
5359 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0)*angles(math.rad(90),math.rad(4),math.rad(-60)),.7) | |
5360 | end | |
5361 | for i = 0,1,0.1 do | |
5362 | swait() | |
5363 | obj1b.CFrame = obj1.CFrame | |
5364 | obj1.CFrame = rarm.CFrame*CFrame.new(-3,-1,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
5365 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-3)),.3) | |
5366 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(3)),.3) | |
5367 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.03,0)*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
5368 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) | |
5369 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(3),math.rad(8)),.3) | |
5370 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0.25)*angles(math.rad(70),math.rad(4),math.rad(-22)),.3) | |
5371 | end | |
5372 | for i = 0,2,0.1 do | |
5373 | swait() | |
5374 | obj1.Transparency = obj1.Transparency + 0.01 | |
5375 | obj1.Size = obj1.Size - vt(0.1,0,0.4) | |
5376 | obj1b.Transparency = obj1b.Transparency + 0.044 | |
5377 | obj1b.Size = obj1b.Size - vt(0.03,0.005,0.4) | |
5378 | obj1b.CFrame = obj1.CFrame | |
5379 | obj1.CFrame = rarm.CFrame*CFrame.new(-1.5,-1,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
5380 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-3)),.3) | |
5381 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(3)),.3) | |
5382 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.03,0)*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
5383 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) | |
5384 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(3),math.rad(-10)),.3) | |
5385 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(70),math.rad(4),math.rad(32)),.3) | |
5386 | end | |
5387 | game:GetService("Debris"):AddItem(dis, 5) | |
5388 | obj1:Destroy() | |
5389 | obj1b:Destroy() | |
5390 | hum.WalkSpeed = storehumanoidWS | |
5391 | attack = false | |
5392 | end | |
5393 | ||
5394 | function RapidBurst() | |
5395 | attack = true | |
5396 | hum.WalkSpeed = 0 | |
5397 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5) | |
5398 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5) | |
5399 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1) | |
5400 | Chat("SHATTER!",MRC_A.Color,2) | |
5401 | local keptcolor = MRC_A | |
5402 | for i = 0,8,0.1 do | |
5403 | swait() | |
5404 | --CamShakeAll(15,30,Character) | |
5405 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random()) | |
5406 | block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color) | |
5407 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) | |
5408 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) | |
5409 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
5410 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
5411 | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) | |
5412 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) | |
5413 | end | |
5414 | --CamShakeAll(30,300,Character) | |
5415 | for i = 0, 99 do | |
5416 | local dis = CreateParta(char,1,1,"Neon",MRC_A) | |
5417 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5418 | local at1 = Instance.new("Attachment",dis) | |
5419 | at1.Position = vt(-25000,0,0) | |
5420 | local at2 = Instance.new("Attachment",dis) | |
5421 | at2.Position = vt(25000,0,0) | |
5422 | local trl = Instance.new('Trail',dis) | |
5423 | trl.Attachment0 = at1 | |
5424 | trl.FaceCamera = true | |
5425 | trl.Attachment1 = at2 | |
5426 | trl.Texture = "rbxassetid://1049219073" | |
5427 | trl.LightEmission = 1 | |
5428 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5429 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
5430 | trl.Lifetime = 5 | |
5431 | local bv = Instance.new("BodyVelocity") | |
5432 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5433 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
5434 | bv.Parent = dis | |
5435 | game:GetService("Debris"):AddItem(dis, 5) | |
5436 | end | |
5437 | symbolizeBlink(root,0,2109052855,MRC_A.Color,125,0,0,0,root,false,0,1) | |
5438 | symbolizeBlink(root,0,2109052855,MRC_A.Color,125,0,0,0,root,false,0,1.5) | |
5439 | symbolizeBlink(root,0,2109052855,MRC_A.Color,125,0,0,0,root,false,0,3) | |
5440 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
5441 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
5442 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
5443 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
5444 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1) | |
5445 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8) | |
5446 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1) | |
5447 | for i = 0, 24 do | |
5448 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random()) | |
5449 | end | |
5450 | local distam = 0 | |
5451 | coroutine.resume(coroutine.create(function() | |
5452 | for i = 0, 99 do | |
5453 | wait() | |
5454 | --CamShakeAll(15,100,Character) | |
5455 | distam = distam + 1 | |
5456 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
5457 | xa.Anchored = true | |
5458 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5459 | game:GetService("Debris"):AddItem(xa, 5) | |
5460 | for i = 0, 4 do | |
5461 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random()) | |
5462 | end | |
5463 | coroutine.resume(coroutine.create(function() | |
5464 | local eff = Instance.new("ParticleEmitter",xa) | |
5465 | eff.Texture = "rbxassetid://2344870656" | |
5466 | eff.LightEmission = 1 | |
5467 | eff.Color = ColorSequence.new(xa.Color) | |
5468 | eff.Rate = 10000000 | |
5469 | eff.Enabled = true | |
5470 | eff.Lifetime = NumberRange.new(2.5) | |
5471 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)}) | |
5472 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5473 | eff.Speed = NumberRange.new(200) | |
5474 | eff.Drag = 5 | |
5475 | eff.Rotation = NumberRange.new(-500,500) | |
5476 | eff.SpreadAngle = Vector2.new(0,900) | |
5477 | eff.RotSpeed = NumberRange.new(-500,500) | |
5478 | wait(0.2) | |
5479 | eff.Enabled = false | |
5480 | end)) | |
5481 | coroutine.resume(coroutine.create(function() | |
5482 | local eff = Instance.new("ParticleEmitter",xa) | |
5483 | eff.Texture = "rbxassetid://2273224484" | |
5484 | eff.LightEmission = 1 | |
5485 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
5486 | eff.Rate = 500000 | |
5487 | eff.Lifetime = NumberRange.new(1,3) | |
5488 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5489 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5490 | eff.Speed = NumberRange.new(50,500) | |
5491 | eff.Drag = 5 | |
5492 | eff.Rotation = NumberRange.new(-500,500) | |
5493 | eff.VelocitySpread = 9000 | |
5494 | eff.RotSpeed = NumberRange.new(-50,50) | |
5495 | wait(0.25) | |
5496 | eff.Enabled = false | |
5497 | end)) | |
5498 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200) | |
5499 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
5500 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
5501 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
5502 | end | |
5503 | end)) | |
5504 | attack = false | |
5505 | hum.WalkSpeed = storehumanoidWS | |
5506 | end | |
5507 | ||
5508 | ||
5509 | ------------------------------------- | |
5510 | ||
5511 | Humanoid.Animator.Parent = nil | |
5512 | ||
5513 | ------------------------------------- | |
5514 | ||
5515 | local BinderColoring = false | |
5516 | ||
5517 | coroutine.resume(coroutine.create(function() | |
5518 | Character:WaitForChild("DankValue") | |
5519 | Character.DankValue.Value = 1 | |
5520 | ||
5521 | local Binder1 = Character.Binder1 | |
5522 | local Binder2 = Character.Binder2 | |
5523 | for i,v in pairs(Binder1:GetChildren())do | |
5524 | if v.Name ~= "Weld" and v.Material == Enum.Material.Metal then | |
5525 | v.BrickColor = MRC_B | |
5526 | end | |
5527 | end | |
5528 | ||
5529 | for i,v in pairs(Binder2:GetChildren())do | |
5530 | if v.Name ~= "Weld" and v.Material == Enum.Material.Metal then | |
5531 | v.BrickColor = MRC_B | |
5532 | end | |
5533 | end | |
5534 | ||
5535 | for i,v in pairs(Binder1:GetChildren())do | |
5536 | if v.Name ~= "Weld" and v.Material == Enum.Material.Neon then | |
5537 | v.BrickColor = MRC_A | |
5538 | end | |
5539 | end | |
5540 | ||
5541 | for i,v in pairs(Binder2:GetChildren())do | |
5542 | if v.Name ~= "Weld" and v.Material == Enum.Material.Neon then | |
5543 | v.BrickColor = MRC_A | |
5544 | end | |
5545 | end | |
5546 | ||
5547 | ||
5548 | while true do | |
5549 | swait() | |
5550 | for i,v in pairs(Binder1:GetChildren())do | |
5551 | if v.Name ~= "Weld" and v.Material == Enum.Material.Metal then | |
5552 | v.BrickColor = MRC_B | |
5553 | end | |
5554 | end | |
5555 | ||
5556 | for i,v in pairs(Binder2:GetChildren())do | |
5557 | if v.Name ~= "Weld" and v.Material == Enum.Material.Metal then | |
5558 | v.BrickColor = MRC_B | |
5559 | end | |
5560 | end | |
5561 | ||
5562 | for i,v in pairs(Binder1:GetChildren())do | |
5563 | if v.Name ~= "Weld" and v.Material == Enum.Material.Neon then | |
5564 | v.BrickColor = MRC_A | |
5565 | end | |
5566 | end | |
5567 | ||
5568 | for i,v in pairs(Binder2:GetChildren())do | |
5569 | if v.Name ~= "Weld" and v.Material == Enum.Material.Neon then | |
5570 | v.BrickColor = MRC_A | |
5571 | end | |
5572 | end | |
5573 | ||
5574 | Binder1.Color1B.BrickColor = MRC_B | |
5575 | Binder1.Color1A.BrickColor = MRC_A | |
5576 | ||
5577 | Binder1.Color2A.BrickColor = MRC_B | |
5578 | Binder1.Color2B.BrickColor = MRC_A | |
5579 | ||
5580 | Binder2.Color1A.BrickColor = MRC_B | |
5581 | Binder2.Color1B.BrickColor = MRC_A | |
5582 | ||
5583 | Binder2.Color2A.BrickColor = MRC_B | |
5584 | Binder2.Color2B.BrickColor = MRC_A | |
5585 | ||
5586 | ||
5587 | ||
5588 | end | |
5589 | end)) | |
5590 | ||
5591 | ------------------------------------- | |
5592 | ||
5593 | local attacktype = 1 | |
5594 | mouse.Button1Down:connect(function() | |
5595 | if attack == false and attacktype == 1 and RuinMode == 7 then | |
5596 | attacktype = 2 | |
5597 | attackone() | |
5598 | elseif attack == false and attacktype == 2 and RuinMode == 7 then | |
5599 | attacktype = 3 | |
5600 | attacktwo() | |
5601 | elseif attack == false and attacktype == 3 and RuinMode == 7 then | |
5602 | attacktype = 1 | |
5603 | attackthree() | |
5604 | elseif attack == false and attacktype == 4 and RuinMode == 7 then | |
5605 | attacktype = 1 | |
5606 | --[[attackfour()]]-- | |
5607 | end | |
5608 | end) | |
5609 | ||
5610 | local OVMID = 1702473314 | |
5611 | local OVMPIT = 1.0125 | |
5612 | local OVMVOL = 1 | |
5613 | mouse.KeyDown:connect(function(k) | |
5614 | if k == "q" and attack == false and RuinMode ~= 1 then | |
5615 | RuinMode = 1 | |
5616 | storehumanoidWS = 16 | |
5617 | hum.WalkSpeed = 16 | |
5618 | hum.JumpPower = 50 | |
5619 | rainbowmode = false | |
5620 | chaosmode = false | |
5621 | MRC_A = BrickColor.new("Toothpaste") | |
5622 | MRC_B = BrickColor.new("Black") | |
5623 | RecolorTextAndRename("MIDNIGHT",MRC_B.Color,MRC_A.Color,"Code") | |
5624 | newTheme(901719740,0,1.01,1.5) | |
5625 | RecolorThing(MRC_A,MRC_B,false) | |
5626 | end | |
5627 | if k == "m" and attack == false and RuinMode == 1 then | |
5628 | RuinMode = 1.2 | |
5629 | storehumanoidWS = 160 | |
5630 | hum.WalkSpeed = 100 | |
5631 | hum.JumpPower = 50 | |
5632 | rainbowmode = false | |
5633 | chaosmode = false | |
5634 | MRC_A = BrickColor.new("Br. yellowish orange") | |
5635 | MRC_B = BrickColor.new("Medium orange") | |
5636 | RecolorTextAndRename("SUNLIGHT",MRC_B.Color,MRC_A.Color,"SourceSans") | |
5637 | newTheme(1845545009,0,1.01,1.5) | |
5638 | RecolorThing(MRC_A,MRC_B,false) | |
5639 | end | |
5640 | if k == "e" and attack == false and RuinMode ~= 2 then | |
5641 | RuinMode = 2 | |
5642 | storehumanoidWS = 200 | |
5643 | hum.WalkSpeed = 200 | |
5644 | hum.JumpPower = 50 | |
5645 | rainbowmode = false | |
5646 | chaosmode = false | |
5647 | MRC_A = BrickColor.new("Really blue") | |
5648 | MRC_B = BrickColor.new("Really black") | |
5649 | RecolorTextAndRename("IMMEDIACY",MRC_B.Color,MRC_A.Color,"Arcade") | |
5650 | newTheme(1747430851,0,1.01,1.75) | |
5651 | RecolorThing(MRC_A,MRC_B,false) | |
5652 | end | |
5653 | if k == "u" and attack == false and RuinMode ~= 6 then | |
5654 | RuinMode = 6 | |
5655 | storehumanoidWS = 200 | |
5656 | hum.WalkSpeed = 50 | |
5657 | hum.JumpPower = 50 | |
5658 | rainbowmode = false | |
5659 | chaosmode = false | |
5660 | MRC_A = BrickColor.new("Bright reddish violet") | |
5661 | MRC_B = BrickColor.new("Bright violet") | |
5662 | RecolorTextAndRename("CURSED",MRC_B.Color,MRC_A.Color,"Legacy") | |
5663 | newTheme(1449269630,0,1.01,1.75) | |
5664 | RecolorThing(MRC_A,MRC_B,false) | |
5665 | end | |
5666 | if k == "r" and attack == false and RuinMode ~= 3 then | |
5667 | RuinMode = 3 | |
5668 | storehumanoidWS = 150 | |
5669 | hum.WalkSpeed = 150 | |
5670 | hum.JumpPower = 50 | |
5671 | rainbowmode = false | |
5672 | chaosmode = false | |
5673 | MRC_A = BrickColor.new("Pastel light blue") | |
5674 | MRC_B = BrickColor.new("White") | |
5675 | RecolorTextAndRename("CRYSTALLIZED",MRC_B.Color,MRC_A.Color,"SciFi") | |
5676 | newTheme(1861780345,0,1.01,1.5) | |
5677 | RecolorThing(MRC_A,MRC_B,false) | |
5678 | end | |
5679 | if k == "t" and attack == false and RuinMode ~= 4 then | |
5680 | RuinMode = 4 | |
5681 | storehumanoidWS = 16 | |
5682 | hum.WalkSpeed = 16 | |
5683 | hum.JumpPower = 50 | |
5684 | rainbowmode = false | |
5685 | chaosmode = false | |
5686 | MRC_A = BrickColor.new("Persimmon") | |
5687 | MRC_B = BrickColor.new("Dark indigo") | |
5688 | RecolorTextAndRename("DESOLATION",MRC_B.Color,MRC_A.Color,"Antique") | |
5689 | newTheme(1182934124,0,1.01,1.5) | |
5690 | RecolorThing(MRC_A,MRC_B,false) | |
5691 | end | |
5692 | if k == "y" and attack == false and RuinMode ~= 5 then | |
5693 | RuinMode = 5 | |
5694 | storehumanoidWS = 160 | |
5695 | hum.WalkSpeed = 160 | |
5696 | hum.JumpPower = 50 | |
5697 | rainbowmode = false | |
5698 | chaosmode = false | |
5699 | MRC_A = BrickColor.new("White") | |
5700 | MRC_B = BrickColor.new("Earth green") | |
5701 | RecolorTextAndRename("SEMBLANCE",MRC_B.Color,MRC_A.Color,"Cartoon") | |
5702 | newTheme(1853759713,0,1.01,1.5) | |
5703 | RecolorThing(MRC_A,MRC_B,false) | |
5704 | end | |
5705 | if k == "m" and attack == false and RuinMode == 5 then | |
5706 | RuinMode = 5.5 | |
5707 | storehumanoidWS = 160 | |
5708 | hum.WalkSpeed = 100 | |
5709 | hum.JumpPower = 50 | |
5710 | rainbowmode = false | |
5711 | chaosmode = false | |
5712 | MRC_A = BrickColor.new("Black") | |
5713 | MRC_B = BrickColor.new("Pastel Blue") | |
5714 | RecolorTextAndRename("MISAPPREHENSION",MRC_B.Color,MRC_A.Color,"Garamond") | |
5715 | newTheme(1846649246,0,1.01,1.5) | |
5716 | RecolorThing(MRC_A,MRC_B,false) | |
5717 | end | |
5718 | if k == "f" and attack == false and RuinMode ~= 7 then | |
5719 | RuinMode = 7 | |
5720 | storehumanoidWS = 70 | |
5721 | hum.WalkSpeed = 70 | |
5722 | hum.JumpPower = 50 | |
5723 | rainbowmode = false | |
5724 | chaosmode = false | |
5725 | MRC_A = BrickColor.new("Black") | |
5726 | MRC_B = BrickColor.new("Institutional white") | |
5727 | RecolorTextAndRename("FIGHTER",MRC_B.Color,MRC_A.Color,"Code") | |
5728 | newTheme(493647101,0,1.02,1.25) | |
5729 | RecolorThing(MRC_A,MRC_B,false) | |
5730 | end | |
5731 | if k == "g" and attack == false and RuinMode ~= 8 then | |
5732 | RuinMode = 8 | |
5733 | storehumanoidWS = 16 | |
5734 | hum.WalkSpeed = 16 | |
5735 | hum.JumpPower = 50 | |
5736 | rainbowmode = false | |
5737 | chaosmode = false | |
5738 | MRC_A = BrickColor.new("Crimson") | |
5739 | MRC_B = BrickColor.new("Lime green") | |
5740 | RecolorTextAndRename("RETRIBUTION",MRC_B.Color,MRC_A.Color,"Legacy") | |
5741 | newTheme(164084138,0,1,1.5) | |
5742 | RecolorThing(MRC_A,MRC_B,false) | |
5743 | end | |
5744 | if k == "h" and attack == false and RuinMode ~= 9 then | |
5745 | RuinMode = 9 | |
5746 | storehumanoidWS = 135 | |
5747 | hum.WalkSpeed = 135 | |
5748 | hum.JumpPower = 50 | |
5749 | rainbowmode = false | |
5750 | chaosmode = false | |
5751 | MRC_A = BrickColor.new("Medium stone grey") | |
5752 | MRC_B = BrickColor.new("Black") | |
5753 | RecolorTextAndRename("VISUALISING",MRC_B.Color,MRC_A.Color,"Arcade") | |
5754 | newTheme(OVMID,0,OVMPIT,OVMVOL) | |
5755 | RecolorThing(MRC_A,MRC_B,false) | |
5756 | end | |
5757 | if k == "j" and attack == false and RuinMode ~= 10 then | |
5758 | RuinMode = 10 | |
5759 | storehumanoidWS = 100 | |
5760 | hum.WalkSpeed = 100 | |
5761 | hum.JumpPower = 50 | |
5762 | rainbowmode = false | |
5763 | chaosmode = true | |
5764 | MRC_A = BrickColor.new("Really black") | |
5765 | MRC_B = BrickColor.new("Black") | |
5766 | RecolorTextAndRename("INSANITY",MRC_B.Color,MRC_A.Color,"Antique") | |
5767 | newTheme(919231299,0,1,1) | |
5768 | RecolorThing(MRC_A,MRC_B,false) | |
5769 | end | |
5770 | if k == "m" and attack == false and RuinMode == 10 then | |
5771 | RuinMode = 10.5 | |
5772 | storehumanoidWS = 8 | |
5773 | hum.WalkSpeed = 8 | |
5774 | hum.JumpPower = 50 | |
5775 | rainbowmode = false | |
5776 | chaosmode = true | |
5777 | MRC_A = BrickColor.new("Really black") | |
5778 | MRC_B = BrickColor.new("Crimson") | |
5779 | RecolorTextAndRename("TruE InSAnITy",MRC_B.Color,MRC_A.Color,"SciFi") | |
5780 | newTheme(943961217,0,1,1) | |
5781 | RecolorThing(MRC_A,MRC_B,false) | |
5782 | end | |
5783 | if k == "z" and RuinMode == 3 and attack == false then | |
5784 | Shards() | |
5785 | elseif k == "z" and RuinMode == 4 and attack == false then | |
5786 | Desolateness() | |
5787 | elseif k == "z" and RuinMode == 8 and attack == false then | |
5788 | Dirtface() | |
5789 | elseif k == "z" and RuinMode == 10.5 and attack == false then | |
5790 | Painful_Stomp() | |
5791 | end | |
5792 | if k == "x" and RuinMode == 3 and attack == false then | |
5793 | CrystallizedFreeze() | |
5794 | elseif k == "x" and RuinMode == 4 and attack == false then | |
5795 | desolSTRIKE() | |
5796 | elseif k == "x" and RuinMode == 10 and attack == false then | |
5797 | RapidBurst() | |
5798 | end | |
5799 | if k == "l" and mutedtog == false then | |
5800 | mutedtog = true | |
5801 | kan.Volume = 0 | |
5802 | elseif k == "l" and mutedtog == true then | |
5803 | mutedtog = false | |
5804 | kan.Volume = 1.25 | |
5805 | end | |
5806 | if k == "p" and toggleTag == false then | |
5807 | toggleTag = true | |
5808 | modet.TextTransparency = 0 | |
5809 | modet.TextStrokeTransparency = 0 | |
5810 | elseif k == "p" and toggleTag == true then | |
5811 | toggleTag = false | |
5812 | modet.TextTransparency = 1 | |
5813 | modet.TextStrokeTransparency = 1 | |
5814 | end | |
5815 | end) | |
5816 | ||
5817 | --- Temporary MODE effect list | |
5818 | coroutine.resume(coroutine.create(function() | |
5819 | while true do | |
5820 | swait() | |
5821 | sphereMK(2,math.random(5,10)/45,"Add",root.CFrame*CFrame.new(math.random(-6,6),-10,math.random(-6,6))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,MRC_A,0) | |
5822 | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(5,20)/250,MRC_B) | |
5823 | if RuinMode == 3 or RuinMode == 5 then | |
5824 | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MRC_A,0) | |
5825 | end | |
5826 | end | |
5827 | end)) | |
5828 | --- Visualiser Stuff | |
5829 | plr.Chatted:connect(function(message) | |
5830 | if RuinMode == 9 then | |
5831 | if message:sub(1,5) == "play/" then | |
5832 | OVMID = message:sub(6) | |
5833 | newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
5834 | elseif message:sub(1,6) == "pitch/" then | |
5835 | OVMPIT = message:sub(7) | |
5836 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
5837 | elseif message:sub(1,4) == "vol/" then | |
5838 | OVMVOL = message:sub(5) | |
5839 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
5840 | elseif message:sub(1,7) == "skipto/" then | |
5841 | chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MRC_A.Color,MRC_B.Color,"Inverted","Arcade",1) | |
5842 | newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL) | |
5843 | elseif message:sub(1,9) == "telltime/" then | |
5844 | chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MRC_A.Color,MRC_B.Color,"Inverted","Arcade",1) | |
5845 | end | |
5846 | end | |
5847 | end) | |
5848 | --- | |
5849 | ||
5850 | Humanoid.Name = "RUINDELTA" | |
5851 | Humanoid.MaxHealth = math.huge | |
5852 | Humanoid.Health = math.huge | |
5853 | Instance.new("ForceField",char).Visible = false | |
5854 | ||
5855 | mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset) | |
5856 | idleanim=.4 | |
5857 | while true do | |
5858 | Humanoid.MaxHealth = math.huge | |
5859 | Humanoid.Health = math.huge | |
5860 | coroutine.resume(coroutine.create(function() | |
5861 | mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset) | |
5862 | textsong.Text = (mps.Name) | |
5863 | end)) | |
5864 | if mutedtog == false and duringend == false then | |
5865 | kan.Volume = currentVol | |
5866 | elseif mutedtog == true and duringend == false then | |
5867 | kan.Volume = 0 | |
5868 | end | |
5869 | if duringend == false then | |
5870 | kan.PlaybackSpeed = currentPitch | |
5871 | kan.Pitch = currentPitch | |
5872 | end | |
5873 | kan.SoundId = currentThemePlaying | |
5874 | kan.Looped = true | |
5875 | kan.Parent = char | |
5876 | kan:Resume() | |
5877 | modet.Rotation = - 5 * math.cos(sine / 32) | |
5878 | techc.Rotation = techc.Rotation + 1 | |
5879 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
5880 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
5881 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1 | |
5882 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1 | |
5883 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
5884 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
5885 | ||
5886 | swait() | |
5887 | --------------- | |
5888 | sine = sine + change | |
5889 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
5890 | local velderp=RootPart.Velocity.y | |
5891 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
5892 | if equipped==true or equipped==false then | |
5893 | if attack==false then | |
5894 | idle=idle+1 | |
5895 | else | |
5896 | idle=0 | |
5897 | end | |
5898 | if idle>=500 then | |
5899 | if attack==false then | |
5900 | --Sheath() | |
5901 | end | |
5902 | end | |
5903 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
5904 | Anim="Jump" | |
5905 | if attack==false then | |
5906 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
5907 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
5908 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
5909 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
5910 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) | |
5911 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) | |
5912 | end | |
5913 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
5914 | Anim="Fall" | |
5915 | if attack==false then | |
5916 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
5917 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
5918 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
5919 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
5920 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) | |
5921 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) | |
5922 | end | |
5923 | elseif torvel<1 and hitfloor~=nil then | |
5924 | Anim="Idle" | |
5925 | if attack==false then | |
5926 | if RuinMode == 1 then | |
5927 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(-20 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2) | |
5928 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(3 + 2 * math.cos(sine / 32))),.2) | |
5929 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(30)),.2) | |
5930 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-10 + 2 * math.cos(sine / 58)),math.rad(-30)),.2) | |
5931 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2) | |
5932 | LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2) | |
5933 | elseif RuinMode == 2 then | |
5934 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2) | |
5935 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(10 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.2) | |
5936 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 1 * math.cos(sine / 32)),math.rad(0),math.rad(-12)),.2) | |
5937 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(12)),.2) | |
5938 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2) | |
5939 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-22 - 3 * math.cos(sine / 45))),.2) | |
5940 | elseif RuinMode == 3 then | |
5941 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2) | |
5942 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 5 * math.cos(sine / 51))),.2) | |
5943 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(22)),.2) | |
5944 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-22)),.2) | |
5945 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(180 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2) | |
5946 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-12 - 9 * math.cos(sine / 45))),.2) | |
5947 | elseif RuinMode == 4 then | |
5948 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-7 - 2 * math.cos(sine / 32))),.2) | |
5949 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(30 - 1 * math.cos(sine / 56)),math.rad(5 + 2 * math.cos(sine / 32))),.2) | |
5950 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-56)),.2) | |
5951 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(10 + 2 * math.cos(sine / 58)),math.rad(45)),.2) | |
5952 | RW.C0=clerp(RW.C0,cf(1.2,1.25 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-35 + 4 * math.cos(sine / 45))),.2) | |
5953 | LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(81 - 7 * math.cos(sine / 10000)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2) | |
5954 | elseif RuinMode == 1.2 then | |
5955 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-7 - 2 * math.cos(sine / 32))),.2) | |
5956 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(30 - 1 * math.cos(sine / 56)),math.rad(5 + 2 * math.cos(sine / 32))),.2) | |
5957 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-56)),.2) | |
5958 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(10 + 2 * math.cos(sine / 58)),math.rad(45)),.2) | |
5959 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2) | |
5960 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-22 - 3 * math.cos(sine / 45))),.2) | |
5961 | elseif RuinMode == 5 then | |
5962 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2) | |
5963 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(18 - 1 * math.cos(sine / 56)),math.rad(10 + 5 * math.cos(sine / 51))),.2) | |
5964 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(-31)),.2) | |
5965 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(5 + 2 * math.cos(sine / 37)),math.rad(31)),.2) | |
5966 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(60 + 5 * math.cos(sine / 56)),math.rad(0 - 3 * math.cos(sine / 62)),math.rad(-16 + 3 * math.cos(sine / 45))),.2) | |
5967 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(172 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(19 - 3 * math.cos(sine / 45))),.2) | |
5968 | elseif RuinMode == 5.5 then | |
5969 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2) | |
5970 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(18 - 1 * math.cos(sine / 56)),math.rad(10 + 5 * math.cos(sine / 51))),.2) | |
5971 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(-31)),.2) | |
5972 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(5 + 2 * math.cos(sine / 37)),math.rad(31)),.2) | |
5973 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2) | |
5974 | LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2) | |
5975 | elseif RuinMode == 6 then | |
5976 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 100000 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2) | |
5977 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 100000 * math.cos(sine / 56)),math.rad(10 + 5 * math.cos(sine / 51))),.2) | |
5978 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 100000 * math.cos(sine / 32)),math.rad(0),math.rad(22)),.2) | |
5979 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 100000 * math.cos(sine / 37)),math.rad(0 + 100000 * math.cos(sine / 58)),math.rad(-22)),.2) | |
5980 | RW.C0=clerp(RW.C0,cf(1.2,1.25 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 + 100000 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-35 + 4 * math.cos(sine / 45))),.2) | |
5981 | LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(81 - 100000 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2) | |
5982 | elseif RuinMode == 7 then | |
5983 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(65),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
5984 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
5985 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 10))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(45)),.1) | |
5986 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 100)),math.rad(0),math.rad(-45)),.1) | |
5987 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.050 * math.cos(sine / 10),0.2)*angles(math.rad(89 + 10 * math.cos(sine / 100)),math.rad(0 - 1 * math.cos(sine / 32)),math.rad(30 - 8 * math.cos(sine / 100))),.1) | |
5988 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.050 * math.cos(sine / 10),-0.2 - 0.1 * math.cos(sine / 100))*angles(math.rad(90),math.rad(0 - 20 * math.cos(sine / 100)),math.rad(20 - 0 * math.cos(sine / 100))),.1) | |
5989 | elseif RuinMode == 8 then | |
5990 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 20))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5991 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.1) | |
5992 | if math.random(1,6) == 1 then | |
5993 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + math.random(-25,25) - 4 * COS(SINE / 12)), RAD(math.random(-25,25)), RAD(0)), 1.5) | |
5994 | end | |
5995 | RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.05 * math.cos(sine / 32),0)*angles(math.rad(190 - 27 * math.random(0,2)),math.rad(20 - 20 * math.random(0,2)),math.rad(-10 - 7 * math.random(0,2))),.1) | |
5996 | LW.C0 = clerp(LW.C0, CF(-0.7, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)), 0.1) | |
5997 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(65),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
5998 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
5999 | elseif RuinMode == 9 then | |
6000 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4) | |
6001 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4) | |
6002 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4) | |
6003 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4) | |
6004 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4) | |
6005 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
6006 | elseif RuinMode == 10 then | |
6007 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(-18 - 5 * math.cos(sine / 32) - 5 * math.cos(sine / 1))),.1) | |
6008 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(31 + 8 * math.cos(sine / 38) - 5 * math.cos(sine / 1))),.1) | |
6009 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32) - 5 * math.cos(sine / 1)),math.rad(8 - 5 * math.cos(sine / 1)),math.rad(0 - 5 * math.cos(sine / 1))),.1) | |
6010 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(15 - 2.5 * math.cos(sine / 30) - 5 * math.cos(sine / 1)), math.rad(20 - 5 * math.cos(sine / 1)), math.rad(0 - 5 * math.cos(sine / 1))), 0.08) | |
6011 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79) - 5 * math.cos(sine / 1)),math.rad(1 - 3 * math.cos(sine / 53) - 5 * math.cos(sine / 1)),math.rad(33 + 10 * math.cos(sine / 73) - 5 * math.cos(sine / 1))),.1) | |
6012 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73) - 5 * math.cos(sine / 1)),math.rad(2 - 1 * math.cos(sine / 55) - 5 * math.cos(sine / 1)),math.rad(-27 - 6 * math.cos(sine / 33) - 5 * math.cos(sine / 1))),.1) | |
6013 | elseif RuinMode == 10.5 then | |
6014 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
6015 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
6016 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
6017 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
6018 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
6019 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
6020 | end | |
6021 | end | |
6022 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
6023 | Anim="Walk" | |
6024 | if attack==false then | |
6025 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
6026 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
6027 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
6028 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) | |
6029 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
6030 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
6031 | end | |
6032 | elseif RuinMode == 5.5 then | |
6033 | sphereMK(5,-0.1,"Add",rarm.CFrame*CFrame.Angles(math.rad(80),math.rad(-15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_A,0) | |
6034 | sphereMK(5,-0.1,"Add",larm.CFrame*CFrame.Angles(math.rad(80),math.rad(15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_B,0) | |
6035 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
6036 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
6037 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
6038 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
6039 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
6040 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
6041 | elseif RuinMode == 6 then | |
6042 | sphereMK(5,-0.1,"Add",rarm.CFrame*CFrame.Angles(math.rad(80),math.rad(-15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_A,0) | |
6043 | sphereMK(5,-0.1,"Add",larm.CFrame*CFrame.Angles(math.rad(80),math.rad(15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_B,0) | |
6044 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 100000 * math.cos(sine / 34))),.2) | |
6045 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 100000 * math.cos(sine / 38))),.2) | |
6046 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
6047 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 100000 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
6048 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 100000 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
6049 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 100000 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
6050 | elseif RuinMode == 8 then | |
6051 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + MRANDOM(-5,5) - 1 * SIN(SINE / 2)), RAD(MRANDOM(-5,5)), RAD(0)), .1) | |
6052 | if MRANDOM(1,10) == 1 then | |
6053 | Neck.C0 = clerp(Neck.C0, necko * CF(0, 0, 0 + ((1.2) - 1)) * ANGLES(RAD(0 + MRANDOM(-30,30) - 4 * COS(SINE / 12)), RAD(MRANDOM(-30,30)), RAD(0)), 1.5) | |
6054 | end | |
6055 | RW.C0 = clerp(RW.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(55 + -11 * COS(SINE / 23)), RAD(-10), RAD(-75)), 1) | |
6056 | LW.C0 = clerp(LW.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)), 1) | |
6057 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, 0 + 0.15 * COS(SINE / 10)) * ANGLES(RAD(0), RAD(0), RAD(0)), .1) | |
6058 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.125 * SIN(SINE / 16) - 0.15 * COS(SINE / 16*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / 16))), 0.6) | |
6059 | LH.C0 = clerp(LH.C0, CF(-1, -1 + 0.125 * SIN(SINE / 16) - 0.15 * COS(SINE / 16*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / 16))), 0.6) | |
6060 | elseif RuinMode == 10 then | |
6061 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
6062 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
6063 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
6064 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
6065 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
6066 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
6067 | elseif torvel>=22 and hitfloor~=nil then | |
6068 | Anim="Run" | |
6069 | if attack==false then | |
6070 | if RuinMode ~= 3 and RuinMode ~= 5 and RuinMode ~= 7 then | |
6071 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6072 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6073 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
6074 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) | |
6075 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1) | |
6076 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1) | |
6077 | if RuinMode == 2 then | |
6078 | sphereMK(5,-1,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,10,-0.005,MRC_A,0) | |
6079 | --sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0) | |
6080 | end | |
6081 | elseif RuinMode == 3 or RuinMode == 5 then | |
6082 | sphereMK(5,-0.1,"Add",rarm.CFrame*CFrame.Angles(math.rad(80),math.rad(-15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_A,0) | |
6083 | sphereMK(5,-0.1,"Add",larm.CFrame*CFrame.Angles(math.rad(80),math.rad(15),math.rad(0))*CFrame.new(0,0,4),0.5,0.5,7.5,-0.005,MRC_B,0) | |
6084 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
6085 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
6086 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
6087 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
6088 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
6089 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
6090 | elseif RuinMode == 7 then | |
6091 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
6092 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0+5*math.sin(sine/15)),math.rad(0),math.rad(0+5*math.sin(sine/10)) + RootPart.RotVelocity.Y / 13),.1) | |
6093 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0-0.34*math.cos(sine/6)) * angles(math.rad(10+57*math.cos(sine/6))+ RootPart.RotVelocity.Y / -34, math.rad(0+10*math.cos(sine/6)), math.rad(5)- RootPart.RotVelocity.Y / 34),.25) | |
6094 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0+0.34*math.cos(sine/6))*angles(math.rad(10-57*math.cos(sine/6))+ RootPart.RotVelocity.Y / 34,math.rad(0+10*math.cos(sine/6)),math.rad(-5)+ RootPart.RotVelocity.Y / -34),.25) | |
6095 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1+0.56*math.cos(sine/6), 0-0.50*math.cos(sine/6)) *angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6096 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1-0.56*math.cos(sine/6),0+0.50*math.cos(sine/6)) *angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6097 | ||
6098 | end | |
6099 | end | |
6100 | end | |
6101 | end | |
6102 | end |