Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ============================================
- -- CREATURE STATS CONFIG
- -- ============================================
- local CREATURE_STATS = {
- ["Siamotyrannus"] = {
- Speed = 14,
- SprintMultiplier = 3,
- AttackCooldown = 0.8
- },
- ["Ceratosaurus"] = {
- Speed = 13,
- SprintMultiplier = 3,
- AttackCooldown = 1
- },
- ["Maiasaura"] = {
- Speed = 10.75,
- SprintMultiplier = 4,
- AttackCooldown = 0.6
- },
- ["Achelousaurus"] = {
- Speed = 11,
- SprintMultiplier = 3.3,
- AttackCooldown = 1.2
- },
- ["Concavenator"] = {
- Speed = 15,
- SprintMultiplier = 2.85,
- AttackCooldown = 0.8
- },
- ["Miragaia"] = {
- Speed = 10,
- SprintMultiplier = 3.3,
- AttackCooldown = 1
- }
- }
- -- ============================================
- -- VARIABLES
- -- ============================================
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local currentCreature = nil
- local stats = nil
- local Pivot = game:GetService("ReplicatedStorage"):WaitForChild("Pivot")
- local PrimaryAttackHit = game:GetService("ReplicatedStorage"):WaitForChild("PrimaryAttackHit")
- -- ============================================
- -- FUNCTION: DETECT CREATURE
- -- ============================================
- local function DetectCreature(character)
- currentCreature = nil
- stats = nil
- if not character then
- character = LocalPlayer.Character
- end
- if not character then return end
- local TrueCreature = character:WaitForChild("TrueCreature", 5)
- local CreatureName = character:WaitForChild("CreatureName", 5)
- if TrueCreature and TrueCreature:IsA("StringValue") and TrueCreature.Value ~= "" then
- currentCreature = TrueCreature.Value
- elseif CreatureName and CreatureName:IsA("StringValue") and CreatureName.Value ~= "" then
- currentCreature = CreatureName.Value
- end
- print("=== DETECTED: " .. tostring(currentCreature) .. " ===")
- if currentCreature then
- stats = CREATURE_STATS[currentCreature]
- if stats then
- print("Speed: " .. stats.Speed .. " | Sprint: " .. stats.SprintMultiplier .. " | Cooldown: " .. stats.AttackCooldown)
- else
- warn("No stats for: " .. tostring(currentCreature))
- end
- end
- end
- -- ============================================
- -- HOOK - BLOCK PIVOT, MODIFY PRIMARYATTACKHIT
- -- ============================================
- print("=== HOOK ACTIVE ===")
- local old
- old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if method == "FireServer" and not checkcaller() then
- -- BLOCK PIVOT ENTIRELY
- if self == Pivot then
- print("[BLOCKED] Pivot remote - prevented ban check")
- return nil -- Block it, don't send to server
- end
- -- MODIFY PrimaryAttackHit SafetyCheck values
- if self == PrimaryAttackHit then
- if args[1] == "SafetyCheck" and stats then
- args[2] = stats.Speed
- args[3] = stats.SprintMultiplier
- args[4] = stats.AttackCooldown
- print("[MODIFIED] SafetyCheck: " .. args[2] .. ", " .. args[3] .. ", " .. args[4])
- return old(self, unpack(args))
- end
- end
- end
- return old(self, ...)
- end))
- -- ============================================
- -- RESPAWN DETECTION
- -- ============================================
- DetectCreature(LocalPlayer.Character)
- LocalPlayer.CharacterAdded:Connect(function(newCharacter)
- print("=== RESPAWNED ===")
- task.wait(1)
- DetectCreature(newCharacter)
- end)
- print("=== SCRIPT LOADED ===")
Advertisement
Add Comment
Please, Sign In to add comment